Set LED for screenlock before grabbing focus (e.g. register on PP button hold immediately)

master
Miles Alan 5 years ago
parent 1ac5e64193
commit 660506b1e3
  1. 2
      programs/sxmo_screenlock.c

@ -156,8 +156,8 @@ main(int argc, char **argv) {
screen = XDefaultScreen(dpy);
XSync(dpy, 0);
getoldbrightness();
lockscreen(dpy, screen);
updatescreenon(1);
lockscreen(dpy, screen);
readinputloop(dpy, screen);
return 0;
}

Loading…
Cancel
Save