diff options
author | emersion <contact@emersion.fr> | 2018-01-30 14:40:22 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-30 14:40:22 +0100 |
commit | a7cba7d83fc0c881af79792029f36cd46c6cab2c (patch) | |
tree | 2d033391618c819f390a1d4d0ccc064c91d10e75 /rootston/desktop.c | |
parent | 2a855e62824653f7634617a2c19d88ba1c650911 (diff) |
rootston: damage whole output when entering/leaving fullscreen
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r-- | rootston/desktop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c index d3654661..91661c05 100644 --- a/rootston/desktop.c +++ b/rootston/desktop.c @@ -243,6 +243,7 @@ void view_set_fullscreen(struct roots_view *view, bool fullscreen, roots_output->fullscreen_view = view; view->fullscreen_output = roots_output; + output_damage_whole(roots_output); } if (was_fullscreen && !fullscreen) { @@ -250,6 +251,7 @@ void view_set_fullscreen(struct roots_view *view, bool fullscreen, view->saved.height); view_rotate(view, view->saved.rotation); + output_damage_whole(view->fullscreen_output); view->fullscreen_output->fullscreen_view = NULL; view->fullscreen_output = NULL; } |