diff options
author | Benjamin Berg <bberg@redhat.com> | 2017-07-19 16:44:46 +0200 |
---|---|---|
committer | Benjamin Berg <bberg@redhat.com> | 2017-07-19 16:47:20 +0200 |
commit | 723ea607ae49f61b2f23af8c7ea43144e9acfb69 (patch) | |
tree | e11df0fdfc468baaf0915a8f048b404aa407e250 | |
parent | fa3bc86008cfe517dbb05deb4dff0059f3749c95 (diff) | |
download | vte-723ea607ae49f61b2f23af8c7ea43144e9acfb69.tar.gz |
Emit beep on the window instead of the display
This means that in GNOME when enabling visual flash (in a11y) then only
the gnome-terminal frame will flash instead of the whole screen. Having
the whole screen flash is really disrupting and almost all the time the
reason for the flash is e.g. tab completion kicking in.
-rw-r--r-- | src/vte.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4578,8 +4578,8 @@ void VteTerminalPrivate::beep() { if (m_audible_bell) { - GdkDisplay *display = gtk_widget_get_display(m_widget); - gdk_display_beep(display); + GdkWindow *window = gtk_widget_get_window(m_widget); + gdk_window_beep(window); } } |