Commit graph

6494 commits

Author SHA1 Message Date
Dana Jansens
452627a51c Move the main loop out into the libobt 2008-01-20 01:36:54 -05:00
Dana Jansens
fe57b2f2f0 more precise includes 2008-01-20 01:36:54 -05:00
Dana Jansens
b3f0cbf766 split the header up for obt 2008-01-20 01:36:54 -05:00
Dana Jansens
ebce321a72 look mom, I made an openbox toolkit 2008-01-20 01:36:53 -05:00
Dana Jansens
98dda05c4a Merge branch 'backport' 2008-01-20 01:36:43 -05:00
Dana Jansens
2c6240fd2f putenv wants a char*, not a const 2008-01-20 01:36:37 -05:00
Dana Jansens
3ae58f457b Merge branch 'backport' 2008-01-19 23:59:40 -05:00
Inko Illarramendi Arancibia
4b41ac8343 Update Basque translation. 2008-01-19 14:36:42 +01:00
Shaodong Di
9366b6dba5 Update simplified chinese translation. 2008-01-18 15:49:04 +01:00
Lauri Hakko
eb8f730add Update finnish translation. 2008-01-18 15:49:01 +01:00
Quan Tran
42db0715af Update vietnamese translation. 2008-01-17 23:11:12 +01:00
Cyrille Bagard
bf6387e48f Update french translation. 2008-01-17 23:11:08 +01:00
Finn Zirngibl
47bc5f823f Update german translation. 2008-01-17 23:11:03 +01:00
Mikael Magnusson
dffa95184f Some .c files that had translatable strings were not in POTFILES.in.
Swedish translation is updated with all new strings.
2008-01-17 22:20:53 +01:00
Lauri Hakko
b78dd38820 Fixes to finnish translation. 2008-01-17 22:02:29 +01:00
Mikael Magnusson
d3c1117fb4 Remove leftover config_four_corners from config.c. 2008-01-17 01:26:15 +01:00
Dana Jansens
cccc57fdb0 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 2008-01-16 19:21:42 -05:00
Dana Jansens
7630f66035 only 1 hash table is needed in ping.c 2008-01-16 18:53:15 -05:00
Dana Jansens
299687110d 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.. 2008-01-16 18:44:22 -05:00
Dana Jansens
2ee4251092 use unique IDs for pings rather than a timestamp. avoids duplicates. 2008-01-16 18:16:49 -05:00
Dana Jansens
9e18dbe0ee friendly check for the timer's delay being > 0 2008-01-16 10:31:12 -05:00
Mikael Magnusson
0be98fee47 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.
2008-01-16 15:35:25 +01:00
Dana Jansens
cafba3acf3 active = FALSE when not active ! 2008-01-16 01:16:47 -05:00
Dana Jansens
ff78d28f8b fix timers so that they work when theres lots of repeating timers in the queue.. 2008-01-16 00:54:17 -05:00
Dana Jansens
ba6dcc15f8 add the new pid and ping atoms to the NET_SUPPORTED list 2008-01-16 00:24:56 -05:00
Dana Jansens
cfc8101333 don't let repeating timers, with a very fast timer in the queue, cause the main loop to run the timers forever 2008-01-15 23:28:30 -05:00
Dana Jansens
7bd8e97fbb rework and comment out some debugging prints 2008-01-15 22:56:37 -05:00
Dana Jansens
053558dc5f add a comment 2008-01-15 22:53:05 -05:00
Dana Jansens
f9f32d9fba 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 2008-01-15 22:51:04 -05:00
Dana Jansens
d5c824cfd4 only ping windows that we need to 2008-01-15 22:36:45 -05:00
Dana Jansens
810afd8597 ping all the windows every 3 seconds, and show "not responding" if they stop replying for 3 times (9-12 seconds). show [Killing...] in the titlebar when trying to kill an app off 2008-01-15 22:34:04 -05:00
Dana Jansens
dbce9ee243 its possible we did kill -TERM and it stayed alive and started responding again, so handle that case 2008-01-15 22:15:45 -05:00
Dana Jansens
e6d33facc8 when you close an app and it stops responding.. if you hit close again, it will try kill -TERM. if that fails and you close again, it will kill -9 ! (assuming the app is running on the local host and provided its PID) 2008-01-15 22:13:16 -05:00
Dana Jansens
07994cb2dc when you close a window that you already tried to close and its not responding to pings, then do a kill the next time 2008-01-15 22:00:21 -05:00
Dana Jansens
d3e9fc8941 show [Not Responding] in the titlebar when closing an app and it stops responding to pings 2008-01-15 21:57:47 -05:00
Dana Jansens
fb7a71da20 can tell when a window that was "closed" has stopped responding now 2008-01-15 21:43:23 -05:00
Dana Jansens
d790dc162d check if a client will respond to pings 2008-01-15 20:48:28 -05:00
Dana Jansens
2b5d4b6997 the inner border's corners weren't having events handled on them correctly, which was messing with resizing. yay akk for finding this. 2008-01-15 20:33:56 -05:00
Dana Jansens
d122c973ca fix the context given off by the borders in the br corner 2008-01-16 02:08:42 +01:00
Dana Jansens
26f34d3ba0 resizing was defaulting to the topleft corner instead of to the auto-ness or something.. 2008-01-16 02:08:42 +01:00
Dana Jansens
ed51baa958 remove the visible window title hints when unmanaging a window. not all WMs set those and it messes them up, and we'll set them again appropriately, they don't need to be saved. 2008-01-16 02:08:42 +01:00
Mikael Magnusson
28971b82f5 Add --exit translation to de.po. 2008-01-13 12:50:25 +01:00
Dana Jansens
6dfc3c726a don't skip windows that are skip_taskbar unless they are normal typed.. i.e. if a dialog sets this don't skip it (gnome shutdown/logout dialogs don't get focused otherwise in arch linux) 2008-01-13 03:40:14 -05:00
Dana Jansens
5148b839fe sync when killing all keyboard grabs, so that we can be sure they are gone before proceeding (fixes a race condition when running things that want to grab the keyboard very quickly. yes, arch is that fast somehow..) 2008-01-13 02:50:34 -05:00
Dana Jansens
1e6e2041bf update the icon to the pretty one by david barr 2008-01-12 18:25:22 -05:00
Mikael Magnusson
64905704e9 Update --version output copyright year to 2008. 2008-01-12 23:07:34 +01:00
Dana Jansens
df73dfa049 make the dock's hiding always have at least 1px on screen 2008-01-12 16:17:22 -05:00
Dana Jansens
32c3a97f2e fix a copy/paste bug in placing the move&resize popup 2008-01-12 13:31:46 -05:00
Dana Jansens
669c7655be since the internal windows are in window_map now, it's possible we'll get them back when we check what window an event happened on. so don't abort if that happens anymore. 2008-01-11 23:16:06 -05:00
Dana Jansens
fe11937661 Merge commit 'mika/backport' into backport 2008-01-11 21:44:23 -05:00