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.
Daniel Diaz dydyman@gmail.com
2 files changed,
2 insertions(+),
0 deletions(-)
M
src/FbAtoms.cc
→
src/FbAtoms.cc
@@ -37,6 +37,7 @@ xa_wm_state = XInternAtom(dpy, "WM_STATE", False);
xa_wm_change_state = XInternAtom(dpy, "WM_CHANGE_STATE", False); xa_wm_delete_window = XInternAtom(dpy, "WM_DELETE_WINDOW", False); xa_wm_take_focus = XInternAtom(dpy, "WM_TAKE_FOCUS", False); + motif_wm_info = XInternAtom(dpy, "_MOTIF_WM_INFO", False); motif_wm_hints = XInternAtom(dpy, "_MOTIF_WM_HINTS", False); blackbox_attributes = XInternAtom(dpy, "_BLACKBOX_ATTRIBUTES", False);
M
src/FbAtoms.hh
→
src/FbAtoms.hh
@@ -47,6 +47,7 @@ private:
FbAtoms(); Atom blackbox_attributes; + Atom motif_wm_info; Atom motif_wm_hints; Atom xa_wm_protocols; Atom xa_wm_state;