summaryrefslogtreecommitdiff
path: root/openbox/debug.c
AgeCommit message (Collapse)Author
2011-10-06Don't show prompts inside the message handler to prevent recursionDana Jansens
Showing prompts causes messages to be created which causes the glib message handler to abort(). Save the messages and show them when done all other processing for the current event.
2011-08-01Fix some translation string markingsMikael Magnusson
2010-01-14if openbox isn't running, show messages on the console rather than just ↵Dana Jansens
losing them (like when another WM is running)
2009-11-07Make clang happierMikael Magnusson
Add asserts to default: in switch statements Store pointed to variables locally so it knows they don't change Remove some dead assignments Mark ob_exit_with_error as noreturn Use "%s", msg instead of just msg to printf style functions Use the c_pfocus variable
2008-11-15Another problem pointed out by clangMikael Magnusson
Using format specifiers without arguments in printf is still bad. openbox/debug.c:105:18: warning: format string is not a string literal (potentially insecure) fprintf(out, log_domain); ^~~~~~~~~~ openbox/debug.c:107:18: warning: format string is not a string literal (potentially insecure) fprintf(out, level); ^~~~~ openbox/debug.c:109:18: warning: format string is not a string literal (potentially insecure) fprintf(out, message); ^~~~~~~
2008-03-02Merge branch 'backport' into workDana Jansens
Conflicts: openbox/actions/execute.c openbox/event.c openbox/openbox.c openbox/openbox.h
2008-03-02show prompts when printing error messagesDana Jansens
2008-02-02missing includeDana Jansens
2008-01-31unlink the log file when opening it so you get a new fileDana Jansens
2008-01-31Fix a memleak. (unref ObtPaths)Mikael Magnusson
2008-01-31make ob_debug use the g_log system, and make openbox log messages to..a log ↵Dana Jansens
file ! this will help everyone since most people do not run openbox in a terminal..
2007-05-06refactor all the session stuff. yay, it works properly now.Dana Jansens
make sessions save the desktop being displayed. can we get rid of config_firstdesk now? refactor startup a bit. focus the window that was focused when we were restarted. have clients properly restore their session state. add undecorated to the saved session state for clients.
2007-05-05some changes to ConfigureRequest, based on what I found in FVWM.Dana Jansens
fix those stupid applications from moving accross the screen by the size of their decorations.
2007-04-21hide focus debugging messagesDana Jansens
2007-03-18use const char*'s when we should beDana Jansens
2003-10-15consistant glib type usageDana Jansens
2003-10-15va_start needs va_endDana Jansens
2003-09-17no tabsDana Jansens
2003-09-17add copyright headers, adjust --version output to include copyright, and ↵Dana Jansens
--help output to not include version output.
2003-07-10add ob_debug for printing stuff only when debug is enabledDana Jansens