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.
This commit is contained in:
parent
0f994dbb28
commit
db08329d8b
2 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,7 @@ FbAtoms::FbAtoms() {
|
|||
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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue