Fix = to == in screenlock

master
Julian P Samaroo 4 years ago committed by Miles Alan
parent 91c77cec6c
commit a24d966b7e
  1. 2
      programs/sxmo_screenlock.c

@ -212,7 +212,7 @@ readinputloop(Display *dpy, int screen) {
case XF86XK_AudioLowerVolume: case XF86XK_AudioLowerVolume:
if (state == StateNoInput) state = StateNoInputNoScreen; if (state == StateNoInput) state = StateNoInputNoScreen;
else if (state == StateNoInputNoScreen) state = StateNoInput; else if (state == StateNoInputNoScreen) state = StateNoInput;
else if (state = StateSuspendPending && suspendpendingsceenon) state = StateNoInputNoScreen; else if (state == StateSuspendPending && suspendpendingsceenon) state = StateNoInputNoScreen;
else state = StateNoInput; else state = StateNoInput;
break; break;
case XF86XK_PowerOff: case XF86XK_PowerOff:

Loading…
Cancel
Save