Commit 51bc12dd authored by Fabien Tassin's avatar Fabien Tassin Committed by Milan Crha
Browse files

Bug #695193 - Window size resets to default at exit with gtk 3.7.10+

parent 8c903b93
......@@ -178,11 +178,9 @@ window_unmap_cb (GtkWindow *window,
if (data->timeout_id > 0)
g_source_remove (data->timeout_id);
/* It's too late to record the window position.
* gtk_window_get_position() will report (0, 0). */
data->flags &= ~E_RESTORE_WINDOW_POSITION;
window_update_settings (data);
/* Reset the flags so the window position and size are not
* accidentally reverted to their default value at the next run. */
data->flags = 0;
return FALSE;
}
......
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