GNOME Bugzilla – Bug 166205
Randomly no titlebar on windows without WM_NORMAL_HINTS
Last modified: 2005-02-03 20:22:39 UTC
If you create a window without setting WM_NORMAL_HINTS, it might or might not get a title bar. Looks like an uninitialized variable reference. This is with metacity-2.8.6. There is some sort of race condition involved it seems ... I reproduced it *once* with the attached test case, but it happens much more frequently with a real app with an expensive expose-event handler. (pango-xftview from pango/examples run on HELLO.utf8 triggers the bug more for me. Though I'm about to check in a fix to make it set WM_NORMAL_HINTS. Checking out on the pango-1-8 branch will get the program without the fix.)
Created attachment 36944 [details] test case Compile with gcc -o no-title -L /usr/X11R6/lib -lX11 no-title.c -g -Wall Or something like that.
Cool, I like this testcase better than the one in bug 145131. Also, thanks for the hint regarding WM_NORMAL_HINTS. I had tried to look into this a little before but didn't have much time...I'll try to dig deeper. *** This bug has been marked as a duplicate of 145131 ***