mirror of
https://github.com/labwc/labwc.git
synced 2026-03-06 01:40:15 -05:00
xwayland: flush XCB connection to mitigate race between Raise and input
Some checks are pending
labwc.github.io / notify (push) Waiting to run
Some checks are pending
labwc.github.io / notify (push) Waiting to run
This commit is contained in:
parent
c4277ab507
commit
d748dc78bc
3 changed files with 24 additions and 0 deletions
|
|
@ -1438,3 +1438,13 @@ xwayland_update_workarea(struct server *server)
|
|||
};
|
||||
wlr_xwayland_set_workareas(server->xwayland, &workarea, 1);
|
||||
}
|
||||
|
||||
void
|
||||
xwayland_flush(struct server *server)
|
||||
{
|
||||
if (!server->xwayland || !server->xwayland->xwm) {
|
||||
return;
|
||||
}
|
||||
|
||||
xcb_flush(wlr_xwayland_get_xwm_connection(server->xwayland));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue