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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user