mirror of
https://github.com/swaywm/sway.git
synced 2025-11-11 13:29:51 -05:00
Fix up some issues with focus
This commit is contained in:
parent
f97a48d5b7
commit
bab080cea3
2 changed files with 6 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue