THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#1129 - binding mouse button release events does not work
User who did this - Daniel Hahler (blueyed)
----------
Some investigation:
using XCB_GRAB_MODE_ASYNC makes the release event show up in a_xcb_check:
diff --git i/xwindow.c w/xwindow.c
index ab31b52..887d147 100644
--- i/xwindow.c
+++ w/xwindow.c
@@ -113,7 +113,7 @@ xwindow_buttons_grab(xcb_window_t win, button_array_t
*buttons)
foreach(b, *buttons)
xcb_grab_button(globalconf.connection, false, win, BUTTONMASK,
- XCB_GRAB_MODE_SYNC, XCB_GRAB_MODE_ASYNC, XCB_NONE,
XCB_NONE,
+ XCB_GRAB_MODE_ASYNC, XCB_GRAB_MODE_ASYNC,
XCB_NONE, XCB_NONE,
(*b)->button, (*b)->modifiers);
}
But I did not find a way to forward the mouse / button events to the client
then.
This needs to get done in `event_handle_button` probably via `xcb_allow_events`.
----------
More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1129#comment4216
You are receiving this message because you have requested it from the Flyspray
bugtracking system. If you did not expect this message or don't want to
receive mails in future, you can change your notification settings at the URL
shown above.
--
To unsubscribe, send mail to [email protected].