Revert "add XFlush to g_timeout callbacks" This reverts commit aa3685d16af4a565eecdc39047ee8d140ef5cd99. Mika's commit using a GSource to handle X Events fixes this problem, so this commit is not needed
add XFlush to g_timeout callbacks GMainLoop doesn't cause an flush to occur after handling a timeout.
Use GMainLoop instead of ObtMainLoop
more using g_slice_new() instead of g_new()
Merge branch 'backport' into work
show the kill dialog if something doesn't respond for 6 seconds instead of 3
don't ping everything all the time. yay. ping when you close, and if it doesn't reply then show the kill prompt. also show a more correct prompt for windows connecting from non-local machines - ask to disconnect them from the X server.
don't ping everything all the time. yay. ping when you close, and if it doesn't reply then show the kill prompt. also show a more correct prompt for windows connecting from non-local machines - ask to disconnect them from the X server.
make ob_debug use the g_log system, and make openbox log messages to..a log file ! this will help everyone since most people do not run openbox in a terminal..
make the obt library branch compile again with all the changes merged in from backport
make the ping hash tables work correctly. don't need to stop pinging, it will automatically. and not all windows get pings, even tho we get notified that they are being destroyed
only 1 hash table is needed in ping.c
use hash tables in ping.[ch] instead of a list. we're pinging every window, not just windows youre trying to close, so don't use datastructures that suck with lots of windows..
use unique IDs for pings rather than a timestamp. avoids duplicates.
Various fixes for sparse warnings. Define void functions with (void), not (). Add missing includes. Some functions were declared static but defined non-static. Some variables that should be file static were file global but not used in any other file. prop.h defined a new prop_atoms in each file that included it instead of declaring it extern.
active = FALSE when not active !
fix timers so that they work when theres lots of repeating timers in the queue..
don't let repeating timers, with a very fast timer in the queue, cause the main loop to run the timers forever
rework and comment out some debugging prints
cant consistently tell if we should use WM_DESTROY after the first time they try close a window.. so just kill when "not responding" is showing