mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
opt: always set tile edge but not always set maximize
This commit is contained in:
parent
139fd35a76
commit
a839771ddf
1 changed files with 3 additions and 1 deletions
|
|
@ -356,7 +356,9 @@ static inline void client_set_tiled(Client *c, uint32_t edges) {
|
|||
|
||||
if (wl_resource_get_version(c->surface.xdg->toplevel->resource) >=
|
||||
XDG_TOPLEVEL_STATE_TILED_RIGHT_SINCE_VERSION) {
|
||||
wlr_xdg_toplevel_set_tiled(c->surface.xdg->toplevel, edges);
|
||||
wlr_xdg_toplevel_set_tiled(c->surface.xdg->toplevel,
|
||||
WLR_EDGE_TOP | WLR_EDGE_BOTTOM |
|
||||
WLR_EDGE_LEFT | WLR_EDGE_RIGHT);
|
||||
}
|
||||
|
||||
if (!c->ignore_maximize) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue