From 42d272bea11b7c29965a201ec45ed3ca3a85ea81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Sun, 10 Sep 2017 17:06:59 +0200 Subject: [PATCH] Only add 'normal' windews to the scroll strip --- tiling.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tiling.js b/tiling.js index aa7c46f..20f8ec8 100644 --- a/tiling.js +++ b/tiling.js @@ -160,6 +160,10 @@ focus_wrapper = (meta_window, user_data) => { add_handler = (ws, meta_window) => { log("window-added", meta_window); + if (meta_window.window_type != Meta.WindowType.NORMAL) { + return + } + let focus_i = focus() // Should inspert at index 0 if focus() returns -1