X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fsession.c;h=f6314dd2d62462ae8637f586f7432ae2ace558e8;hb=62f1473c651a564391e53548e0cb7daa5303776d;hp=e259cf3048af2e6b8b555e37afacc6bd45ce2347;hpb=e75ad73c0f8cf1a327a57284bcb4c2cc261d279f;p=chaz%2Fopenbox diff --git a/openbox/session.c b/openbox/session.c index e259cf30..f6314dd2 100644 --- a/openbox/session.c +++ b/openbox/session.c @@ -2,10 +2,13 @@ #ifndef USE_SM +#include "session.h" +#include "client.h" + void session_load(char *path) {} void session_startup(int argc, char **argv) {} void session_shutdown() {} -ObSessionState* session_state_find(struct _ObClient *c) { return NULL; } +ObSessionState* session_state_find(ObClient *c) { return NULL; } void session_state_free(ObSessionState *state) {} #else @@ -419,8 +422,6 @@ void session_load(char *path) xmlNodePtr node, n; gchar *sm_id; - g_message("loading session from %s", path); - if (!parse_load(path, "openbox_session", &doc, &node)) return; @@ -480,10 +481,7 @@ void session_load(char *path) state->max_vert = parse_find_node("max_vert", node->xmlChildrenNode) != NULL; - g_message("read session window %s", state->name); - /* save this */ - g_message("saved state for %s %s", state->name, state->id); sm_saved_state = g_slist_prepend(sm_saved_state, state); goto session_load_ok;