diff options
author | Henrik Brautaset Aronsen <subsurface@henrik.synth.no> | 2013-02-12 13:03:24 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-28 15:39:49 -0800 |
commit | b24d0f2f60fc8a7c0bbe2cf4ceac584f9ef24878 (patch) | |
tree | dc732dbf33a0910706bf11171445c008c5884367 /gtk-gui.c | |
parent | d742d7b391fb1e28e784161368689b05af791b71 (diff) | |
download | subsurface-b24d0f2f60fc8a7c0bbe2cf4ceac584f9ef24878.tar.gz |
Add MacOS support to window geometry save/restore
Also make sure the config is flushed to disk.
Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r-- | gtk-gui.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -326,6 +326,8 @@ void save_window_geometry(void) gtk_window_get_size(GTK_WINDOW (main_window), &window_width, &window_height); subsurface_set_conf_int("window_width", window_width); subsurface_set_conf_int("window_height", window_height); + + subsurface_flush_conf(); } void restore_window_geometry(void) |