diff options
author | Stivvo <stivvo01@gmail.com> | 2020-09-04 14:04:19 +0200 |
---|---|---|
committer | Stivvo <stivvo01@gmail.com> | 2020-09-04 14:04:19 +0200 |
commit | 06982a56b554947e651f37b4ff05b2010935a270 (patch) | |
tree | be235b51f40144e2503ebe8812fcc4cf6b119082 | |
parent | 60f0b667b195e7479da944fa2b960c3377d4f144 (diff) |
Toggle fullscreen
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -672,7 +672,7 @@ destroyxdeco(struct wl_listener *listener, void *data) void fullscreenotify(struct wl_listener *listener, void *data) { Client *c = wl_container_of(listener, c, fullscreen); - wlr_xdg_toplevel_set_fullscreen(c->surface.xdg, true); + wlr_xdg_toplevel_set_fullscreen(c->surface.xdg, !c->surface.xdg->toplevel->current.fullscreen); } Monitor * |