A good API for saving window state is probably something like: gtk_window_save_state(GtkWindow *window, const char *window_key);
which would magically know which things to save (including _NET_WM_STATE), would magically save a different state per screen size, etc. There's no way apps will get this right without something on that level... At the same time an API like this punts the hard issue on the gtk level (when are two windows "the same" so state should be restored?) - the app has to provide the same window_key for any two "the same" windows. Havoc _______________________________________________ desktop-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/desktop-devel-list
