mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-29 21:37:42 -04:00
fix: cransh in disable monitor when use scratchpad
This commit is contained in:
parent
a184b37a76
commit
f3d0c18d19
3 changed files with 10 additions and 2 deletions
|
|
@ -6411,7 +6411,8 @@ void updatemons(struct wl_listener *listener, void *data) {
|
|||
c->geom.x += mon_pos_offsetx;
|
||||
c->geom.y += mon_pos_offsety;
|
||||
c->float_geom = c->geom;
|
||||
resize(c, c->geom, 1);
|
||||
if (VISIBLEON(c, m))
|
||||
resize(c, c->geom, 1);
|
||||
}
|
||||
|
||||
// restore window to old monitor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue