Commit 67f83cdb authored by Ondrej Holy's avatar Ondrej Holy

mouse: initialize click state

Fix bad state and critical error caused by reopening mouse test panel in clicked state.

https://bugzilla.gnome.org/show_bug.cgi?id=693803
parent a55000a2
......@@ -340,6 +340,9 @@ gnome_mouse_test_init (GtkBuilder *dialog)
{
mouse_settings = g_settings_new ("org.gnome.settings-daemon.peripherals.mouse");
double_click_state = DOUBLE_CLICK_TEST_OFF;
button_state = 0;
setup_dialog (dialog);
return WID ("mouse_test_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