aboutsummaryrefslogtreecommitdiff
path: root/dropdown
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-08-02 10:21:50 +0200
committersrdusr <trevorgray@srdusr.com>2023-08-02 10:21:50 +0200
commit978eb44401a37a4b49c2841e7f726761d6425743 (patch)
treeced753b7f90666948a14cb60428252337d25618c /dropdown
parent7ba53f66cfc305f713717d8d8fc842a4140b6970 (diff)
downloaddotfiles-978eb44401a37a4b49c2841e7f726761d6425743.tar.gz
dotfiles-978eb44401a37a4b49c2841e7f726761d6425743.zip
Set window state properties since xprop, etc.. do not seem to get info on the window
Diffstat (limited to 'dropdown')
-rwxr-xr-xdropdown3
1 files changed, 3 insertions, 0 deletions
diff --git a/dropdown b/dropdown
index a1a8507..6b0f80e 100755
--- a/dropdown
+++ b/dropdown
@@ -60,6 +60,9 @@ if [ "$id" != "" ]; then
# The dropdown window is hidden, so show it
xdo show "$id"
fi
+ # Set properties on the dropdown terminal window
+ xprop -id "$id" -f _NET_WM_WINDOW_TYPE 32a -set _NET_WM_WINDOW_TYPE _NET_WM_WINDOW_TYPE_NORMAL
+ xprop -id "$id" -f _NET_WM_STATE 32a -set _NET_WM_STATE _NET_WM_STATE_ABOVE
fi
#if [ "$ACTIVE_WINDOW" = "$APP_WINDOW" ]; then