From 2d4503ee593dbed1ca3b32729cee427b66103b4d Mon Sep 17 00:00:00 2001 From: Bill Haneman Date: Wed, 11 Jun 2003 17:55:28 +0000 Subject: Fix for 114940. --- src/bell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bell.c b/src/bell.c index 03d31e34..ff01bb5f 100644 --- a/src/bell.c +++ b/src/bell.c @@ -136,7 +136,7 @@ meta_bell_flash_frame (MetaDisplay *display, g_assert (xkb_ev->xkb_type == XkbBellNotify); window = meta_display_lookup_x_window (display, xkb_bell_event->window); - if (!window && (display->focus_window->frame)) + if (!window && (display->focus_window) && (display->focus_window->frame)) { window = display->focus_window; } -- cgit v1.2.1