Conky desktop widgets swallow/misroute clicks — root cause found + fix ready

Been chasing down A flaky click-through issue with the latest stock conky.

Desktop widgets (right/left-click sometimes not reaching the desktop context menu, fixed by openbox --restart).

Traced it all the way to conky’s C++ source and found the actual cause.

What’s actually happening

All our conky widgets use the same setup:

own_window = true,
own_window_type = 'desktop',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',

This is supposed to make the widget fully click-through at the X11 level (conky sets an empty “input shape” on the window for exactly this case).

But conky 1.24.x still unconditionally subscribes to mouse button events on that window regardless of window type, even though nothing in our configs uses conky’s interactive lua_mouse_hook feature.

So every click gets intercepted by conky first, which then tries to manually re-forward it to whatever’s underneath.

2 Likes