diff options
| author | bakkeby <[email protected]> | 2019-10-06 23:43:51 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2019-10-06 23:43:51 +0200 |
| commit | 132ceee07309efc81476a55a1ff80ebb9b594291 (patch) | |
| tree | 10f1e03020046458cb17f3fe67b2f78e27983e22 /patch/killunsel.c | |
| parent | ac4269a4f28f29bad9a319993ad814830248f89a (diff) | |
| download | dwm-flexipatch-132ceee07309efc81476a55a1ff80ebb9b594291.tar.gz dwm-flexipatch-132ceee07309efc81476a55a1ff80ebb9b594291.zip | |
Added statusallmons patch, fixed minor cross-compatibility issues for killunsel, fullscreen, noborder, tagintostack patches
Diffstat (limited to 'patch/killunsel.c')
| -rw-r--r-- | patch/killunsel.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/patch/killunsel.c b/patch/killunsel.c index 9e06d53..1e15d2b 100644 --- a/patch/killunsel.c +++ b/patch/killunsel.c @@ -8,7 +8,12 @@ killunsel(const Arg *arg) for (i = selmon->clients; i; i = i->next) { if (ISVISIBLE(i) && i != selmon->sel) { - if (!sendevent(i, wmatom[WMDelete])) { + #if SYSTRAY_PATCH + if (!sendevent(i->win, wmatom[WMDelete], NoEventMask, wmatom[WMDelete], CurrentTime, 0, 0, 0)) + #else + if (!sendevent(i, wmatom[WMDelete])) + #endif // SYSTRAY_PATCH + { XGrabServer(dpy); XSetErrorHandler(xerrordummy); XSetCloseDownMode(dpy, DestroyAll); |
