diff options
author | Phil Jones <philj56@gmail.com> | 2022-06-30 08:51:34 +0100 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-06-30 08:51:34 +0100 |
commit | 0a8d78e7d4aa7557fb24d93ab2a329663724bc0d (patch) | |
tree | ccdabede22ba96ab8331818cea739118ea87075e | |
parent | 6f08bb41283e02bc35e25fc9f769fb950e9ee957 (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.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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); |