diff options
| author | Simon Ser <contact@emersion.fr> | 2021-02-10 17:42:36 +0100 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2021-02-17 16:50:38 +0100 |
| commit | 05325b1197f9921f7d03096173589e5c06411ebb (patch) | |
| tree | ed63151d5e7cdf4357a1e6f1d21576521029f0fb | |
| parent | 691415bf95b564189f0603f0eeab6bb3e8447bd6 (diff) | |
Initialize indicator size to zero
Initializing to 1 is incorrect when the surface scale is > 1.
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -170,8 +170,8 @@ static void layer_surface_configure(void *data, struct swaylock_surface *surface = data; surface->width = width; surface->height = height; - surface->indicator_width = 1; - surface->indicator_height = 1; + surface->indicator_width = 0; + surface->indicator_height = 0; zwlr_layer_surface_v1_ack_configure(layer_surface, serial); render_frame_background(surface); render_frame(surface); |
