X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fsession.c;h=f6314dd2d62462ae8637f586f7432ae2ace558e8;hb=bfd20c7a847cb70038381d06a0cbe7d003069d28;hp=6e4c07d213bb5727cd11132bd2d820613e352cf1;hpb=d9cc4f65221ff3a77218ea7527f82d17810c8a2e;p=chaz%2Fopenbox diff --git a/openbox/session.c b/openbox/session.c index 6e4c07d2..f6314dd2 100644 --- a/openbox/session.c +++ b/openbox/session.c @@ -2,9 +2,14 @@ #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(ObClient *c) { return NULL; } +void session_state_free(ObSessionState *state) {} #else @@ -417,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; @@ -478,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;