mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
xwm: selection stubs
This commit is contained in:
parent
4d6b3618b8
commit
3880fb0a53
4 changed files with 56 additions and 0 deletions
|
|
@ -909,6 +909,12 @@ static int x11_event_handler(int fd, uint32_t mask, void *data) {
|
|||
|
||||
while ((event = xcb_poll_for_event(xwm->xcb_conn))) {
|
||||
count++;
|
||||
|
||||
if (xwm_handle_selection_event(xwm, event)) {
|
||||
free(event);
|
||||
continue;
|
||||
}
|
||||
|
||||
switch (event->response_type & XCB_EVENT_RESPONSE_TYPE_MASK) {
|
||||
case XCB_CREATE_NOTIFY:
|
||||
xwm_handle_create_notify(xwm, (xcb_create_notify_event_t *)event);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue