mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-16 06:59:52 -05:00
fix: miss reset foreign toplevel when drag win to other mon
This commit is contained in:
parent
2aea42c275
commit
dc75dca262
1 changed files with 1 additions and 0 deletions
1
maomao.c
1
maomao.c
|
|
@ -2288,6 +2288,7 @@ buttonpress(struct wl_listener *listener, void *data) {
|
|||
/* Drop the window off on its new monitor */
|
||||
selmon = xytomon(cursor->x, cursor->y);
|
||||
setmon(grabc, selmon, 0,true);
|
||||
reset_foreign_tolevel(grabc);
|
||||
grabc = NULL;
|
||||
return;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue