mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 03:11:27 +00:00
commit
0eed6a4f99
|
@ -285,6 +285,9 @@ void unfocus_all(swayc_t *container) {
|
|||
}
|
||||
|
||||
void focus_view(swayc_t *view) {
|
||||
if (!view) {
|
||||
return;
|
||||
}
|
||||
sway_log(L_DEBUG, "Setting focus for %p:%ld", view, view->handle);
|
||||
swayc_t *c = view;
|
||||
//Set focus from root to view
|
||||
|
|
Loading…
Reference in a new issue