After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 719922 - No way to close a window with compositor initiated action
No way to close a window with compositor initiated action
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.11.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-12-05 17:18 UTC by Lionel Landwerlin
Modified: 2014-03-13 04:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdk: wayland: add support for delete event (1.81 KB, patch)
2013-12-05 17:18 UTC, Lionel Landwerlin
none Details | Review

Description Lionel Landwerlin 2013-12-05 17:18:11 UTC
In the current design, GnomeShell provides a way to close windows from the overview (when your windows are zoomed out and visible with a close button on the top right corner).
When clicking that close button, the compositor sends a delete request to the window. This is catched by the GTK+/Clutter application and it usually closes the window.
In wayland there is currently no way to do such a thing, leaving an apparent bug in GnomeShell when running with a wayland client.

Attached a patch to GTK+ and the xdg-surface protocol description to add a delete event in the xdg protocol so we can implement the close feature on all clients.
Comment 1 Lionel Landwerlin 2013-12-05 17:18:40 UTC
Created attachment 263616 [details] [review]
gdk: wayland: add support for delete event
Comment 2 Jasper St. Pierre (not reading bugmail) 2013-12-07 16:59:55 UTC
I want to wait until Weston/Wayland have this upstream, and talk with them about it.
Comment 3 Matthias Clasen 2014-03-13 04:58:12 UTC
this has been added with the delete event in xdg-shell