summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Haller <patrick@haller.ws>2011-06-11 14:07:16 +0800
committerPatrick Haller <patrick@haller.ws>2011-06-11 14:07:16 +0800
commitd1774b8dfb91a7e996f4418fc26a18b5277b1e22 (patch)
tree63876935cf3e663babc46c8b3f46867c924a50fd
parentf01c8739a2cf9cc48509c1a4fdb92774810f14a2 (diff)
removed fullscreen atom as we do not manage that
-rw-r--r--x-focus-manager.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/x-focus-manager.c b/x-focus-manager.c
index d6c90a0..79a6573 100644
--- a/x-focus-manager.c
+++ b/x-focus-manager.c
@@ -28,12 +28,11 @@ reset_focus(Display *d, XEvent *e) {
void set_atoms(Display *dpy) { // from scrotwm via euclid-wm
int root = DefaultRootWindow(dpy);
Atom wm_change_state = XInternAtom(dpy,"_NET_WM_STATE",False);
- Atom wm_fullscreen = XInternAtom(dpy,"_NET_WM_STATE_FULLSCREEN",False);
Atom wm_supported = XInternAtom(dpy,"_NET_SUPPORTED",False);
Atom wm_check = XInternAtom(dpy,"_NET_SUPPORTING_WM_CHECK",False);
Atom wm_name = XInternAtom(dpy,"_NET_WM_NAME",False);
Atom utf8 = XInternAtom(dpy,"UTF8_STRING",False);
- Atom supported[] = {wm_supported, wm_name, wm_change_state, wm_fullscreen};
+ Atom supported[] = {wm_supported, wm_name, wm_change_state};
XChangeProperty(dpy,root,wm_check,XA_WINDOW,32,PropModeReplace,(unsigned char *)&root,1);
XChangeProperty(dpy,root,wm_name,utf8,8,PropModeReplace,(unsigned char *) "LG3D",5);
XChangeProperty(dpy,root,wm_supported,XA_ATOM,32,PropModeReplace,(unsigned char *) supported,4);