aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-29 09:07:29 +0100
committeremersion <contact@emersion.fr>2018-01-29 09:07:29 +0100
commit4cc58288cb75bd7fdeec1ef04bd4fc6cce55d09f (patch)
tree2d89756f68c41b542d3dfbe0a07043085f952a38
parentb47e8c4a1d745c0eb7904079a9d45f201937247b (diff)
rootston: fix damage when changing views z-index
-rw-r--r--rootston/seat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/seat.c b/rootston/seat.c
index 55866ce6..5b11af4a 100644
--- a/rootston/seat.c
+++ b/rootston/seat.c
@@ -764,6 +764,8 @@ void roots_seat_set_focus(struct roots_seat *seat, struct roots_view *view) {
wl_list_remove(&seat_view->link);
wl_list_insert(&seat->views, &seat_view->link);
+ view_damage_whole(view);
+
struct wlr_keyboard *keyboard = wlr_seat_get_keyboard(seat->seat);
if (keyboard != NULL) {
wlr_seat_keyboard_notify_enter(seat->seat, view->wlr_surface,