Initialize indicator size to zero
Initializing to 1 is incorrect when the surface scale is > 1.
This commit is contained in:
parent
691415bf95
commit
05325b1197
4
main.c
4
main.c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user