mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
Toggle fullscreen
This commit is contained in:
parent
0f04c76387
commit
dd3920e75d
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
@ -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 *
|
||||
|
|
Loading…
Reference in a new issue