From 0a8d78e7d4aa7557fb24d93ab2a329663724bc0d Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Thu, 30 Jun 2022 08:51:34 +0100 Subject: Fix buffers sometimes going out of sync. This was caused by some unneeded leftover logic that resulted in surface_draw being called without a corresponding entry_update. --- src/main.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main.c b/src/main.c index 8f974f0..307be0e 100644 --- a/src/main.c +++ b/src/main.c @@ -56,11 +56,6 @@ static void zwlr_layer_surface_configure( tofi->window.surface.width = tofi->window.width; tofi->window.surface.height = tofi->window.height; - /* - * Need to redraw the background at the new size. This entails - * a wl_surface_commit, so no need to do so explicitly here. - */ - tofi->window.surface.redraw = true; zwlr_layer_surface_v1_ack_configure( tofi->window.zwlr_layer_surface, serial); -- cgit v1.2.3