Fix build when XKB not found. #354211

2006-09-09  Elijah Newren  <newren gmail com>

	* src/display.c (meta_display_open): Fix build when XKB not found.
	#354211
This commit is contained in:
Elijah Newren 2006-09-10 04:29:14 +00:00 committed by Elijah Newren
parent 555d7dc90c
commit 189c8b9b11
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-09-09 Elijah Newren <newren gmail com>
* src/display.c (meta_display_open): Fix build when XKB not found.
#354211
2006-09-09 Elijah Newren <newren gmail com>
Avoid a stuck grab, preventing focus from being transferred

View File

@ -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;