projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2115d92
)
Don't pass mouse clicks when window is desktop type.
author
Brenden Matthews
<brenden@rty.ca>
Wed, 5 Aug 2009 20:35:33 +0000
(14:35 -0600)
committer
Brenden Matthews
<brenden@rty.ca>
Wed, 5 Aug 2009 20:35:33 +0000
(14:35 -0600)
src/conky.c
patch
|
blob
|
history
diff --git
a/src/conky.c
b/src/conky.c
index
0b41d3d
..
8668d6d
100644
(file)
--- a/
src/conky.c
+++ b/
src/conky.c
@@
-7587,9
+7587,10
@@
static void main_loop(void)
case ButtonPress:
if (own_window) {
/* if an ordinary window with decorations */
- if ((window.type == TYPE_NORMAL)
- && (!TEST_HINT(window.hints,
- HINT_UNDECORATED))) {
+ if ((window.type == TYPE_NORMAL &&
+ (!TEST_HINT(window.hints,
+ HINT_UNDECORATED))) ||
+ window.type == TYPE_DESKTOP) {
/* allow conky to hold input focus. */
break;
} else {