From d742d7b391fb1e28e784161368689b05af791b71 Mon Sep 17 00:00:00 2001 From: Amit Chaudhuri Date: Tue, 12 Feb 2013 13:03:23 +0100 Subject: Remember window size This commit has gone through a few iterations and I trimmed it down to what I consider the "conservative minimum" - so this only stores window size, not window position. And in my mind that's the more relevant part, anyway. Have your window manager position the window at a "smart" spot on your screen... Signed-off-by: Amit Chaudhuri Signed-off-by: Henrik Brautaset Aronsen Signed-off-by: Dirk Hohndel --- pref.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pref.h') diff --git a/pref.h b/pref.h index 7dd0e5af4..c4287aa3b 100644 --- a/pref.h +++ b/pref.h @@ -44,9 +44,11 @@ extern struct preferences prefs, default_prefs; extern void subsurface_open_conf(void); extern void subsurface_set_conf(char *name, const char *value); extern void subsurface_set_conf_bool(char *name, gboolean value); +extern void subsurface_set_conf_int(char *name, int value); extern void subsurface_unset_conf(char *name); extern const void *subsurface_get_conf(char *name); extern int subsurface_get_conf_bool(char *name); +extern int subsurface_get_conf_int(char *name); extern void subsurface_flush_conf(void); extern void subsurface_close_conf(void); -- cgit v1.2.3-70-g09d2