]> git.mdlowis.com Git - proto/labwc.git/commit
xwayland: correctly return seat focus from menus/tooltips in CLion
authorJohn Lindgren <john@jlindgren.net>
Wed, 11 Jun 2025 19:40:37 +0000 (15:40 -0400)
committerJohan Malm <johanmalm@users.noreply.github.com>
Thu, 12 Jun 2025 19:33:25 +0000 (20:33 +0100)
commit1b937ed2471393940b994a8aacbe5e0f2f84fc13
tree362aa5ab0f7c4d7ca18054e8b746c77e7bf820dc
parent5a1466d35520b9e6c72f3e54114e9c1b62a8c2f6
xwayland: correctly return seat focus from menus/tooltips in CLion

CLion's main window uses the Globally Active input model, and since
8fb2ecefcbd6 it is given focus asynchronously via view_offer_focus().
However, we need to return seat focus immediately after an unmanaged
surface (e.g. popup) is unmapped, or focus is lost completely.
src/xwayland-unmanaged.c