Set LED for screenlock before grabbing focus (e.g. register on PP button hold immediately)
This commit is contained in:
parent
1ac5e64193
commit
660506b1e3
1 changed files with 1 additions and 1 deletions
|
@ -156,8 +156,8 @@ main(int argc, char **argv) {
|
||||||
screen = XDefaultScreen(dpy);
|
screen = XDefaultScreen(dpy);
|
||||||
XSync(dpy, 0);
|
XSync(dpy, 0);
|
||||||
getoldbrightness();
|
getoldbrightness();
|
||||||
lockscreen(dpy, screen);
|
|
||||||
updatescreenon(1);
|
updatescreenon(1);
|
||||||
|
lockscreen(dpy, screen);
|
||||||
readinputloop(dpy, screen);
|
readinputloop(dpy, screen);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue