summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-06-30 08:51:34 +0100
committerPhil Jones <philj56@gmail.com>2022-06-30 08:51:34 +0100
commit0a8d78e7d4aa7557fb24d93ab2a329663724bc0d (patch)
treeccdabede22ba96ab8331818cea739118ea87075e
parent6f08bb41283e02bc35e25fc9f769fb950e9ee957 (diff)
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.
-rw-r--r--src/main.c5
1 files changed, 0 insertions, 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);