You are not logged in.

#1 2017-09-15 17:00:24

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Xlib help? Trying to patch dmenu with mouse support

Am using dmenu 4.6 with the Suckless mouse support patch
Problem is, if you use right-click to exit the menu, the right-click gets passed to the underlying window (being managed by Openbox).
Usually causes little harm, but can be disastrous (eg. if right-click is set to close a task in Tint2 taskbar).

Now, I know a little C programming (enough for simple patches), but almost nothing about Xlib and GUI coding. Had a look at Xlib manual and thought XSync's discard parameter looked promising, but it did nothing.

Would be grateful for any ideas.

Edit: Also looked at XUngrabButton; no effect

Last edited by ninian (2017-09-15 17:01:55)

Offline

Board footer

Powered by FluxBB