From b7ecc09d93b0e8222194e33829b877d913bc7ce5 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Sat, 24 Aug 2013 12:15:41 +0000 Subject: Revert "Fix touch not working due to gr_fb_width returning 0 in some cases" This reverts commit 70e1129612765b14e5aace0155d4683c91cde951. No longer needed after http://review.teamw.in/#/c/655/ --- gui/gui.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gui') 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) { -- cgit v1.2.3