mirror of
https://github.com/labwc/labwc.git
synced 2025-11-06 13:29:58 -05: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
xwl.c
2
xwl.c
|
|
@ -42,7 +42,7 @@ void xwl_surface_map(struct wl_listener *listener, void *data)
|
|||
if (!view->been_mapped)
|
||||
position(view);
|
||||
view->been_mapped = true;
|
||||
focus_view(view, view->xwayland_surface->surface);
|
||||
view_focus(view);
|
||||
}
|
||||
|
||||
void xwl_surface_unmap(struct wl_listener *listener, void *data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue