mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-06 07:15:53 -04:00
unmap里标记好已经要删除
This commit is contained in:
parent
085971a074
commit
303802498b
1 changed files with 7 additions and 5 deletions
2
main.c
2
main.c
|
|
@ -4835,6 +4835,8 @@ void unmapnotify(struct wl_listener *listener, void *data) {
|
||||||
/* Called when the surface is unmapped, and should no longer be shown. */
|
/* Called when the surface is unmapped, and should no longer be shown. */
|
||||||
Client *c = wl_container_of(listener, c, unmap);
|
Client *c = wl_container_of(listener, c, unmap);
|
||||||
|
|
||||||
|
c->iskilling = 1;
|
||||||
|
|
||||||
if (c == grabc) {
|
if (c == grabc) {
|
||||||
cursor_mode = CurNormal;
|
cursor_mode = CurNormal;
|
||||||
grabc = NULL;
|
grabc = NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue