summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2023-01-14 15:16:07 -0500
committerSimon Ser <contact@emersion.fr>2023-01-27 12:19:32 +0100
commit4a44c306e73694594f804f84cb9f9821cc1d9e13 (patch)
tree1e4bb9477b349c795abcab157e6ff512456715c4 /main.c
parent10ab8b274020a9323413d093c45f13490929fb81 (diff)
Remove unused fields in swaylock_surface
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/main.c b/main.c
index e288df5..2a5dbc2 100644
--- a/main.c
+++ b/main.c
@@ -184,8 +184,6 @@ static void layer_surface_configure(void *data,
struct swaylock_surface *surface = data;
surface->width = width;
surface->height = height;
- surface->indicator_width = 0;
- surface->indicator_height = 0;
zwlr_layer_surface_v1_ack_configure(layer_surface, serial);
render_frame_background(surface);
render_frame(surface);
@@ -208,8 +206,6 @@ static void ext_session_lock_surface_v1_handle_configure(void *data,
struct swaylock_surface *surface = data;
surface->width = width;
surface->height = height;
- surface->indicator_width = 0;
- surface->indicator_height = 0;
ext_session_lock_surface_v1_ack_configure(lock_surface, serial);
render_frame_background(surface);
render_frame(surface);