From: eglebbk <all...@li...> - 2006-04-17 11:34:15
|
Author: eglebbk Date: 2006-04-17 07:34:09 -0400 (Mon, 17 Apr 2006) New Revision: 5781 Repository: /usr/local/svn/repository/allegro Modified: allegro/branches/4.2/src/x/xwin.c Log: Slight update of previous fix: check to make sure that wm_window is not None Index: allegro/branches/4.2/src/x/xwin.c =================================================================== --- allegro/branches/4.2/src/x/xwin.c (revision 5780) +++ allegro/branches/4.2/src/x/xwin.c (revision 5781) @@ -2656,7 +2656,7 @@ static void _xwin_private_set_window_tit else _al_sane_strncpy(_xwin.window_title, name, sizeof(_xwin.window_title)); - if (_xwin.window != None) + if (_xwin.wm_window != None) XStoreName(_xwin.display, _xwin.wm_window, _xwin.window_title); } |