MuPDF ignoring Window Manager Keybinds?

Good Day folks,
I recently installed mupdf to view my pdfs. It’s quite an amazing, lightweight pdf viewer.

Anyway, it seems that the application is ignoring some of my Openbox window manager settings? For example, the no decor setting work in rc.xml, but it ignores the ctrl+W and ctrl+Q keybinds. The only way I can close is by pressing alt+f4.
Any ideas as to why mu pdf ignores my OB window close settings?

xbprop output

_NET_WM_ICON_GEOMETRY(CARDINAL) = 1012, 726, 47, 42
WM_STATE(WM_STATE) = 1, 0
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW, _OB_WM_ACTION_UNDECORATE
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 1, 1, 1, 1
_NET_FRAME_EXTENTS(CARDINAL) = 1, 1, 1, 1
_NET_WM_STATE(ATOM) = _OB_WM_STATE_UNDECORATED
_OB_APP_TYPE(UTF8_STRING) = "normal"
_OB_APP_TITLE(UTF8_STRING) = "OPA_Hyperchromic.pdf - 1/7 (96 dpi)"
_OB_APP_GROUP_CLASS(UTF8_STRING) = 
_OB_APP_GROUP_NAME(UTF8_STRING) = 
_OB_APP_CLASS(UTF8_STRING) = "MuPDF"
_OB_APP_NAME(UTF8_STRING) = "mupdf"
_OB_APP_ROLE(UTF8_STRING) = 
_NET_WM_VISIBLE_ICON_NAME(UTF8_STRING) = "OPA_Hyperchromic.pdf - 1/7 (96 dpi)"
_NET_WM_VISIBLE_NAME(UTF8_STRING) = "OPA_Hyperchromic.pdf - 1/7 (96 dpi)"
_NET_WM_NAME(UTF8_STRING) = "OPA_Hyperchromic.pdf - 1/7 (96 dpi)"
WM_LOCALE_NAME(STRING) = "C"
WM_CLIENT_MACHINE(STRING) = "enigma"
WM_ICON_NAME(STRING) = "OPA_Hyperchromic.pdf - 1/7 (96 dpi)"
WM_NAME(STRING) = "OPA_Hyperchromic.pdf - 1/7 (96 dpi)"
WM_PROTOCOLS(ATOM) = WM_DELETE_WINDOW
WM_CLASS(STRING) = "mupdf", "MuPDF"
WM_HINTS(WM_HINTS) = 36, 0, 0, 46137429, 0, 0, 0, 46137431, 0

Nevermind, I fixed it.

I added the following to my rc.xml file.

<keybind key="C-q">
      <action name="Close"/>
    </keybind>
1 Like