handling WM_STATE seems to make DnD in gtk/qt apps working, well let's handle this in dwm as well
This commit is contained in:
parent
7e98db251e
commit
a5cb80b86c
3 changed files with 11 additions and 1 deletions
1
main.c
1
main.c
|
@ -92,6 +92,7 @@ setup(void) {
|
|||
/* init atoms */
|
||||
wmatom[WMProtocols] = XInternAtom(dpy, "WM_PROTOCOLS", False);
|
||||
wmatom[WMDelete] = XInternAtom(dpy, "WM_DELETE_WINDOW", False);
|
||||
wmatom[WMState] = XInternAtom(dpy, "WM_STATE", False);
|
||||
netatom[NetSupported] = XInternAtom(dpy, "_NET_SUPPORTED", False);
|
||||
netatom[NetWMName] = XInternAtom(dpy, "_NET_WM_NAME", False);
|
||||
XChangeProperty(dpy, root, netatom[NetSupported], XA_ATOM, 32,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue