From 189c8b9b11363815da870c0f08211f3dfb38b9a2 Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Sun, 10 Sep 2006 04:29:14 +0000 Subject: [PATCH] Fix build when XKB not found. #354211 2006-09-09 Elijah Newren * src/display.c (meta_display_open): Fix build when XKB not found. #354211 --- ChangeLog | 5 +++++ src/display.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index b66079ed5..a927b34c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-09-09 Elijah Newren + + * src/display.c (meta_display_open): Fix build when XKB not found. + #354211 + 2006-09-09 Elijah Newren Avoid a stuck grab, preventing focus from being transferred diff --git a/src/display.c b/src/display.c index 7a93c3be4..8a483f02c 100644 --- a/src/display.c +++ b/src/display.c @@ -540,7 +540,9 @@ meta_display_open (void) display->grab_resize_timeout_id = 0; display->grab_have_keyboard = FALSE; +#ifdef HAVE_XKB display->last_bell_time = 0; +#endif display->grab_op = META_GRAB_OP_NONE; display->grab_wireframe_active = FALSE;