Commit 3b9ec3ce authored by Elijah Newren's avatar Elijah Newren Committed by Elijah Newren
Browse files

Fix some uninitialized variable errors reported by valgrind (see #153338)

2004-09-22  Elijah Newren  <newren@math.utah.edu>

	Fix some uninitialized variable errors reported by valgrind (see
	#153338)

	* src/display.c (meta_display_open): initialize
	display->grab_resize_timeout_id, and display->grab_have_keyboard

	* src/ui.c (meta_ui_create_frame_window): initialize attrs.width
	and attrs.height
parent aa63e088
2004-09-22 Elijah Newren <newren@math.utah.edu>
Fix some uninitialized variable errors reported by valgrind (see
#153338)
* src/display.c (meta_display_open): initialize
display->grab_resize_timeout_id, and display->grab_have_keyboard
* src/ui.c (meta_ui_create_frame_window): initialize attrs.width
and attrs.height
2004-09-17 Elijah Newren <newren@math.utah.edu>
* src/workspace.c (meta_workspace_focus_mru_window): Don't focus a
......
......@@ -501,6 +501,9 @@ meta_display_open (const char *name)
display->current_time = CurrentTime;
display->sentinel_counter = 0;
display->grab_resize_timeout_id = 0;
display->grab_have_keyboard = FALSE;
display->grab_op = META_GRAB_OP_NONE;
display->grab_wireframe_active = FALSE;
......
......@@ -219,6 +219,9 @@ meta_ui_create_frame_window (MetaUI *ui,
attrs.wmclass_class = NULL;
attrs.override_redirect = FALSE;
attrs.width = width;
attrs.height = height;
attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP;
window =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment