Toggle fullscreen

main
Stivvo 2020-09-04 14:04:19 +02:00
parent 60f0b667b1
commit 06982a56b5
1 changed files with 1 additions and 1 deletions

2
dwl.c
View File

@ -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 *