mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 20:31:17 +00:00
Don't pass mouse clicks when window is desktop type.
This commit is contained in:
parent
2115d925e4
commit
7b93ad8071
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user