update the cursor on next commit after xdg surface map

we can't update the cursor properly upon map, because windows may
not have committed a buffer by then.

deferring cursor updates until commit lets us find the buffer in the
scene tree and see if the pointer is within it.
This commit is contained in:
bi4k8 2022-12-14 01:50:19 +00:00
parent 4f0b72c341
commit 90b5f74ef1
2 changed files with 4 additions and 1 deletions

View file

@ -46,6 +46,7 @@ struct view {
bool mapped;
bool been_mapped;
bool committed_since_mapped;
bool ssd_enabled;
bool minimized;
bool maximized;