From a24d966b7e45192a6cb0099bef3ae8b336f262a1 Mon Sep 17 00:00:00 2001 From: Julian P Samaroo Date: Tue, 28 Jul 2020 15:27:43 -0500 Subject: [PATCH] Fix = to == in screenlock --- programs/sxmo_screenlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/sxmo_screenlock.c b/programs/sxmo_screenlock.c index 437c9bc..03d74e2 100644 --- a/programs/sxmo_screenlock.c +++ b/programs/sxmo_screenlock.c @@ -212,7 +212,7 @@ readinputloop(Display *dpy, int screen) { case XF86XK_AudioLowerVolume: if (state == StateNoInput) state = StateNoInputNoScreen; else if (state == StateNoInputNoScreen) state = StateNoInput; - else if (state = StateSuspendPending && suspendpendingsceenon) state = StateNoInputNoScreen; + else if (state == StateSuspendPending && suspendpendingsceenon) state = StateNoInputNoScreen; else state = StateNoInput; break; case XF86XK_PowerOff: