diff options
author | Stivvo <stivvo01@gmail.com> | 2020-09-04 14:04:19 +0200 |
---|---|---|
committer | Guido Cella <guido@guidocella.xyz> | 2020-12-19 18:05:51 +0100 |
commit | dd3920e75d2e71c569c3781914cd388f69f45bc9 (patch) | |
tree | 3fcde63a9c7a0f04771632ee049c84574e5231ba | |
parent | 0f04c76387f74827931db0c3692fbdc2f50fa8d8 (diff) |
Toggle fullscreen
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1045,7 +1045,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 * |