mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
view.c: rename+simplify focus_view()
This commit is contained in:
parent
778e4e890b
commit
759fbe683b
5 changed files with 10 additions and 11 deletions
2
xdg.c
2
xdg.c
|
|
@ -54,7 +54,7 @@ void xdg_surface_map(struct wl_listener *listener, void *data)
|
|||
view->mapped = true;
|
||||
view->been_mapped = true;
|
||||
view->surface = view->xdg_surface->surface;
|
||||
focus_view(view, view->xdg_surface->surface);
|
||||
view_focus(view);
|
||||
}
|
||||
|
||||
void xdg_surface_unmap(struct wl_listener *listener, void *data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue