summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoeren Sandmann <sandmann@daimi.au.dk>2003-09-01 17:23:27 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2003-09-01 17:23:27 +0000
commit7c958978920fe946140f3af393f612571acf400b (patch)
tree868d080f094f040b9a0682ae6690bb3b0a4a35e7
parente9509311dc0180cfa70e52908ec279e9c7762507 (diff)
downloadgtk+-7c958978920fe946140f3af393f612571acf400b.tar.gz
Fix bug where the background pixmap was being offset twice, once by the
Mon Sep 1 19:39:14 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gdk/gdkwindow.c (gdk_window_get_bg_gc): Fix bug where the background pixmap was being offset twice, once by the ts_origin in gdk_window_get_bg_gc(), and once by gdk_draw_rectangle().
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--ChangeLog.pre-2-46
-rw-r--r--ChangeLog.pre-2-66
-rw-r--r--ChangeLog.pre-2-86
-rw-r--r--gdk/gdkwindow.c5
6 files changed, 31 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 4fb5db4b7c..7e4ab318ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Mon Sep 1 19:39:14 2003 Soeren Sandmann <sandmann@daimi.au.dk>
+
+ * gdk/gdkwindow.c (gdk_window_get_bg_gc): Fix bug where the
+ background pixmap was being offset twice, once by the ts_origin in
+ gdk_window_get_bg_gc(), and once by gdk_draw_rectangle().
+
2003-09-01 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.[ch] (gtk_ui_manager_ensure_update): Make
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 4fb5db4b7c..7e4ab318ba 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,9 @@
+Mon Sep 1 19:39:14 2003 Soeren Sandmann <sandmann@daimi.au.dk>
+
+ * gdk/gdkwindow.c (gdk_window_get_bg_gc): Fix bug where the
+ background pixmap was being offset twice, once by the ts_origin in
+ gdk_window_get_bg_gc(), and once by gdk_draw_rectangle().
+
2003-09-01 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.[ch] (gtk_ui_manager_ensure_update): Make
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 4fb5db4b7c..7e4ab318ba 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,9 @@
+Mon Sep 1 19:39:14 2003 Soeren Sandmann <sandmann@daimi.au.dk>
+
+ * gdk/gdkwindow.c (gdk_window_get_bg_gc): Fix bug where the
+ background pixmap was being offset twice, once by the ts_origin in
+ gdk_window_get_bg_gc(), and once by gdk_draw_rectangle().
+
2003-09-01 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.[ch] (gtk_ui_manager_ensure_update): Make
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 4fb5db4b7c..7e4ab318ba 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,9 @@
+Mon Sep 1 19:39:14 2003 Soeren Sandmann <sandmann@daimi.au.dk>
+
+ * gdk/gdkwindow.c (gdk_window_get_bg_gc): Fix bug where the
+ background pixmap was being offset twice, once by the ts_origin in
+ gdk_window_get_bg_gc(), and once by gdk_draw_rectangle().
+
2003-09-01 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.[ch] (gtk_ui_manager_ensure_update): Make
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 4fb5db4b7c..7e4ab318ba 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,9 @@
+Mon Sep 1 19:39:14 2003 Soeren Sandmann <sandmann@daimi.au.dk>
+
+ * gdk/gdkwindow.c (gdk_window_get_bg_gc): Fix bug where the
+ background pixmap was being offset twice, once by the ts_origin in
+ gdk_window_get_bg_gc(), and once by gdk_draw_rectangle().
+
2003-09-01 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.[ch] (gtk_ui_manager_ensure_update): Make
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 3c355118e9..5ad7cd1df8 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -874,11 +874,8 @@ gdk_window_get_bg_gc (GdkWindow *window,
{
gc_values.fill = GDK_TILED;
gc_values.tile = private->bg_pixmap;
- gc_values.ts_x_origin = - paint->x_offset;
- gc_values.ts_y_origin = - paint->y_offset;
- gc_mask = (GDK_GC_FILL | GDK_GC_TILE |
- GDK_GC_TS_X_ORIGIN | GDK_GC_TS_Y_ORIGIN);
+ gc_mask = GDK_GC_FILL | GDK_GC_TILE;
}
else
{