From 12a06184e733554bafc76e643b49067fcd758fc0 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Tue, 6 Oct 2020 14:33:05 +0200 Subject: Merge the upstream changes from i3lock --- unlock_indicator.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'unlock_indicator.h') diff --git a/unlock_indicator.h b/unlock_indicator.h index 93c1de8..581d028 100644 --- a/unlock_indicator.h +++ b/unlock_indicator.h @@ -1,6 +1,8 @@ #ifndef _UNLOCK_INDICATOR_H #define _UNLOCK_INDICATOR_H +#include + typedef enum { STATE_STARTED = 0, /* default state */ STATE_KEY_PRESSED = 1, /* key was pressed, show unlock indicator */ @@ -19,7 +21,8 @@ typedef enum { STATE_I3LOCK_LOCK_FAILED = 4, /* i3lock failed to load */ } auth_state_t; -xcb_pixmap_t draw_image(uint32_t* resolution); +void free_bg_pixmap(void); +void draw_image(xcb_pixmap_t bg_pixmap, uint32_t* resolution); void redraw_screen(void); void clear_indicator(void); -- cgit v1.3