aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/picom.conf##template2
-rwxr-xr-x.local/share/bin/dbg_xprop10
2 files changed, 11 insertions, 1 deletions
diff --git a/.config/picom.conf##template b/.config/picom.conf##template
index d53e790..f18bc9c 100644
--- a/.config/picom.conf##template
+++ b/.config/picom.conf##template
@@ -16,7 +16,7 @@ corner-radius = 8;
shadow-exclude = [
"!I3_FLOATING_WINDOW@:c && class_g != 'st' && _NET_WM_WINDOW_TYPE@:32a *= '_NET_WM_WINDOW_TYPE_NORMAL'",
"!I3_FLOATING_WINDOW@:c && WM_CLASS@:s = 'st'",
- "!I3_FLOATING_WINDOW@:c && override_redirect = true"
+ "_NET_WM_WINDOW_TYPE@:32a *= '_NET_WM_WINDOW_TYPE_MENU' && override_redirect = true"
]
rounded-corners-exclude = [
diff --git a/.local/share/bin/dbg_xprop b/.local/share/bin/dbg_xprop
new file mode 100755
index 0000000..1aa0b0c
--- /dev/null
+++ b/.local/share/bin/dbg_xprop
@@ -0,0 +1,10 @@
+#!/bin/sh
+# debug xprop
+#
+# runs xprop for all newly created windows (when mouse capture is not
+# available)
+
+xev -root -1 |\
+ grep --line-buffered '^CreateNotify' |\
+ awk --non-decimal-data -F', ' '{ system("sleep 0.1"); printf("%d\n", substr($6, 8)); fflush(stdout) }' |\
+ xargs -I{} sh -c 'echo "------ window data for window {}"; xprop -id {}'