Fix up some issues with focus

This commit is contained in:
Drew DeVault 2015-08-09 12:06:46 -04:00
parent f97a48d5b7
commit bab080cea3
2 changed files with 6 additions and 3 deletions

View file

@ -39,8 +39,7 @@ void handle_view_destroyed(wlc_handle view) {
}
void handle_view_focus(wlc_handle view, bool focus) {
wlc_view_set_state(view, WLC_BIT_ACTIVATED, focus);
focus_view(get_swayc_for_handle(view, &root_container));
return;
}
void handle_view_geometry_request(wlc_handle view, const struct wlc_geometry* geometry) {