mirror of
https://github.com/labwc/labwc.git
synced 2026-02-24 01:40:15 -05:00
xwayland: handle rare case of focus_in event occurring before map
This fixes a timing-dependent issue where the CLion main window was sometimes not correctly focused at startup.
This commit is contained in:
parent
d7f1b021b3
commit
5a1466d355
2 changed files with 32 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ struct xwayland_unmanaged {
|
|||
struct xwayland_view {
|
||||
struct view base;
|
||||
struct wlr_xwayland_surface *xwayland_surface;
|
||||
bool focused_before_map;
|
||||
|
||||
/* Events unique to XWayland views */
|
||||
struct wl_listener associate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue