Correctly update the _NET_WM_STATE hint when *not* going into fullscreen (when already in fullscreen)
This commit is contained in:
parent
b7e1ae13c5
commit
17caaf1159
|
@ -382,11 +382,10 @@ void con_toggle_fullscreen(Con *con) {
|
|||
LOG("Not entering fullscreen mode, container (%p/%s) "
|
||||
"already is in fullscreen mode\n",
|
||||
fullscreen, fullscreen->name);
|
||||
return;
|
||||
} else {
|
||||
/* 2: enable fullscreen */
|
||||
con->fullscreen_mode = CF_OUTPUT;
|
||||
}
|
||||
|
||||
/* 2: enable fullscreen */
|
||||
con->fullscreen_mode = CF_OUTPUT;
|
||||
} else {
|
||||
/* 1: disable fullscreen */
|
||||
con->fullscreen_mode = CF_NONE;
|
||||
|
|
Loading…
Reference in New Issue