[AD] X11 window title broken

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


set_window_title() got broken during the recent changes to the X11 driver.
Patch attached (already applied to SVN).

Evert
Index: src/x/xwin.c
===================================================================
--- src/x/xwin.c	(revision 5776)
+++ src/x/xwin.c	(working copy)
@@ -2657,7 +2657,7 @@
       _al_sane_strncpy(_xwin.window_title, name, sizeof(_xwin.window_title));
 
    if (_xwin.window != None)
-      XStoreName(_xwin.display, _xwin.window, _xwin.window_title);
+      XStoreName(_xwin.display, _xwin.wm_window, _xwin.window_title);
 }
 
 void _xwin_set_window_title(AL_CONST char *name)


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/