Bugfix: Fix crash with transient dock clients caused by 7154fecbb
This commit is contained in:
parent
c17b3b7560
commit
8ce5f2a21b
@ -252,9 +252,9 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
|
|||||||
want_floating = true;
|
want_floating = true;
|
||||||
|
|
||||||
if (config.popup_during_fullscreen == PDF_LEAVE_FULLSCREEN) {
|
if (config.popup_during_fullscreen == PDF_LEAVE_FULLSCREEN) {
|
||||||
Con *ws = con_get_workspace(nc);
|
Con *ws, *fs;
|
||||||
Con *fs = con_get_fullscreen_con(ws);
|
if ((ws = con_get_workspace(nc)) &&
|
||||||
if (fs != NULL) {
|
(fs = con_get_fullscreen_con(ws))) {
|
||||||
LOG("There is a fullscreen window, leaving fullscreen mode\n");
|
LOG("There is a fullscreen window, leaving fullscreen mode\n");
|
||||||
con_toggle_fullscreen(fs);
|
con_toggle_fullscreen(fs);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user