1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

Fixed bug that caused wmaker to crash when kplayer was switched back from

fullscreen mode to windowed mode.
This commit is contained in:
dan
2005-03-22 23:15:11 +00:00
parent 2f56373cc2
commit 880880162b
3 changed files with 6 additions and 5 deletions

View File

@@ -2250,10 +2250,10 @@ wWindowSynthConfigureNotify(WWindow *wwin)
sevent.xconfigure.height = wwin->client.height;
sevent.xconfigure.border_width = wwin->old_border_width;
if (!HAS_TITLEBAR(wwin))
sevent.xconfigure.above = None;
else
if (HAS_TITLEBAR(wwin) && wwin->frame->titlebar)
sevent.xconfigure.above = wwin->frame->titlebar->window;
else
sevent.xconfigure.above = None;
sevent.xconfigure.override_redirect = False;
XSendEvent(dpy, wwin->client_win, False, StructureNotifyMask, &sevent);