mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-07 13:29:59 -05:00
rollback: set tile and maximized state in init commit
This commit is contained in:
parent
b420b854af
commit
9a5273d2be
1 changed files with 3 additions and 0 deletions
|
|
@ -2133,6 +2133,9 @@ void commitnotify(struct wl_listener *listener, void *data) {
|
|||
setmon(c, NULL, 0,
|
||||
true); /* Make sure to reapply rules in mapnotify() */
|
||||
|
||||
client_set_tiled(c, WLR_EDGE_TOP | WLR_EDGE_BOTTOM | WLR_EDGE_LEFT |
|
||||
WLR_EDGE_RIGHT);
|
||||
|
||||
uint32_t serial = wlr_xdg_surface_schedule_configure(c->surface.xdg);
|
||||
if (serial > 0) {
|
||||
c->configure_serial = serial;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue