diff options
| author | bakkeby <[email protected]> | 2022-06-17 16:13:10 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2022-06-17 16:13:10 +0200 |
| commit | 82c72835f62132bb6ab62ad0d4b237e85681d73c (patch) | |
| tree | 7aeb3a6fe29b764804a5a9d641c3da1b017a3d3b /dwm.c | |
| parent | 440c4a6efa789f41213d78ea564087ffdb65bafd (diff) | |
| download | dwm-flexipatch-82c72835f62132bb6ab62ad0d4b237e85681d73c.tar.gz dwm-flexipatch-82c72835f62132bb6ab62ad0d4b237e85681d73c.zip | |
restartsig + systray: allow systray icons to survive a restart by not destroying the systray window
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1234,6 +1234,9 @@ cleanup(void) removesystrayicon(systray->icons); if (systray->win) { XUnmapWindow(dpy, systray->win); + #if RESTARTSIG_PATCH + if (!restart) + #endif // RESTARTSIG_PATCH XDestroyWindow(dpy, systray->win); } free(systray); |
