diff --git a/ChangeLog b/ChangeLog index f18797c160..a4d916a901 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2005-07-18 Tor Lillqvist + + * gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Be sure to remove + any possible leftover clipping region in the DC if we don't want + any clipping. Thanks to Robert Ă–gren. (#309823) + + * configure.in (GDK_EXTRA_LIBS): [Win32] Bypass libtool, use + -Wl,-luuid. This avoids a libtool warning as libuuid is static. + 2005-07-18 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_set_focus_on_click): Propagate @@ -180,7 +189,7 @@ * configure.in: Check that we have a new enough Cairo. -2005-07-13 Robert Ögren +2005-07-13 Robert Ă–gren Fix handling of Aiptek and Aiptek-like graphical tablets such as Trust on Windows. (#167004, thanks to "pnohant" for testing) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index f18797c160..a4d916a901 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,12 @@ +2005-07-18 Tor Lillqvist + + * gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Be sure to remove + any possible leftover clipping region in the DC if we don't want + any clipping. Thanks to Robert Ă–gren. (#309823) + + * configure.in (GDK_EXTRA_LIBS): [Win32] Bypass libtool, use + -Wl,-luuid. This avoids a libtool warning as libuuid is static. + 2005-07-18 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_set_focus_on_click): Propagate @@ -180,7 +189,7 @@ * configure.in: Check that we have a new enough Cairo. -2005-07-13 Robert Ögren +2005-07-13 Robert Ă–gren Fix handling of Aiptek and Aiptek-like graphical tablets such as Trust on Windows. (#167004, thanks to "pnohant" for testing) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index f18797c160..a4d916a901 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,12 @@ +2005-07-18 Tor Lillqvist + + * gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Be sure to remove + any possible leftover clipping region in the DC if we don't want + any clipping. Thanks to Robert Ă–gren. (#309823) + + * configure.in (GDK_EXTRA_LIBS): [Win32] Bypass libtool, use + -Wl,-luuid. This avoids a libtool warning as libuuid is static. + 2005-07-18 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_set_focus_on_click): Propagate @@ -180,7 +189,7 @@ * configure.in: Check that we have a new enough Cairo. -2005-07-13 Robert Ögren +2005-07-13 Robert Ă–gren Fix handling of Aiptek and Aiptek-like graphical tablets such as Trust on Windows. (#167004, thanks to "pnohant" for testing) diff --git a/configure.in b/configure.in index 3c9b86c20b..c87b44a1e0 100644 --- a/configure.in +++ b/configure.in @@ -1366,7 +1366,7 @@ if test "x$gdktarget" = "xwin32"; then AC_SUBST(GDK_WIN32_EXTRA_CFLAGS) fi - GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS -lgdi32 -user32 -limm32 -lshell32 -lole32 -luuid" + GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS -lgdi32 -user32 -limm32 -lshell32 -lole32 -Wl,-luuid" AM_CONDITIONAL(USE_WIN32, true) else AM_CONDITIONAL(USE_WIN32, false) diff --git a/gdk/win32/gdkgc-win32.c b/gdk/win32/gdkgc-win32.c index f1cc6c3c17..51c927ffaa 100644 --- a/gdk/win32/gdkgc-win32.c +++ b/gdk/win32/gdkgc-win32.c @@ -925,6 +925,8 @@ gdk_win32_hdc_get (GdkDrawable *drawable, win32_gc->values_mask & GDK_GC_CLIP_Y_ORIGIN ? gc->clip_y_origin : 0) == ERROR) WIN32_API_FAILED ("OffsetClipRgn"), ok = FALSE; } + else if (ok) + SelectClipRgn (win32_gc->hdc, NULL); GDK_NOTE (GC, (g_print ("gdk_win32_hdc_get: %p (%s): ", win32_gc, _gdk_win32_gcvalues_mask_to_string (usage)),