diff --git a/gtk2.spec b/gtk2.spec index eb3dc5b..7ffe68c 100644 --- a/gtk2.spec +++ b/gtk2.spec @@ -16,7 +16,7 @@ Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X Name: gtk2 Version: %{base_version} -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ Group: System Environment/Libraries Source: http://download.gnome.org/sources/gtk+/2.13/gtk+-%{version}.tar.bz2 @@ -33,6 +33,7 @@ Patch2: workaround.patch # from upstream svn Patch3: color-loop.patch Patch4: flash-swarm.patch +Patch5: screen-size-change.patch BuildRequires: atk-devel >= %{atk_version} BuildRequires: pango-devel >= %{pango_version} @@ -120,6 +121,7 @@ docs for the GTK+ widget toolkit. %patch2 -p1 -b .workaround %patch3 -p1 -b .color-loop %patch4 -p1 -b .flash-swarm +%patch5 -p1 -b .screen-size-change for i in config.guess config.sub ; do test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i . @@ -303,6 +305,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/gtk-2.0 %changelog +* Tue Aug 26 2008 Matthias Clasen - 2.13.7-4 +- Fix an Xrandr bug + * Mon Aug 25 2008 Matthias Clasen - 2.13.7-3 - Fix the "swarm of flash windows" diff --git a/screen-size-change.patch b/screen-size-change.patch new file mode 100644 index 0000000..d4f8bbe --- /dev/null +++ b/screen-size-change.patch @@ -0,0 +1,12 @@ +diff -up gtk+-2.13.7/gdk/x11/gdkscreen-x11.c.screen-size-change gtk+-2.13.7/gdk/x11/gdkscreen-x11.c +--- gtk+-2.13.7/gdk/x11/gdkscreen-x11.c.screen-size-change 2008-08-26 22:19:26.000000000 -0400 ++++ gtk+-2.13.7/gdk/x11/gdkscreen-x11.c 2008-08-26 22:19:42.000000000 -0400 +@@ -985,7 +985,7 @@ _gdk_x11_screen_size_changed (GdkScreen + return; + #endif + +- init_multihead (screen); ++ _gdk_x11_screen_process_monitors_change (screen); + g_signal_emit_by_name (screen, "size_changed"); + } +