1 Nov 2009 04:24
Agar: r8500 - trunk/gui
Author: vedge
Date: 2009-11-01 00:24:50 -0300 (Sun, 01 Nov 2009)
New Revision: 8500
Modified:
trunk/gui/drv_glx.c
trunk/gui/menu.c
trunk/gui/menu.h
trunk/gui/menu_view.c
trunk/gui/style_default.c
Log:
- fix AG_Menu/AG_MenuView crash in MW mode; cached surfaces must be associated
with the proper AG_MenuView independently of AG_Menu.
- remove MenuItemBackground() operation.
Modified: trunk/gui/drv_glx.c
===================================================================
--- trunk/gui/drv_glx.c 2009-11-01 03:21:13 UTC (rev 8499)
+++ trunk/gui/drv_glx.c 2009-11-01 03:24:50 UTC (rev 8500)
<at> <at> -1918,7 +1918,9 <at> <at>
AGDRIVER_MW(glx)->flags |= AG_DRIVER_MW_OPEN;
/* XXX */
- XMoveWindow(agDisplay, glx->w, r.x, r.y);
+ if (!(win->flags & AG_WINDOW_NOTITLE)) {
+ XMoveWindow(agDisplay, glx->w, r.x, r.y);
+ }
/* Create a GLX context and initialize state. */
glx->glxCtx = glXCreateContext(agDisplay, xvi, 0, GL_FALSE);
(Continue reading)
RSS Feed