mirror of
https://github.com/vale981/spectrwm
synced 2025-03-04 17:31:40 -05:00
Fix possible segfault when a floater receives a configurerequest.
This commit is contained in:
parent
56804a6331
commit
80375ed70d
1 changed files with 4 additions and 3 deletions
|
@ -7662,9 +7662,10 @@ configurerequest(xcb_configure_request_event_t *e)
|
|||
WIDTH(win) = win->g_float.w;
|
||||
HEIGHT(win) = win->g_float.h;
|
||||
|
||||
stack_floater(win, win->ws->r);
|
||||
|
||||
focus_flush();
|
||||
if (r) {
|
||||
stack_floater(win, r);
|
||||
focus_flush();
|
||||
}
|
||||
} else {
|
||||
config_win(win, e);
|
||||
xcb_flush(conn);
|
||||
|
|
Loading…
Add table
Reference in a new issue