diff options
| author | bakkeby <[email protected]> | 2021-03-09 13:47:21 +0100 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2021-03-09 13:47:21 +0100 |
| commit | 72564eb39478c52745b6f8927de516dd2af52b97 (patch) | |
| tree | 35cca069e5ec16445138fde2994c71ea0eecb478 /dwm.c | |
| parent | 0f9104285bab49c1e701ea429380ace9230309f0 (diff) | |
| download | dwm-flexipatch-72564eb39478c52745b6f8927de516dd2af52b97.tar.gz dwm-flexipatch-72564eb39478c52745b6f8927de516dd2af52b97.zip | |
Adding LG3D patch
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1020,7 +1020,10 @@ attachstack(Client *c) void buttonpress(XEvent *e) { - int click, i, x, r; + int click, i, r; + #if TAB_PATCH + int x; + #endif // TAB_PATCH Arg arg = {0}; Client *c; Monitor *m; @@ -3518,8 +3521,13 @@ setup(void) wmcheckwin = XCreateSimpleWindow(dpy, root, 0, 0, 1, 1, 0, 0, 0); XChangeProperty(dpy, wmcheckwin, netatom[NetWMCheck], XA_WINDOW, 32, PropModeReplace, (unsigned char *) &wmcheckwin, 1); + #if LG3D_PATCH + XChangeProperty(dpy, wmcheckwin, netatom[NetWMName], utf8string, 8, + PropModeReplace, (unsigned char *) "LG3D", 4); + #else XChangeProperty(dpy, wmcheckwin, netatom[NetWMName], utf8string, 8, PropModeReplace, (unsigned char *) "dwm", 3); + #endif // LG3D_PATCH XChangeProperty(dpy, root, netatom[NetWMCheck], XA_WINDOW, 32, PropModeReplace, (unsigned char *) &wmcheckwin, 1); /* EWMH support per view */ |
