diff options
author | emersion <contact@emersion.fr> | 2018-01-20 01:04:35 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-20 01:04:35 +0100 |
commit | bc001e90e988c965776abbd078224c14ac296047 (patch) | |
tree | 3f50833540f860ba8922deb2e035e9ca6e7c193e /rootston/desktop.c | |
parent | ddafcb86a2e4116183b59947afe046596c3301ea (diff) |
rootston: fix artifacts when un-maximizing a view
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r-- | rootston/desktop.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c index faaefd05..e36ae6a4 100644 --- a/rootston/desktop.c +++ b/rootston/desktop.c @@ -298,6 +298,10 @@ void view_damage_whole(struct roots_view *view) { } void view_update_position(struct roots_view *view, double x, double y) { + if (view->x == x && view->y == y) { + return; + } + view_damage_whole(view); view->x = x; view->y = y; |