GNOME Bugzilla – Bug 745335
Can't close non-csd windows (such as gnome-terminal) with touch
Last modified: 2015-03-16 15:51:10 UTC
When touching the x button on non-CSD windows, I can see the button highlighting (as if I hovered it with the mouse), but the window isn't actually closed. Running gnome-shell 3.15.90.
I don't think any touch interaction on non-csd titlebars works currently. I can't drag windows either.
seems like a regression from using gtk decorations ?
Most likely a regression from https://git.gnome.org/browse/mutter/commit?id=d561b3b18f73a66bcd7947dce7ab1aab9e09965a . On my todo list.
*** Bug 732017 has been marked as a duplicate of this bug. ***
Jasper, any insight on this ?
Yes. I started working on it on Sunday and then got stuck. I'll see about asking Carlos for a bit of help with it. Touch events are confusing.
Created attachment 299201 [details] [review] core: Unset all input events on the GDK connection With all input events being handled through clutter, this only confuses things, and most nominally, coerces touch events through places we didn't intend to, like the window frame. This makes again all touch events only handled in the passive grab on X11, while the rest stays pointer (emulated) only.
The patch is now master (https://git.gnome.org/browse/mutter/commit/?id=d63b9a1797a0e153ca9bf54daabcdcc00e0f7233). It fixes all drag/click issues on X11 here.