]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
use frame->visible instead of the desktop number
[chaz/openbox] / openbox / client.c
index a17c73daaa43d92100a41c1dffa8d519457639a2..8b008e9b2a424bba780a76adb3377b6eca6b25dd 100644 (file)
@@ -3175,7 +3175,7 @@ ObClient* client_under_pointer()
         for (it = stacking_list; it != NULL; it = it->next) {
             if (WINDOW_IS_CLIENT(it->data)) {
                 ObClient *c = WINDOW_AS_CLIENT(it->data);
-                if (c->desktop == screen_desktop &&
+                if (c->frame->visible &&
                     RECT_CONTAINS(c->frame->area, x, y)) {
                     ret = c;
                     break;
This page took 0.022685 seconds and 4 git commands to generate.