diff options
author | Dees_Troy <dees_troy@teamw.in> | 2013-08-07 17:52:20 +0200 |
---|---|---|
committer | Dees_Troy <dees_troy@teamw.in> | 2013-08-11 15:47:26 +0200 |
commit | 70e1129612765b14e5aace0155d4683c91cde951 (patch) | |
tree | 3a5d1bc65d1f14df23d29ba0c7044dd7b920f05c /gui | |
parent | Fix conflict with getline in 4.3 tree (diff) | |
download | android_bootable_recovery-70e1129612765b14e5aace0155d4683c91cde951.tar android_bootable_recovery-70e1129612765b14e5aace0155d4683c91cde951.tar.gz android_bootable_recovery-70e1129612765b14e5aace0155d4683c91cde951.tar.bz2 android_bootable_recovery-70e1129612765b14e5aace0155d4683c91cde951.tar.lz android_bootable_recovery-70e1129612765b14e5aace0155d4683c91cde951.tar.xz android_bootable_recovery-70e1129612765b14e5aace0155d4683c91cde951.tar.zst android_bootable_recovery-70e1129612765b14e5aace0155d4683c91cde951.zip |
Diffstat (limited to 'gui')
-rw-r--r-- | gui/gui.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/gui.cpp b/gui/gui.cpp index 87556891d..9f221383e 100644 --- a/gui/gui.cpp +++ b/gui/gui.cpp @@ -185,6 +185,8 @@ 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(); @@ -198,7 +200,7 @@ input_thread (void *cookie) struct input_event ev; int state = 0, ret = 0; - ret = ev_get (&ev, dontwait); + ret = ev_get (&ev, dontwait, &screen_width, &screen_height); if (ret < 0) { |