the lock screen code dint handle other inputs when it turned off screen, which meant, all the desktop widgets and items etc.. are clickable even when the screen is locked.. below is a tried and tested fix, its updated on git repo as well. hardly two liner
diff --git a/lock_screen.h b/lock_screen.h
index e676826..83a2dc5 100644
--- a/lock_screen.h
+++ b/lock_screen.h
@@ -11,12 +11,14 @@ int TOGGLE_SWITCH = 1;
int turn_screen_off(){
+ system("rmmod ft5x_ts"); // Change the touch screen module "ft5x_ts" with proper module if this doesnt work
int status = system("fbset -xres 0");
return status;
}
int turn_screen_on(){
+ system("modprobe ft5x_ts")
int status = system("fbset -xres 800");
return status;
}