summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorShawn <sabetts@juicebox>2008-06-20 14:01:39 -0700
committerShawn <sabetts@juicebox>2008-06-20 14:01:39 -0700
commit4e08030acf10a54af36e92b14624257fbf0835a4 (patch)
tree17d15c0cc37bfd889b92fcb5fbc65c6a23cbb9cc /src/main.c
parentea17008472c85c2c931336774335261b8394a691 (diff)
downloadratpoison-4e08030acf10a54af36e92b14624257fbf0835a4.zip
support the netwm dialog window type
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index c255a17..48fdb88 100644
--- a/src/main.c
+++ b/src/main.c
@@ -685,6 +685,8 @@ main (int argc, char *argv[])
PRINT_DEBUG (("_NET_WM_PID = %ld\n", _net_wm_pid));
_net_supported = XInternAtom(dpy, "_NET_SUPPORTED", False);
PRINT_DEBUG (("_NET_SUPPORTED = %ld\n", _net_supported));
+ _net_wm_window_type = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE", False);
+ _net_wm_window_type_dialog = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_DIALOG", False);
/* Setup signal handlers. */
XSetErrorHandler(handler);