[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:
Bill Currie 2020-03-24 13:34:45 +09:00
parent 77651dbcba
commit d022c6c4bd
1 changed files with 3 additions and 2 deletions

View File

@ -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