summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript.cpp
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2024-02-29 00:54:37 +0100
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2024-02-29 00:57:31 +0100
commitd259f979f513d8b4730ff8b40f976b8ae8973dd2 (patch)
tree9955e894c09d727d0d90fc131b5cbc2686da80d7 /modules/gdscript/gdscript.cpp
parentdf78c0636d79c9545a283e0e2a926d623998cc27 (diff)
downloadredot-engine-d259f979f513d8b4730ff8b40f976b8ae8973dd2.tar.gz
Fix mouse entered notifications
Make sure, that a windows initial state is `mouse_in_viewport = false`. This makes sure, that the mouse entered notification is sent when the mouse hovers a window for the first time. For embedded Windows, `NOTIFICATION_WM_MOUSE_ENTER` is currently sent twice in a row. Remove one of the places where it is sent. `Window::_update_mouse_over()` is the correct one, because there it is also called for native windows.
Diffstat (limited to 'modules/gdscript/gdscript.cpp')
0 files changed, 0 insertions, 0 deletions