From bab080cea3d28dad387760d93db55cc711980d9a Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 9 Aug 2015 12:06:46 -0400 Subject: Fix up some issues with focus --- sway/handlers.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sway/handlers.c') diff --git a/sway/handlers.c b/sway/handlers.c index 0c0fb85f..70d044b6 100644 --- a/sway/handlers.c +++ b/sway/handlers.c @@ -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) { -- cgit v1.2.3