[gtk+] Make beeps work again
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Make beeps work again
- Date: Sat, 29 Aug 2009 17:08:25 +0000 (UTC)
commit 145fdcbb9e3e17627a1eb62cca1da09222d46ec4
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Aug 29 13:06:04 2009 -0400
Make beeps work again
Yay, beeps !
gdk/gdkwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index fa8e63c..ec9aa56 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -8590,7 +8590,7 @@ gdk_window_beep (GdkWindow *window)
toplevel = get_event_toplevel (window);
display = gdk_drawable_get_display (GDK_DRAWABLE (window));
- if (toplevel && gdk_window_is_offscreen ((GdkWindowObject *)toplevel))
+ if (toplevel && !gdk_window_is_offscreen ((GdkWindowObject *)toplevel))
_gdk_windowing_window_beep (toplevel);
else
gdk_display_beep (display);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]