mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
Make beeps work again
Yay, beeps !
This commit is contained in:
parent
ca75ead34a
commit
145fdcbb9e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user