28 lines
810 B
Diff
28 lines
810 B
Diff
From e84ed710a229edda498e5bdcac675b5885073057 Mon Sep 17 00:00:00 2001
|
|
From: Benjamin Otte <otte@redhat.com>
|
|
Date: Thu, 17 Jan 2013 20:52:50 +0100
|
|
Subject: [PATCH] window: allocation x/y is 0,0
|
|
|
|
This was incorrect in 97ba4b1b8eb82563f13762a4bd8cfe9beb8a121c.
|
|
---
|
|
gtk/gtkwindow.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
|
|
index e0c21a9..0984886 100644
|
|
--- a/gtk/gtkwindow.c
|
|
+++ b/gtk/gtkwindow.c
|
|
@@ -7171,7 +7171,8 @@ gtk_window_move_resize (GtkWindow *window)
|
|
&new_geometry,
|
|
new_flags);
|
|
|
|
- gdk_window_get_position (gdk_window, &allocation.x, &allocation.y);
|
|
+ allocation.x = 0;
|
|
+ allocation.y = 0;
|
|
allocation.width = gdk_window_get_width (gdk_window);
|
|
allocation.height = gdk_window_get_height (gdk_window);
|
|
|
|
--
|
|
1.8.1
|
|
|