2008-04-14 Matthew Allum <mallum@openedhand.com>

* clutter/eglx/clutter-stage-egl.c:
        Actually set wm protocols on eglx stage windows. Fixes issues with
        cloising stages and cleanup.
This commit is contained in:
Matthew Allum 2008-04-14 17:01:14 +00:00
parent 77a7eaeed5
commit a435ec43ec
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-04-14 Matthew Allum <mallum@openedhand.com>
* clutter/eglx/clutter-stage-egl.c:
Actually set wm protocols on eglx stage windows. Fixes issues with
cloising stages and cleanup.
2008-04-14 Matthew Allum <mallum@openedhand.com>
* clutter/cogl/gles/cogl.c: (cogl_color):

View File

@ -65,7 +65,7 @@ clutter_stage_egl_unrealize (ClutterActor *actor)
clutter_stage_ensure_current (stage_x11->wrapper);
/* XSync (stage_x11->xdpy, False); */
XSync (stage_x11->xdpy, False);
clutter_x11_untrap_x_errors ();
@ -138,6 +138,10 @@ clutter_stage_egl_realize (ClutterActor *actor)
| ButtonReleaseMask
| PropertyChangeMask);
/* FIXME, do these in a clutterstage_x11_realise? */
clutter_stage_x11_fix_window_size (stage_x11);
clutter_stage_x11_set_wm_protocols (stage_x11);
if (stage_egl->egl_surface != EGL_NO_SURFACE)
{
eglDestroySurface (backend_egl->edpy, stage_egl->egl_surface);