projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f5292c
)
use frame->visible instead of the desktop number
author
Dana Jansens
<danakj@orodu.net>
Wed, 1 Oct 2003 17:51:20 +0000
(17:51 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 1 Oct 2003 17:51:20 +0000
(17:51 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
a17c73d
..
8b008e9
100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-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;