fix the bell
This commit is contained in:
parent
2f6aea0193
commit
ed2716f2cb
12
gtk-bell.patch
Normal file
12
gtk-bell.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up gtk+-2.17.11/gdk/x11/gdkdisplay-x11.c.bell gtk+-2.17.11/gdk/x11/gdkdisplay-x11.c
|
||||||
|
--- gtk+-2.17.11/gdk/x11/gdkdisplay-x11.c.bell 2009-09-13 23:20:20.540275068 -0400
|
||||||
|
+++ gtk+-2.17.11/gdk/x11/gdkdisplay-x11.c 2009-09-13 23:20:39.649290396 -0400
|
||||||
|
@@ -691,7 +691,7 @@ gdk_display_beep (GdkDisplay *display)
|
||||||
|
{
|
||||||
|
g_return_if_fail (GDK_IS_DISPLAY (display));
|
||||||
|
|
||||||
|
- XBell (GDK_DISPLAY_XDISPLAY (display), 0);
|
||||||
|
+ XkbBell (GDK_DISPLAY_XDISPLAY (display), None, 0, None);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
@ -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: 2%{?dist}
|
Release: 3%{?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
|
||||||
@ -31,6 +31,7 @@ Patch0: gtk+-2.13.5-lib64.patch
|
|||||||
# from upstream
|
# from upstream
|
||||||
Patch1: gtk2-fix-install.patch
|
Patch1: gtk2-fix-install.patch
|
||||||
Patch2: root-event-mask.patch
|
Patch2: root-event-mask.patch
|
||||||
|
Patch3: gtk-bell.patch
|
||||||
|
|
||||||
BuildRequires: atk-devel >= %{atk_version}
|
BuildRequires: atk-devel >= %{atk_version}
|
||||||
BuildRequires: pango-devel >= %{pango_version}
|
BuildRequires: pango-devel >= %{pango_version}
|
||||||
@ -144,6 +145,7 @@ This package contains developer documentation for the GTK+ widget toolkit.
|
|||||||
%patch0 -p1 -b .lib64
|
%patch0 -p1 -b .lib64
|
||||||
%patch1 -p1 -b .fix-install
|
%patch1 -p1 -b .fix-install
|
||||||
%patch2 -p1 -b .root-event-mask
|
%patch2 -p1 -b .root-event-mask
|
||||||
|
%patch3 -p1 -b .bell
|
||||||
|
|
||||||
# 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 +387,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Sep 13 2009 Matthias Clasen <mclasen@redhat.com> - 2.17.11-3
|
||||||
|
- Fix the bell
|
||||||
|
|
||||||
* Sun Sep 6 2009 Matthias Clasen <mclasen@redhat.com> - 2.17.11-2
|
* Sun Sep 6 2009 Matthias Clasen <mclasen@redhat.com> - 2.17.11-2
|
||||||
- Fix the initial event mask for the root window (#521137)
|
- Fix the initial event mask for the root window (#521137)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user