[gnome-initial-setup/wip/pwithnall/misc-fixes: 50/70] driver: Make height 768 the threshold for "small screens"
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup/wip/pwithnall/misc-fixes: 50/70] driver: Make height 768 the threshold for "small screens"
- Date: Fri, 11 Sep 2020 13:29:14 +0000 (UTC)
commit ce62b9ddcb3954a0e3e1942e6c952af92249fa45
Author: Philip Chimento <philip endlessm com>
Date: Fri Aug 2 11:55:23 2019 -0700
driver: Make height 768 the threshold for "small screens"
Previously the threshold was height 800. Specifically, we have a number
of products with 1366x768 resolution where we don't want to have
gnome-initial-setup run maximized.
Upstream: https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/merge_requests/96
https://phabricator.endlessm.com/T17889
gnome-initial-setup/gis-driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-initial-setup/gis-driver.c b/gnome-initial-setup/gis-driver.c
index 6a57b26b..42207a62 100644
--- a/gnome-initial-setup/gis-driver.c
+++ b/gnome-initial-setup/gis-driver.c
@@ -808,7 +808,7 @@ monitor_is_small (GdkMonitor *monitor)
return TRUE;
gdk_monitor_get_geometry (monitor, &geom);
- return geom.height < 800;
+ return geom.height < 768;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]