mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 05:44:08 +00:00
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:
parent
77a7eaeed5
commit
a435ec43ec
@ -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>
|
2008-04-14 Matthew Allum <mallum@openedhand.com>
|
||||||
|
|
||||||
* clutter/cogl/gles/cogl.c: (cogl_color):
|
* clutter/cogl/gles/cogl.c: (cogl_color):
|
||||||
|
@ -65,7 +65,7 @@ clutter_stage_egl_unrealize (ClutterActor *actor)
|
|||||||
|
|
||||||
clutter_stage_ensure_current (stage_x11->wrapper);
|
clutter_stage_ensure_current (stage_x11->wrapper);
|
||||||
|
|
||||||
/* XSync (stage_x11->xdpy, False); */
|
XSync (stage_x11->xdpy, False);
|
||||||
|
|
||||||
clutter_x11_untrap_x_errors ();
|
clutter_x11_untrap_x_errors ();
|
||||||
|
|
||||||
@ -138,6 +138,10 @@ clutter_stage_egl_realize (ClutterActor *actor)
|
|||||||
| ButtonReleaseMask
|
| ButtonReleaseMask
|
||||||
| PropertyChangeMask);
|
| 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)
|
if (stage_egl->egl_surface != EGL_NO_SURFACE)
|
||||||
{
|
{
|
||||||
eglDestroySurface (backend_egl->edpy, stage_egl->egl_surface);
|
eglDestroySurface (backend_egl->edpy, stage_egl->egl_surface);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user