Verified Commit 655e6dcd authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak
Browse files

home: Remove gtk_widget_queue_draw from (un)folding animation

This was causing a massive performance drop on the devkit, while a surface
commit is all that's really needed there.
parent 69635336
Pipeline #31502 passed with stages
in 6 minutes and 54 seconds
......@@ -121,7 +121,7 @@ phosh_home_resize (PhoshHome *self)
phosh_layer_surface_set_exclusive_zone (PHOSH_LAYER_SURFACE (self),
-margin + PHOSH_HOME_BUTTON_HEIGHT);
gtk_widget_queue_draw (GTK_WIDGET (self));
phosh_layer_surface_wl_surface_commit (PHOSH_LAYER_SURFACE (self));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment