summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Erickson <rerickso@jaguarlandrover.com>2014-11-18 18:59:12 -0200
committerEduardo Lima (Etrunko) <eduardo.lima@intel.com>2014-11-19 11:06:20 -0200
commitced80d7acab9c72690a4b497870c8b6bcd806f23 (patch)
tree29da6ed6ca753cf3ca401a088e2f3ee8af534446 /src
parent7de8106e64d2f0e3cfb929d7b518d1f03781e895 (diff)
downloadweekeyboard-ced80d7acab9c72690a4b497870c8b6bcd806f23.tar.gz
weekeyboard-ced80d7acab9c72690a4b497870c8b6bcd806f23.tar.bz2
weekeyboard-ced80d7acab9c72690a4b497870c8b6bcd806f23.zip
Add default_1080 theme
Change-Id: If2452283b24b5ef8c02147630e40357a04420ebc Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/wkb-main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wkb-main.c b/src/wkb-main.c
index 5c38e4f..86464db 100644
--- a/src/wkb-main.c
+++ b/src/wkb-main.c
@@ -423,7 +423,9 @@ _wkb_ui_setup(struct weekeyboard *wkb)
/* Check which theme we should use according to the screen width */
ecore_wl_screen_size_get(&w, &h);
DBG("Screen size: w=%d, h=%d", w, h);
- if (w >= 720)
+ if (w >= 1080)
+ w = 1080;
+ else if (w >= 720)
w = 720;
else
w = 600;