all repos — fluxbox @ db08329d8bc689ff14cbb9084814d652ae349621

custom fork of the fluxbox windowmanager

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
commit

db08329d8bc689ff14cbb9084814d652ae349621

parent

0f994dbb28e2a348f7c254e051622acf88e08226

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/FbAtoms.ccsrc/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.hhsrc/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;