From c39c92fb6b3803270215d5552acf6ac6d23a31f8 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 13 May 2012 23:40:23 +0000 Subject: Disabled NXTK autoraise; it does not work properly in multi-user mode due to queue mouse/touchscreen input git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4732 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nuttx/ChangeLog') diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 54b257785..f3bed6a84 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -2750,3 +2750,11 @@ when if positional data is valid. When the touch is released, the X/Y position of the release must be the same as the X/Y position of the last touch (se that the release occurs in the same window as the last touch). + * graphics/nxtk/nxtk_events.c: Fix an error in mouse/touchscreen input logic: + Was autoraising the window AFTER processing the mouse press. This raises havoc + if the result of processing the mouse click was to raise some other window! + * graphics/nxtk/nxtk_events.c: I had to disable the whole autoraise feature + for multi-user case because it does not work correctly. In a scenario where (1) there + are multiple queued touchscreen events for the same window and (2) the result of the + first input was to switch windows, then the autoraise implementation will cause the + window to revert to the previous window. Not good behavior. -- cgit v1.2.3