mirror of
https://github.com/swaywm/sway.git
synced 2026-04-25 06:46:24 -04:00
xdg_shell: use a stub handler for maximize requests
This commit is contained in:
parent
5c67d99794
commit
a5a99cc6d0
1 changed files with 1 additions and 1 deletions
|
|
@ -371,7 +371,7 @@ static void handle_request_fullscreen(struct wl_listener *listener, void *data)
|
|||
|
||||
static void handle_request_maximize(struct wl_listener *listener, void *data) {
|
||||
struct wlr_xdg_surface *surface = data;
|
||||
wlr_xdg_surface_schedule_configure(surface);
|
||||
wlr_xdg_toplevel_set_maximized(surface, false);
|
||||
}
|
||||
|
||||
static void handle_request_move(struct wl_listener *listener, void *data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue