Fix gdm background drawing
This commit is contained in:
parent
86d572d8ce
commit
61b59fc972
30
gdm-background.patch
Normal file
30
gdm-background.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
|
||||||
|
index 7a000aa..ec36191 100644
|
||||||
|
--- a/gdk/gdkwindow.c
|
||||||
|
+++ b/gdk/gdkwindow.c
|
||||||
|
@@ -5049,7 +5049,7 @@ gdk_window_invalidate_rect (GdkWindow *window,
|
||||||
|
if (GDK_WINDOW_DESTROYED (window))
|
||||||
|
return;
|
||||||
|
|
||||||
|
- if (private->input_only || !private->viewable)
|
||||||
|
+ if (private->input_only || !private->viewable || !GDK_WINDOW_IS_MAPPED (window))
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (!rect)
|
||||||
|
@@ -5135,6 +5135,7 @@ gdk_window_invalidate_maybe_recurse (GdkWindow *window,
|
||||||
|
|
||||||
|
if (private->input_only ||
|
||||||
|
!private->viewable ||
|
||||||
|
+ !GDK_WINDOW_IS_MAPPED (window) ||
|
||||||
|
gdk_region_empty (region))
|
||||||
|
return;
|
||||||
|
|
||||||
|
@@ -7929,7 +7930,7 @@ _gdk_window_calculate_full_clip_region (GdkWindow *window,
|
||||||
|
if (base_y_offset)
|
||||||
|
*base_y_offset = 0;
|
||||||
|
|
||||||
|
- if (!private->viewable || private->input_only)
|
||||||
|
+ if (!private->viewable || !GDK_WINDOW_IS_MAPPED (window) || private->input_only)
|
||||||
|
return gdk_region_new ();
|
||||||
|
|
||||||
|
window_get_size_rectangle (window, &visible_rect);
|
@ -17,7 +17,7 @@
|
|||||||
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
|
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
|
||||||
Name: gtk2
|
Name: gtk2
|
||||||
Version: %{base_version}
|
Version: %{base_version}
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: http://download.gnome.org/sources/gtk+/2.17/gtk+-%{version}.tar.bz2
|
Source: http://download.gnome.org/sources/gtk+/2.17/gtk+-%{version}.tar.bz2
|
||||||
@ -30,6 +30,8 @@ Patch0: gtk+-2.13.5-lib64.patch
|
|||||||
# http://bugzilla.redhat.com/show_bug.cgi?id=478400
|
# http://bugzilla.redhat.com/show_bug.cgi?id=478400
|
||||||
Patch1: default_printer.patch
|
Patch1: default_printer.patch
|
||||||
|
|
||||||
|
Patch2: gdm-background.patch
|
||||||
|
|
||||||
BuildRequires: atk-devel >= %{atk_version}
|
BuildRequires: atk-devel >= %{atk_version}
|
||||||
BuildRequires: pango-devel >= %{pango_version}
|
BuildRequires: pango-devel >= %{pango_version}
|
||||||
BuildRequires: glib2-devel >= %{glib2_version}
|
BuildRequires: glib2-devel >= %{glib2_version}
|
||||||
@ -141,6 +143,7 @@ This package contains developer documentation for the GTK+ widget toolkit.
|
|||||||
|
|
||||||
%patch0 -p1 -b .lib64
|
%patch0 -p1 -b .lib64
|
||||||
%patch1 -p0 -b .default-printer
|
%patch1 -p0 -b .default-printer
|
||||||
|
%patch2 -p1 -b .gdm-background
|
||||||
|
|
||||||
# make sure that gtkmarshalers.{c, h} get regenerated during the build
|
# make sure that gtkmarshalers.{c, h} get regenerated during the build
|
||||||
# - caused by print_authentication.patch
|
# - caused by print_authentication.patch
|
||||||
@ -385,6 +388,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 7 2009 Matthias Clasen <mclasen@redhat.com> - 2.17.6-5
|
||||||
|
- Fix gdm background drawing
|
||||||
|
|
||||||
* Sun Aug 2 2009 Matthias Clasen <mclasen@redhat.com> - 2.17.6-4
|
* Sun Aug 2 2009 Matthias Clasen <mclasen@redhat.com> - 2.17.6-4
|
||||||
- Save some space
|
- Save some space
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user