mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Add wl_shell support for maximized views
This commit is contained in:
parent
758514fe5d
commit
26dadacb71
5 changed files with 36 additions and 10 deletions
|
|
@ -839,11 +839,9 @@ static void xwm_handle_net_wm_state_message(struct wlr_xwm *xwm,
|
|||
xsurface_set_net_wm_state(xsurface);
|
||||
} else if (property == xwm->atoms[_NET_WM_STATE_MAXIMIZED_VERT] &&
|
||||
update_state(action, &xsurface->maximized_vert)) {
|
||||
wlr_log(L_DEBUG, "cc sava");
|
||||
xsurface_set_net_wm_state(xsurface);
|
||||
} else if (property == xwm->atoms[_NET_WM_STATE_MAXIMIZED_HORZ] &&
|
||||
update_state(action, &xsurface->maximized_horz)) {
|
||||
wlr_log(L_DEBUG, "mwa sava");
|
||||
xsurface_set_net_wm_state(xsurface);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue