mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
[qwaq] Disable updateScreenCursor
It's wrong for the current hierarchy and corrupts the view's owning group. Thought is needed for how to proceed with cursor handling.
This commit is contained in:
parent
77651dbcba
commit
d022c6c4bd
1 changed files with 3 additions and 2 deletions
|
@ -54,7 +54,8 @@
|
|||
static void
|
||||
updateScreenCursor (View *view)
|
||||
{
|
||||
while ((view.state & sfInFocus) && view.owner) {
|
||||
// XXX this does not work
|
||||
/* while ((view.state & sfInFocus) && view.owner) {
|
||||
View *owner = (View *) view.owner;
|
||||
if (view.cursor.x >= 0 && view.cursor.x < view.xlen
|
||||
&& view.cursor.y >= 0 && view.cursor.y < view.ylen) {
|
||||
|
@ -74,7 +75,7 @@ updateScreenCursor (View *view)
|
|||
} else {
|
||||
curs_set (0);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
-draw
|
||||
|
|
Loading…
Reference in a new issue