Make beeps work again

Yay, beeps !
This commit is contained in:
Matthias Clasen 2009-08-29 13:06:04 -04:00
parent ca75ead34a
commit 145fdcbb9e

View File

@ -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);