I am trying to bring the x window that is hidden behind another window forward by using xdotool
So currently
xprop -root | grep "_NET_CLIENT_LIST_STACKING(WINDOW)"
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x120000d, 0x500001c, 0x50000ad, 0x2e00020, 0x2e0000d, 0x3800023, 0x3e00010, 0x2e00004,
0x2e00019, 0x4000005, 0x4a0002c, 0x3c00004, 0x4e003f9, 0x5000031,
0x400000e, 0x100003c, 0x4e003ca, 0x10007a6, 0x1000247, 0x5000068
I'd like to bring window id 0x50000ad to the front
xprop -id 0x50000ad
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_WIN_AREA(CARDINAL) = 0, 0
_WIN_WORKSPACE(CARDINAL) = 0
_WIN_STATE(CARDINAL) = 0
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 0, 0
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 0, 0, 0, 0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_STICK
_NET_WM_DESKTOP(CARDINAL) = 0
_WIN_LAYER(CARDINAL) = 4 WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS WM_CLASS(STRING) =
"sun-awt-X11-XFramePeer", "controlpanel-MainFrame"
WM_CLIENT_LEADER(WINDOW): window id # 0x5000008
I tried
xdotool windowactivate
xprop -id 0x50000ad -f _WIN_LAYER 32c -set _WIN_LAYER 100
but none of the commands seem to actually reorder the stacking order...
question from:
https://stackoverflow.com/questions/65924428/xdotool-windowactivate-not-changing-the-z-order