mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-15 06:59:43 -05:00
rootston: fix artifacts when un-maximizing a view
This commit is contained in:
parent
ddafcb86a2
commit
bc001e90e9
4 changed files with 31 additions and 25 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue