mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-21 08:56:31 -05:00
x11_handle_input_event: Remove return value
handle_x11_event() and x11_handle_input_event() react to different kinds of events, so it does not make much of a difference if x11_handle_input_event() signals if it handled an event or not. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
3728abd1fc
commit
98f8ec6a08
3 changed files with 9 additions and 15 deletions
|
|
@ -67,9 +67,7 @@ void x11_output_layout_get_box(struct wlr_x11_backend *backend,
|
|||
|
||||
static void handle_x11_event(struct wlr_x11_backend *x11,
|
||||
xcb_generic_event_t *event) {
|
||||
if (x11_handle_input_event(x11, event)) {
|
||||
return;
|
||||
}
|
||||
x11_handle_input_event(x11, event);
|
||||
|
||||
switch (event->response_type & XCB_EVENT_RESPONSE_TYPE_MASK) {
|
||||
case XCB_EXPOSE: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue