From 45b9d75a49ca47435fcb12060d71824e3351c06e Mon Sep 17 00:00:00 2001 From: Sasha Vasko <sasha@aftercode.net> Date: Thu, 21 Nov 2013 00:57:59 -0600 Subject: [PATCH 04/18] fixed segfault in print_clean_hints --- libAfterStep/hints.c | 4 ++-- src/afterstep/afterstep.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libAfterStep/hints.c b/libAfterStep/hints.c index 8c5a1654..4d213467 100644 --- a/libAfterStep/hints.c +++ b/libAfterStep/hints.c @@ -2981,9 +2981,9 @@ void print_clean_hints (stream_func func, void *stream, ASHints * clean) if (clean->client_host) func (stream, "CLEAN.client_host = \"%s\";\n", clean->client_host); if (clean->client_cmd) - func (stream, "CLEAN.client_cmd = \"%s\";\n", clean->client_cmd); + func (stream, "CLEAN.client_cmd = \"%s\";\n", clean->client_cmd); - func (stream, "CLEAN.extwm_window_type = \"%s\";\n", clean->extwm_window_type); + func (stream, "CLEAN.extwm_window_type = \"0x%lX\";\n", clean->extwm_window_type); } void diff --git a/src/afterstep/afterstep.c b/src/afterstep/afterstep.c index a724d584..2de0e148 100644 --- a/src/afterstep/afterstep.c +++ b/src/afterstep/afterstep.c @@ -207,7 +207,7 @@ int main (int argc, char **argv, char **envp) show_progress ("AfterStep v.%s is starting up ...", VERSION); display_progress (True, "AfterStep v.%s is starting up ...", VERSION); } - +//sleep_a_millisec(1000); if (ASDBus_fd >= 0) { show_progress ("Successfuly accured Session DBus connection."); GnomeSessionClientID = asdbus_RegisterSMClient (SMClientID_string); -- 2.22.0