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().
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
e9509311dc
commit
7c95897892
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user