mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
chase wlroots: _wants_focus and input_model renames MR 2434
Ref: d3b7e040af46ab03114d5a40e9ed0c7c6aff15be
("wlr_xwayland_surface: fix prefix of two functions")
This commit is contained in:
parent
a5db63c472
commit
a617accfd8
4 changed files with 5 additions and 5 deletions
|
|
@ -46,7 +46,7 @@ handle_map(struct wl_listener *listener, void *data)
|
|||
|
||||
CONNECT_SIGNAL(xsurface, unmanaged, set_geometry);
|
||||
|
||||
if (wlr_xwayland_or_surface_wants_focus(xsurface)) {
|
||||
if (wlr_xwayland_surface_override_redirect_wants_focus(xsurface)) {
|
||||
seat_focus_surface(&unmanaged->server->seat, xsurface->surface);
|
||||
}
|
||||
|
||||
|
|
@ -66,7 +66,7 @@ focus_next_surface(struct server *server, struct wlr_xwayland_surface *xsurface)
|
|||
struct wl_list *list = &server->unmanaged_surfaces;
|
||||
wl_list_for_each_reverse(u, list, link) {
|
||||
struct wlr_xwayland_surface *prev = u->xwayland_surface;
|
||||
if (wlr_xwayland_or_surface_wants_focus(prev)) {
|
||||
if (wlr_xwayland_surface_override_redirect_wants_focus(prev)) {
|
||||
seat_focus_surface(&server->seat, prev->surface);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue