[gtk+/wip/otte/gtk4: 14/41] x11: Don't confuse height and width
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/otte/gtk4: 14/41] x11: Don't confuse height and width
- Date: Thu, 6 Oct 2016 22:00:54 +0000 (UTC)
commit 3dfa911f8552400067578bacb31f6f5332987af1
Author: Benjamin Otte <otte redhat com>
Date: Mon Sep 5 04:10:33 2016 +0200
x11: Don't confuse height and width
Looks like copy/paste error.
gdk/x11/gdkscreen-x11.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c
index c189053..43e9705 100644
--- a/gdk/x11/gdkscreen-x11.c
+++ b/gdk/x11/gdkscreen-x11.c
@@ -826,7 +826,7 @@ init_no_multihead (GdkScreen *screen, gboolean *changed)
gdk_screen_get_height (screen));
g_object_notify (G_OBJECT (monitor), "workarea");
gdk_monitor_set_physical_size (GDK_MONITOR (monitor),
- gdk_screen_get_height_mm (screen),
+ gdk_screen_get_width_mm (screen),
gdk_screen_get_height_mm (screen));
gdk_monitor_set_scale_factor (GDK_MONITOR (monitor), x11_screen->window_scale);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]