mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 00:03:33 +08:00
Fix a critical NXTK bug related to mouse/touchscreen positions within framed windows
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4728 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -2741,3 +2741,9 @@
|
||||
the worker thread, disabling interrupts does not provide protected; Need to
|
||||
disable pre-emption. (2) Fix handling of touch ID and (2) add some logic to
|
||||
prevent certain kinds of data overrun.
|
||||
* include/nx/nxtk.h and graphics/nx/nxtk/nxtk_internal.h: Move setting
|
||||
of configuration defaults from the internal header file to a place where
|
||||
other logic can use the defaults.
|
||||
* graphics/nxtk/nxtk_events.c: Fixed an important but in the logic that
|
||||
translates the mouse/touchscreen position data for framed windows and toolbars.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user