diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-11-01 09:20:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-01 09:20:49 -0400 |
commit | b2ff9f13b7be6830c42f61ac4a8cd59079da9723 (patch) | |
tree | 52a57200bfa26edf376a6b9c5681f80856a59de7 | |
parent | 03c0d41ca956e3eb5ddac15a34918bfb97fc4c09 (diff) | |
parent | b23dd6a6f8b6b720e8354f70ae6c2ea906055b23 (diff) |
Merge pull request #368 from acrisci/bug/seat-clear-focus
wlr-seat bug: dont set focus surface to null then clear focus
-rw-r--r-- | types/wlr_seat.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/types/wlr_seat.c b/types/wlr_seat.c index 0b3cbd0f..1e01c058 100644 --- a/types/wlr_seat.c +++ b/types/wlr_seat.c @@ -408,7 +408,6 @@ static void pointer_surface_destroy_notify(struct wl_listener *listener, listener, state, surface_destroy); wl_list_remove(&state->surface_destroy.link); wl_list_init(&state->surface_destroy.link); - state->focused_surface = NULL; wlr_seat_pointer_clear_focus(state->seat); } @@ -418,7 +417,6 @@ static void pointer_resource_destroy_notify(struct wl_listener *listener, listener, state, resource_destroy); wl_list_remove(&state->resource_destroy.link); wl_list_init(&state->resource_destroy.link); - state->focused_surface = NULL; wlr_seat_pointer_clear_focus(state->seat); } @@ -680,7 +678,6 @@ static void keyboard_surface_destroy_notify(struct wl_listener *listener, listener, state, surface_destroy); wl_list_remove(&state->surface_destroy.link); wl_list_init(&state->surface_destroy.link); - state->focused_surface = NULL; wlr_seat_keyboard_clear_focus(state->seat); } @@ -690,7 +687,6 @@ static void keyboard_resource_destroy_notify(struct wl_listener *listener, listener, state, resource_destroy); wl_list_remove(&state->resource_destroy.link); wl_list_init(&state->resource_destroy.link); - state->focused_surface = NULL; wlr_seat_keyboard_clear_focus(state->seat); } |