Sample Header Ad - 728x90

With the Openbox window manager, can I force a window to have window decorations?

0 votes
0 answers
20 views
I am running a closed-source Java application in the Openbox window manager. The application runs, but the application's main window is displayed without window decorations. Presumably, the application itself is requesting that its main window be displayed without window decorations. I would prefer that the application's main window have window decorations. My question is: Is it possible to forcefully add window decorations to an already created and displayed window? If not, why not? Possibly relevant X properties:
$  obxprop  |  grep  DEC
_OL_DECOR_DEL(ATOM) = _OL_DECOR_HEADER, _OL_DECOR_RESIZE, _OL_DECOR_CLOSE
_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
I have tried the following: 1. Selecting Un/Decorate in the window’s Openbox client menu. 2. Setting the following in Openbox’s rc.xml file.
yes
3. Removing the _OL_DECOR_DEL property with xprop -remove _OL_DECOR_DEL. None of the above have had any effect. The window refuses to display decorations.
Asked by mpb (1831 rep)
Jul 8, 2025, 08:06 PM