mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-17 06:59:52 -05:00
rollback: remove force_tile_state option
Since the non-tiled state can cause the size of some Windows to be out of sync with the synthesizer's expectations, all Windows are set to the tiled state by default again
This commit is contained in:
parent
fd3d18921d
commit
43798176f3
3 changed files with 5 additions and 33 deletions
|
|
@ -358,9 +358,7 @@ 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,
|
||||
WLR_EDGE_TOP | WLR_EDGE_BOTTOM |
|
||||
WLR_EDGE_LEFT | WLR_EDGE_RIGHT);
|
||||
wlr_xdg_toplevel_set_tiled(c->surface.xdg->toplevel, edges);
|
||||
}
|
||||
|
||||
if (!c->ignore_maximize) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue