From b15f7a69d5a2751e9a1ba0015b119f35f7e92e76 Mon Sep 17 00:00:00 2001
From: Olivier Fourdan <fourdan.olivier@wanadoo.fr>
Date: Thu, 9 Nov 2006 18:09:24 +0000
Subject: [PATCH] Don't skip windows that have the skip pager/taskbar
 properties when searching for windows below the pointer (bug #2550)

(Old svn revision: 23797)
---
 src/stacking.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/stacking.c b/src/stacking.c
index 3aaf7b7f1..988f32bba 100644
--- a/src/stacking.c
+++ b/src/stacking.c
@@ -255,7 +255,7 @@ clientAtPosition (ScreenInfo *screen_info, int x, int y, Client * exclude)
         if ((frameX (c2) < x) && (frameX (c2) + frameWidth (c2) > x)
             && (frameY (c2) < y) && (frameY (c2) + frameHeight (c2) > y))
         {
-            if (clientSelectMask (c2, 0, WINDOW_REGULAR_FOCUSABLE)
+            if (clientSelectMask (c2, INCLUDE_SKIP_PAGER | INCLUDE_SKIP_TASKBAR, WINDOW_REGULAR_FOCUSABLE)
                 && (c2 != exclude))
             {
                 c = c2;
-- 
GitLab