diff options
| author | stkhan <personal@slickd.xyz> | 2024-03-02 15:28:36 -0600 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2024-03-02 15:28:36 -0600 |
| commit | 598e16e19044fc3433be666d341b02839a84cc8a (patch) | |
| tree | 7c0d22d260106464f08c61b80a8367acc6f686ac /wm/dwm-6.4/dwm.c.rej | |
| parent | 02954c3f70be5b13a7c99a1a10eba962e473f4b0 (diff) | |
update keys
Diffstat (limited to 'wm/dwm-6.4/dwm.c.rej')
| -rw-r--r-- | wm/dwm-6.4/dwm.c.rej | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/wm/dwm-6.4/dwm.c.rej b/wm/dwm-6.4/dwm.c.rej new file mode 100644 index 0000000..3cc0b51 --- /dev/null +++ b/wm/dwm-6.4/dwm.c.rej @@ -0,0 +1,17 @@ +--- dwm.c ++++ dwm.c +@@ -1024,6 +1025,14 @@ manage(Window w, XWindowAttributes *wa) + + c = ecalloc(1, sizeof(Client)); + c->win = w; ++ ++ if (getatomprop(c, netatom[NetWMWindowType]) == netatom[NetWMWindowTypeDesktop]) { ++ XMapWindow(dpy, c->win); ++ XLowerWindow(dpy, c->win); ++ free(c); ++ return; ++ } ++ + /* geometry */ + c->x = c->oldx = wa->x; + c->y = c->oldy = wa->y; |