JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
create _MOTIF_WM_HINTS atom
authorJason Woofenden <jason@jasonwoof.com>
Thu, 16 Apr 2015 15:55:41 +0000 (11:55 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Thu, 16 Apr 2015 15:58:49 +0000 (11:58 -0400)
dwm.c

diff --git a/dwm.c b/dwm.c
index 241c090..5e9b184 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -1658,6 +1658,7 @@ setup(void) {
        netatom[NetWMWindowTypeDialog] = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_DIALOG", False);
        netatom[NetClientList] = XInternAtom(dpy, "_NET_CLIENT_LIST", False);
        netatom[NetSupportingWMCheck] = XInternAtom(dpy, "_NET_SUPPORTING_WM_CHECK", False);
+       XInternAtom(dpy, "_MOTIF_WM_HINTS", False); /* clients may request borderless/fullscreen */
        /* init cursors */
        cursor[CurNormal] = drw_cur_create(drw, XC_left_ptr);
        cursor[CurResize] = drw_cur_create(drw, XC_sizing);