--- a/src/view/layer-shell/layer-shell.cpp +++ b/src/view/layer-shell/layer-shell.cpp @@ -97,15 +97,14 @@ /* Functions which are further specialized for the different shells */ void move(int x, int y) { - wf::region_t damage = last_bounding_box; + wf::scene::damage_node(get_root_node(), last_bounding_box); surface_root_node->set_offset({(double)x, (double)y}); this->geometry.x = x; this->geometry.y = y; last_bounding_box = get_bounding_box(); - damage |= last_bounding_box; wf::scene::damage_node(get_root_node(), last_bounding_box); wf::scene::update(get_root_node(), wf::scene::update_flag::GEOMETRY); }