summaryrefslogtreecommitdiffstats
path: root/include/swaylock
diff options
context:
space:
mode:
authorLibravatar Calvin Lee <cyrus296@gmail.com>2017-07-31 14:48:48 +0200
committerLibravatar Calvin Lee <cyrus296@gmail.com>2017-07-31 19:49:01 +0200
commit23f11d7c45b25ec8752ab08cc7065b8a3e8b4399 (patch)
tree6c37414aae964cd387ae68314a8ada0214d9d7a3 /include/swaylock
parentRemove test clipboard code (diff)
downloadsway-23f11d7c45b25ec8752ab08cc7065b8a3e8b4399.tar.gz
sway-23f11d7c45b25ec8752ab08cc7065b8a3e8b4399.tar.zst
sway-23f11d7c45b25ec8752ab08cc7065b8a3e8b4399.zip
Allow swaylock indicator size to be configurable
Diffstat (limited to 'include/swaylock')
-rw-r--r--include/swaylock/swaylock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/swaylock/swaylock.h b/include/swaylock/swaylock.h
index 06533108..eeed094e 100644
--- a/include/swaylock/swaylock.h
+++ b/include/swaylock/swaylock.h
@@ -56,6 +56,9 @@ struct lock_config {
56 struct lock_colors validating; 56 struct lock_colors validating;
57 struct lock_colors invalid; 57 struct lock_colors invalid;
58 } colors; 58 } colors;
59
60 int radius;
61 int thickness;
59}; 62};
60 63
61void render(struct render_data* render_data, struct lock_config *config); 64void render(struct render_data* render_data, struct lock_config *config);