diff options
author | Daniel Diaz <dydyman@gmail.com> | 2011-11-14 23:01:16 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2012-01-04 06:45:20 (GMT) |
commit | db08329d8bc689ff14cbb9084814d652ae349621 (patch) | |
tree | 04edd462282e55021540ef4861bd1f98e6c374f5 /src/FbAtoms.cc | |
parent | 0f994dbb28e2a348f7c254e051622acf88e08226 (diff) | |
download | fluxbox-db08329d8bc689ff14cbb9084814d652ae349621.zip fluxbox-db08329d8bc689ff14cbb9084814d652ae349621.tar.bz2 |
Add mwm _MOTIF_WM_INFO atom to advertise mwm hints capability
Applications like urxvt look for the _MOTIF_WM_INFO atom in order
to know if the window manager implements mwm hints. If this atom
is not found, then urxvt sets override_redirect when started with
the borderless option and falls out of the control of Fluxbox.
Diffstat (limited to 'src/FbAtoms.cc')
-rw-r--r-- | src/FbAtoms.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FbAtoms.cc b/src/FbAtoms.cc index 409a99f..bc771b7 100644 --- a/src/FbAtoms.cc +++ b/src/FbAtoms.cc | |||
@@ -37,6 +37,7 @@ FbAtoms::FbAtoms() { | |||
37 | xa_wm_change_state = XInternAtom(dpy, "WM_CHANGE_STATE", False); | 37 | xa_wm_change_state = XInternAtom(dpy, "WM_CHANGE_STATE", False); |
38 | xa_wm_delete_window = XInternAtom(dpy, "WM_DELETE_WINDOW", False); | 38 | xa_wm_delete_window = XInternAtom(dpy, "WM_DELETE_WINDOW", False); |
39 | xa_wm_take_focus = XInternAtom(dpy, "WM_TAKE_FOCUS", False); | 39 | xa_wm_take_focus = XInternAtom(dpy, "WM_TAKE_FOCUS", False); |
40 | motif_wm_info = XInternAtom(dpy, "_MOTIF_WM_INFO", False); | ||
40 | motif_wm_hints = XInternAtom(dpy, "_MOTIF_WM_HINTS", False); | 41 | motif_wm_hints = XInternAtom(dpy, "_MOTIF_WM_HINTS", False); |
41 | 42 | ||
42 | blackbox_attributes = XInternAtom(dpy, "_BLACKBOX_ATTRIBUTES", False); | 43 | blackbox_attributes = XInternAtom(dpy, "_BLACKBOX_ATTRIBUTES", False); |