summaryrefslogtreecommitdiff
path: root/sway/handlers.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2015-08-09 12:06:46 -0400
committerDrew DeVault <[email protected]>2015-08-09 12:06:46 -0400
commitbab080cea3d28dad387760d93db55cc711980d9a (patch)
tree38ff188dbe199c4e45af3b6bb4c95ff6c768e466 /sway/handlers.c
parentf97a48d5b75fd80a578af14f19d0b1d954f82fdd (diff)
Fix up some issues with focus
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c3
1 files changed, 1 insertions, 2 deletions
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) {