gtk/main: Fix handling of !owner_events grabs
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 15 Mar 2022 13:32:10 +0000 (14:32 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 15 Mar 2022 13:40:49 +0000 (14:40 +0100)
commite5dc66b10e7553073f118223789e1f2b38d1acbb
treede93953358f15c10758f429817753eb422aa9bdb
parentaa43d97a80ffd07afa3e30d538bf1ebbd4d94e81
gtk/main: Fix handling of !owner_events grabs

These are meant to always redirect events to the grabbing surface,
even for other surfaces of the same client. We weren't doing that
(instead letting the event go through unmodified), fix this handling
so GTK sees the events consistenty.
gtk/gtkmain.c