forked from AuroraMiddleware/gtk
macos: actually drop unnecessary momentum events
These would get passed along to the NSApplication which we don't really need to have happen. Denote it as such.
This commit is contained in:
parent
5efa8071d6
commit
5c2d9d6f19
@ -628,7 +628,7 @@ fill_scroll_event (GdkMacosDisplay *self,
|
||||
* handle those internally.
|
||||
*/
|
||||
if (phase == 0 && momentumPhase != 0)
|
||||
return NULL;
|
||||
return GDK_MACOS_EVENT_DROP;
|
||||
|
||||
seat = gdk_display_get_default_seat (GDK_DISPLAY (self));
|
||||
pointer = gdk_seat_get_pointer (seat);
|
||||
|
Loading…
Reference in New Issue
Block a user