diff options
Diffstat (limited to 'gdk/x11/gdksurface-x11.c')
-rw-r--r-- | gdk/x11/gdksurface-x11.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/x11/gdksurface-x11.c b/gdk/x11/gdksurface-x11.c index 210f584d64..aeaca9c0f9 100644 --- a/gdk/x11/gdksurface-x11.c +++ b/gdk/x11/gdksurface-x11.c @@ -4542,6 +4542,9 @@ gdk_x11_surface_beep (GdkSurface *surface) display = GDK_SURFACE_DISPLAY (surface); + if (!GDK_X11_DISPLAY (display)->trusted_client) + return FALSE; + #ifdef HAVE_XKB if (GDK_X11_DISPLAY (display)->use_xkb) { |