Add support for WM_PROTOCOLS to the ClutterStage window
authorEmmanuele Bassi <ebassi@openedhand.com>
Thu, 19 Apr 2007 15:26:54 +0000 (15:26 +0000)
committerEmmanuele Bassi <ebassi@openedhand.com>
Thu, 19 Apr 2007 15:26:54 +0000 (15:26 +0000)
commitb2d01d86c2aecaf8965e98097608fa6bd82de286
tree8b43d7daa958d42a72195ab5dc2d49f97c1a3982
parentf1a1399927bc64e9eaf066724fcff0982edbf667
Add support for WM_PROTOCOLS to the ClutterStage window

Supporting WM_PROTOCOLS allows handling the WM_DELETE_WINDOW ClientMessage,
which is then relayed to the ClutterStage actor in form of the "delete-event"
signal. Returning TRUE will block the propagation and won't close the
stage window.
clutter/clutter-event.h
clutter/clutter-main.c
clutter/clutter-stage.c
clutter/glx/clutter-event-glx.c
clutter/glx/clutter-stage-glx.c
doc/reference/tmpl/clutter-event.sgml