mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
xwayland: reset cursor image on cursor theme reload
As wlr_xwayland caches the pixel data when not yet started up due to the delayed lazy startup approach, we do have to re-set the xwayland cursor image when reloading the cursor theme. Otherwise the first X11 client connected will cause the xwayland server to use the cached (and destroyed) pixel data. To reproduce: - Compile with b_sanitize=address,undefined - Start labwc (nothing in autostart that could create a X11 connection, e.g. no GTK or X11 application) - Reconfigure - Start some X11 client
This commit is contained in:
parent
9ff7f27dab
commit
067c59e526
3 changed files with 56 additions and 0 deletions
|
|
@ -95,5 +95,7 @@ void xwayland_adjust_usable_area(struct view *view,
|
|||
|
||||
void xwayland_update_workarea(struct server *server);
|
||||
|
||||
void xwayland_reset_cursor(struct server *server);
|
||||
|
||||
#endif /* HAVE_XWAYLAND */
|
||||
#endif /* LABWC_XWAYLAND_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue