]> Dogcows Code - chaz/openbox/blobdiff - openbox/session.c
add stacking_below which moves a window to immediately below another window. use...
[chaz/openbox] / openbox / session.c
index e259cf3048af2e6b8b555e37afacc6bd45ce2347..f6314dd2d62462ae8637f586f7432ae2ace558e8 100644 (file)
@@ -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;
 
This page took 0.023977 seconds and 4 git commands to generate.