mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
input: maximize: unset fullscreen before toggling maximized state
This commit is contained in:
parent
a1ceb1f5ec
commit
62a5805d4b
1 changed files with 2 additions and 0 deletions
2
input.c
2
input.c
|
|
@ -87,6 +87,8 @@ input_execute_binding(struct terminal *term, enum binding_action action,
|
|||
break;
|
||||
|
||||
case BIND_ACTION_MAXIMIZE:
|
||||
if (term->window->is_fullscreen)
|
||||
xdg_toplevel_unset_fullscreen(term->window->xdg_toplevel);
|
||||
if (term->window->is_maximized)
|
||||
xdg_toplevel_unset_maximized(term->window->xdg_toplevel);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue