[clutter/wip/cogl-winsys-egl: 21/30] map glx window automatically if not foreign
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/wip/cogl-winsys-egl: 21/30] map glx window automatically if not foreign
- Date: Wed, 20 Apr 2011 12:59:51 +0000 (UTC)
commit 0e1394c6ae95dcde16fdc9ad901761162e1446fd
Author: Robert Bragg <robert linux intel com>
Date: Mon Apr 18 16:26:17 2011 +0100
map glx window automatically if not foreign
clutter/cogl/cogl/winsys/cogl-winsys-glx.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/clutter/cogl/cogl/winsys/cogl-winsys-glx.c b/clutter/cogl/cogl/winsys/cogl-winsys-glx.c
index 1aaa2e3..469ab72 100644
--- a/clutter/cogl/cogl/winsys/cogl-winsys-glx.c
+++ b/clutter/cogl/cogl/winsys/cogl-winsys-glx.c
@@ -806,6 +806,8 @@ _cogl_winsys_onscreen_init (CoglOnscreen *onscreen,
XFree (xvisinfo);
+ XMapWindow (xlib_renderer->xdpy, xwin);
+
XSync (xlib_renderer->xdpy, False);
xerror = _cogl_renderer_xlib_untrap_errors (display->renderer, &state);
if (xerror)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]