From d022c6c4bd611528371209c610331ba6dc98151f Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 24 Mar 2020 13:34:45 +0900 Subject: [PATCH] [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. --- ruamoko/qwaq/qwaq-view.r | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ruamoko/qwaq/qwaq-view.r b/ruamoko/qwaq/qwaq-view.r index 574678284..76a6fd532 100644 --- a/ruamoko/qwaq/qwaq-view.r +++ b/ruamoko/qwaq/qwaq-view.r @@ -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