summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-08-24 14:15:41 +0200
committerGerrit Code Review <gerrit@198.50.184.117>2013-08-24 14:43:14 +0200
commitb7ecc09d93b0e8222194e33829b877d913bc7ce5 (patch)
tree98ac79a774f293912cef4b79bb83dab74f831b23 /gui
parentRevert "Rewrite TWFunc::Exec_Cmd() to use pipe() instead of popen()" (diff)
downloadandroid_bootable_recovery-b7ecc09d93b0e8222194e33829b877d913bc7ce5.tar
android_bootable_recovery-b7ecc09d93b0e8222194e33829b877d913bc7ce5.tar.gz
android_bootable_recovery-b7ecc09d93b0e8222194e33829b877d913bc7ce5.tar.bz2
android_bootable_recovery-b7ecc09d93b0e8222194e33829b877d913bc7ce5.tar.lz
android_bootable_recovery-b7ecc09d93b0e8222194e33829b877d913bc7ce5.tar.xz
android_bootable_recovery-b7ecc09d93b0e8222194e33829b877d913bc7ce5.tar.zst
android_bootable_recovery-b7ecc09d93b0e8222194e33829b877d913bc7ce5.zip
Diffstat (limited to 'gui')
-rw-r--r--gui/gui.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gui/gui.cpp b/gui/gui.cpp
index 9f221383e..87556891d 100644
--- a/gui/gui.cpp
+++ b/gui/gui.cpp
@@ -185,8 +185,6 @@ input_thread (void *cookie)
static struct timeval touchStart;
HardwareKeyboard kb;
string seconds;
- int screen_width = gr_fb_width();
- int screen_height = gr_fb_height();
//start screen timeout threads
blankTimer.setTimerThread();
@@ -200,7 +198,7 @@ input_thread (void *cookie)
struct input_event ev;
int state = 0, ret = 0;
- ret = ev_get (&ev, dontwait, &screen_width, &screen_height);
+ ret = ev_get (&ev, dontwait);
if (ret < 0)
{