dana/openbox.git
11 years agoput openbox saved sessions in CACHE_HOME not DATA_HOME. more correct! i think.
Dana Jansens [Sun, 20 Jan 2008 17:48:11 +0000 (12:48 -0500)]
put openbox saved sessions in CACHE_HOME not DATA_HOME.  more correct! i think.

11 years agosimplify window.h macros, and rename the window types to ObWindowClass for consistent...
Dana Jansens [Thu, 31 Jan 2008 15:00:10 +0000 (10:00 -0500)]
simplify window.h macros, and rename the window types to ObWindowClass for consistent name style

11 years agomake an obt_root() macro
Dana Jansens [Thu, 31 Jan 2008 14:56:59 +0000 (09:56 -0500)]
make an obt_root() macro

11 years agoxerror.c is gone
Dana Jansens [Sun, 20 Jan 2008 16:27:35 +0000 (11:27 -0500)]
xerror.c is gone

11 years agoits OBT_VERSION not OB_VERSION anymore
Dana Jansens [Sun, 20 Jan 2008 16:26:32 +0000 (11:26 -0500)]
its OBT_VERSION not OB_VERSION anymore

11 years agoadd support for XDG_CACHE_HOME to the obt paths
Dana Jansens [Sun, 20 Jan 2008 15:29:09 +0000 (10:29 -0500)]
add support for XDG_CACHE_HOME to the obt paths

11 years agomake menu event handling work more like how other events are handled, less special...
Dana Jansens [Sun, 20 Jan 2008 08:33:51 +0000 (03:33 -0500)]
make menu event handling work more like how other events are handled, less special-casey

11 years agouse -ggdb not -g3, as g3 breaks things
Dana Jansens [Sun, 20 Jan 2008 08:19:20 +0000 (03:19 -0500)]
use -ggdb not -g3, as g3 breaks things

11 years agomake the window.h interface more consistent with the rest of openbox, hide the window...
Dana Jansens [Sun, 20 Jan 2008 07:56:12 +0000 (02:56 -0500)]
make the window.h interface more consistent with the rest of openbox, hide the window_map behind some functions, and make obdockapps not obwindows anymore

11 years agomake the obt library branch compile again with all the changes merged in from backport
Dana Jansens [Sun, 20 Jan 2008 06:34:58 +0000 (01:34 -0500)]
make the obt library branch compile again with all the changes merged in from backport

11 years agolet you make an xevent listener for all windows
Dana Jansens [Sat, 28 Jul 2007 20:14:57 +0000 (16:14 -0400)]
let you make an xevent listener for all windows

11 years agomake the xevent stuff work for events from extensions (these go beyond LASTEvent)
Dana Jansens [Sat, 28 Jul 2007 20:10:31 +0000 (16:10 -0400)]
make the xevent stuff work for events from extensions (these go beyond LASTEvent)

11 years agoadd the xevent callback system to libobt in xevent.[ch]
Dana Jansens [Sat, 28 Jul 2007 20:01:21 +0000 (16:01 -0400)]
add the xevent callback system to libobt in xevent.[ch]

11 years agomake the mainloop not depend on an X display, and make it uses the obt_display automa...
Dana Jansens [Sat, 28 Jul 2007 19:38:29 +0000 (15:38 -0400)]
make the mainloop not depend on an X display, and make it uses the obt_display automatically

11 years agoinitialize the lists to NULL (empty)
Dana Jansens [Sat, 28 Jul 2007 19:38:02 +0000 (15:38 -0400)]
initialize the lists to NULL (empty)

11 years agomove the xdg path stuff into obt/paths.[ch], and make render and openbox use it
Dana Jansens [Sat, 28 Jul 2007 15:38:53 +0000 (11:38 -0400)]
move the xdg path stuff into obt/paths.[ch], and make render and openbox use it

11 years agosmall api change for parsing
Dana Jansens [Sat, 28 Jul 2007 14:56:21 +0000 (10:56 -0400)]
small api change for parsing

11 years agowas using random memory for parsing pipe menus with the new parse api
Dana Jansens [Sat, 28 Jul 2007 14:44:55 +0000 (10:44 -0400)]
was using random memory for parsing pipe menus with the new parse api

11 years agofix constness
Dana Jansens [Fri, 27 Jul 2007 05:44:12 +0000 (01:44 -0400)]
fix constness

11 years agos/xmlChildrenNode/children/
Dana Jansens [Fri, 27 Jul 2007 05:42:37 +0000 (01:42 -0400)]
s/xmlChildrenNode/children/

11 years agoadd obt_parse_tree_from_root and use it, cuz it's nice
Dana Jansens [Fri, 27 Jul 2007 05:40:30 +0000 (01:40 -0400)]
add obt_parse_tree_from_root and use it, cuz it's nice

11 years agoupdate openbox to use the current parser interface in libobt
Dana Jansens [Fri, 27 Jul 2007 05:37:28 +0000 (01:37 -0400)]
update openbox to use the current parser interface in libobt

there is also some random bug fixes for other libobt stuff in here.

11 years agoadd parsing to libobt with a new API! (it is not completely changed/fixedup yet)
Dana Jansens [Fri, 27 Jul 2007 03:48:53 +0000 (23:48 -0400)]
add parsing to libobt with a new API! (it is not completely changed/fixedup yet)

11 years agochange openbox to use the libotk's keyboard.[ch] stuff instead of the old modkeys...
Dana Jansens [Fri, 27 Jul 2007 02:05:53 +0000 (22:05 -0400)]
change openbox to use the libotk's keyboard.[ch] stuff instead of the old modkeys.[ch] and some of translate.[ch]

11 years agoadd keyboard.[ch] to libobt. these are for tracking modifier keys, and translating...
Dana Jansens [Fri, 27 Jul 2007 01:56:42 +0000 (21:56 -0400)]
add keyboard.[ch] to libobt. these are for tracking modifier keys, and translating to/from keycodes/keysyms/modmasks (also include a new obt/internal.h for putting functions that are not public)

11 years agoadd functions for setting locale strings (on top of existing functions for setting...
Dana Jansens [Fri, 27 Jul 2007 01:40:47 +0000 (21:40 -0400)]
add functions for setting locale strings (on top of existing functions for setting utf8 strings). they are untested though! wonder if they work?

11 years agoignore the new 4.0 pkgconfig files
Dana Jansens [Fri, 27 Jul 2007 01:12:35 +0000 (21:12 -0400)]
ignore the new 4.0 pkgconfig files

11 years agomake openbox use the obt prop.c/h stuff
Dana Jansens [Fri, 27 Jul 2007 01:11:59 +0000 (21:11 -0400)]
make openbox use the obt prop.c/h stuff

holy search and replace batman

11 years agos/ob_display/obt_display/ and remove ob_display
Dana Jansens [Fri, 27 Jul 2007 00:12:39 +0000 (20:12 -0400)]
s/ob_display/obt_display/ and remove ob_display

11 years agoadd prop.[ch] to the libobt, but they are not used yet. add a global obt_display...
Dana Jansens [Fri, 27 Jul 2007 00:03:31 +0000 (20:03 -0400)]
add prop.[ch] to the libobt, but they are not used yet. add a global obt_display which obt can use, and the application.

11 years agosetup versioning for libotk that is separate from libobrender (and libobparser for...
Dana Jansens [Thu, 26 Jul 2007 09:21:12 +0000 (05:21 -0400)]
setup versioning for libotk that is separate from libobrender (and libobparser for now), and bump library versions up to 4.0.

also make the render versioning more explicit that it's for the render library not all of openbox

11 years agomove the code for tracking what extensions are available on the display into the...
Dana Jansens [Tue, 24 Jul 2007 01:32:31 +0000 (21:32 -0400)]
move the code for tracking what extensions are available on the display into the libobt

11 years agoadd G_BEGIN/END_DECLS to the mainloop header
Dana Jansens [Tue, 24 Jul 2007 01:05:50 +0000 (21:05 -0400)]
add G_BEGIN/END_DECLS to the mainloop header

11 years agomove the xerror handling into the libobt
Dana Jansens [Tue, 24 Jul 2007 00:55:19 +0000 (20:55 -0400)]
move the xerror handling into the libobt

11 years agoMove the main loop out into the libobt
Dana Jansens [Tue, 24 Jul 2007 00:22:28 +0000 (20:22 -0400)]
Move the main loop out into the libobt

11 years agomore precise includes
Dana Jansens [Mon, 23 Jul 2007 21:52:29 +0000 (17:52 -0400)]
more precise includes

11 years agosplit the header up for obt
Dana Jansens [Mon, 23 Jul 2007 21:51:54 +0000 (17:51 -0400)]
split the header up for obt

11 years agolook mom, I made an openbox toolkit
Dana Jansens [Mon, 23 Jul 2007 21:42:08 +0000 (17:42 -0400)]
look mom, I made an openbox toolkit

11 years agoMerge branch 'backport'
Dana Jansens [Sun, 20 Jan 2008 06:36:43 +0000 (01:36 -0500)]
Merge branch 'backport'

11 years agoputenv wants a char*, not a const
Dana Jansens [Sun, 20 Jan 2008 06:36:37 +0000 (01:36 -0500)]
putenv wants a char*, not a const

11 years agoMerge branch 'backport'
Dana Jansens [Sun, 20 Jan 2008 04:59:40 +0000 (23:59 -0500)]
Merge branch 'backport'

11 years agoUpdate Basque translation.
Inko Illarramendi Arancibia [Sat, 19 Jan 2008 13:36:42 +0000 (14:36 +0100)]
Update Basque translation.

11 years agoUpdate simplified chinese translation.
Shaodong Di [Fri, 18 Jan 2008 14:04:50 +0000 (15:04 +0100)]
Update simplified chinese translation.

11 years agoUpdate finnish translation.
Lauri Hakko [Thu, 17 Jan 2008 22:14:22 +0000 (23:14 +0100)]
Update finnish translation.

11 years agoUpdate vietnamese translation.
Quan Tran [Thu, 17 Jan 2008 22:10:36 +0000 (23:10 +0100)]
Update vietnamese translation.

11 years agoUpdate french translation.
Cyrille Bagard [Thu, 17 Jan 2008 21:55:01 +0000 (22:55 +0100)]
Update french translation.

11 years agoUpdate german translation.
Finn Zirngibl [Thu, 17 Jan 2008 21:51:17 +0000 (22:51 +0100)]
Update german translation.

11 years agoSome .c files that had translatable strings were not in POTFILES.in.
Mikael Magnusson [Thu, 17 Jan 2008 21:20:53 +0000 (22:20 +0100)]
Some .c files that had translatable strings were not in POTFILES.in.

Swedish translation is updated with all new strings.

11 years agoFixes to finnish translation.
Lauri Hakko [Thu, 17 Jan 2008 21:02:29 +0000 (22:02 +0100)]
Fixes to finnish translation.

11 years agoRemove leftover config_four_corners from config.c.
Mikael Magnusson [Wed, 16 Jan 2008 14:58:24 +0000 (15:58 +0100)]
Remove leftover config_four_corners from config.c.

11 years agomake the ping hash tables work correctly. don't need to stop pinging, it will automa...
Dana Jansens [Thu, 17 Jan 2008 00:21:42 +0000 (19:21 -0500)]
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

11 years agoonly 1 hash table is needed in ping.c
Dana Jansens [Wed, 16 Jan 2008 23:53:15 +0000 (18:53 -0500)]
only 1 hash table is needed in ping.c

11 years agouse hash tables in ping.[ch] instead of a list. we're pinging every window, not just...
Dana Jansens [Wed, 16 Jan 2008 23:44:22 +0000 (18:44 -0500)]
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..

11 years agouse unique IDs for pings rather than a timestamp. avoids duplicates.
Dana Jansens [Wed, 16 Jan 2008 23:16:49 +0000 (18:16 -0500)]
use unique IDs for pings rather than a timestamp.  avoids duplicates.

11 years agofriendly check for the timer's delay being > 0
Dana Jansens [Wed, 16 Jan 2008 15:31:12 +0000 (10:31 -0500)]
friendly check for the timer's delay being > 0

11 years agoVarious fixes for sparse warnings.
Mikael Magnusson [Wed, 16 Jan 2008 14:25:08 +0000 (15:25 +0100)]
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.

11 years agoactive = FALSE when not active !
Dana Jansens [Wed, 16 Jan 2008 06:16:47 +0000 (01:16 -0500)]
active = FALSE when not active !

11 years agofix timers so that they work when theres lots of repeating timers in the queue..
Dana Jansens [Wed, 16 Jan 2008 05:54:17 +0000 (00:54 -0500)]
fix timers so that they work when theres lots of repeating timers in the queue..

11 years agoadd the new pid and ping atoms to the NET_SUPPORTED list
Dana Jansens [Wed, 16 Jan 2008 05:24:56 +0000 (00:24 -0500)]
add the new pid and ping atoms to the NET_SUPPORTED list

11 years agodon't let repeating timers, with a very fast timer in the queue, cause the main loop...
Dana Jansens [Wed, 16 Jan 2008 04:28:30 +0000 (23:28 -0500)]
don't let repeating timers, with a very fast timer in the queue, cause the main loop to run the timers forever

11 years agorework and comment out some debugging prints
Dana Jansens [Wed, 16 Jan 2008 03:56:24 +0000 (22:56 -0500)]
rework and comment out some debugging prints

11 years agoadd a comment
Dana Jansens [Wed, 16 Jan 2008 03:53:05 +0000 (22:53 -0500)]
add a comment

11 years agocant consistently tell if we should use WM_DESTROY after the first time they try...
Dana Jansens [Wed, 16 Jan 2008 03:51:04 +0000 (22:51 -0500)]
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

11 years agoonly ping windows that we need to
Dana Jansens [Wed, 16 Jan 2008 03:36:45 +0000 (22:36 -0500)]
only ping windows that we need to

11 years agoping all the windows every 3 seconds, and show "not responding" if they stop replying...
Dana Jansens [Wed, 16 Jan 2008 03:34:04 +0000 (22:34 -0500)]
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

11 years agoits possible we did kill -TERM and it stayed alive and started responding again,...
Dana Jansens [Wed, 16 Jan 2008 03:15:45 +0000 (22:15 -0500)]
its possible we did kill -TERM and it stayed alive and started responding again, so handle that case

11 years agowhen you close an app and it stops responding.. if you hit close again, it will...
Dana Jansens [Wed, 16 Jan 2008 03:13:16 +0000 (22:13 -0500)]
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)

11 years agowhen you close a window that you already tried to close and its not responding to...
Dana Jansens [Wed, 16 Jan 2008 03:00:21 +0000 (22:00 -0500)]
when you close a window that you already tried to close and its not responding to pings, then do a kill the next time

11 years agoshow [Not Responding] in the titlebar when closing an app and it stops responding...
Dana Jansens [Wed, 16 Jan 2008 02:57:47 +0000 (21:57 -0500)]
show [Not Responding] in the titlebar when closing an app and it stops responding to pings

11 years agocan tell when a window that was "closed" has stopped responding now
Dana Jansens [Wed, 16 Jan 2008 02:40:15 +0000 (21:40 -0500)]
can tell when a window that was "closed" has stopped responding now

11 years agocheck if a client will respond to pings
Dana Jansens [Wed, 16 Jan 2008 01:48:28 +0000 (20:48 -0500)]
check if a client will respond to pings

11 years agothe inner border's corners weren't having events handled on them correctly, which...
Dana Jansens [Wed, 16 Jan 2008 01:33:56 +0000 (20:33 -0500)]
the inner border's corners weren't having events handled on them correctly, which was messing with resizing.  yay akk for finding this.

11 years agofix the context given off by the borders in the br corner
Dana Jansens [Wed, 16 Jan 2008 01:00:08 +0000 (20:00 -0500)]
fix the context given off by the borders in the br corner

11 years agoresizing was defaulting to the topleft corner instead of to the auto-ness or something..
Dana Jansens [Wed, 16 Jan 2008 00:54:30 +0000 (19:54 -0500)]
resizing was defaulting to the topleft corner instead of to the auto-ness or something..

11 years agoremove the visible window title hints when unmanaging a window. not all WMs set...
Dana Jansens [Wed, 16 Jan 2008 00:36:36 +0000 (19:36 -0500)]
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.

11 years agoAdd --exit translation to de.po.
Mikael Magnusson [Sat, 12 Jan 2008 23:45:09 +0000 (00:45 +0100)]
Add --exit translation to de.po.

11 years agodon't skip windows that are skip_taskbar unless they are normal typed.. i.e. if a...
Dana Jansens [Sun, 13 Jan 2008 08:40:14 +0000 (03:40 -0500)]
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)

11 years agosync when killing all keyboard grabs, so that we can be sure they are gone before...
Dana Jansens [Sun, 13 Jan 2008 07:50:34 +0000 (02:50 -0500)]
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..)

11 years agoupdate the icon to the pretty one by david barr
Dana Jansens [Sat, 12 Jan 2008 23:25:22 +0000 (18:25 -0500)]
update the icon to the pretty one by david barr

11 years agoUpdate --version output copyright year to 2008.
Mikael Magnusson [Sat, 12 Jan 2008 17:36:49 +0000 (18:36 +0100)]
Update --version output copyright year to 2008.

11 years agomake the dock's hiding always have at least 1px on screen
Dana Jansens [Sat, 12 Jan 2008 21:15:45 +0000 (16:15 -0500)]
make the dock's hiding always have at least 1px on screen

11 years agofix a copy/paste bug in placing the move&resize popup
Dana Jansens [Sat, 12 Jan 2008 18:31:46 +0000 (13:31 -0500)]
fix a copy/paste bug in placing the move&resize popup

11 years agosince the internal windows are in window_map now, it's possible we'll get them back...
Dana Jansens [Sat, 12 Jan 2008 04:16:06 +0000 (23:16 -0500)]
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.

11 years agoMerge commit 'mika/backport' into backport
Dana Jansens [Sat, 12 Jan 2008 02:44:23 +0000 (21:44 -0500)]
Merge commit 'mika/backport' into backport

11 years agofix a small bug introduced that broke per-app placement
Dana Jansens [Sat, 12 Jan 2008 02:33:46 +0000 (21:33 -0500)]
fix a small bug introduced that broke per-app placement

11 years ago --exit Sulje Openbox
Mikael Magnusson [Sat, 12 Jan 2008 02:29:48 +0000 (03:29 +0100)]
  --exit              Sulje Openbox

11 years agodont reparse the config file when the keyboard map changes. just rebind everything...
Dana Jansens [Sat, 12 Jan 2008 02:19:58 +0000 (21:19 -0500)]
dont reparse the config file when the keyboard map changes. just rebind everything. yay for mika as inspiration

11 years agomake a GravityPoint and GravityCoord data structures for those --x, ++y type values
Dana Jansens [Sat, 12 Jan 2008 01:58:03 +0000 (20:58 -0500)]
make a GravityPoint and GravityCoord data structures for those --x, ++y type values

11 years agolet you specify the resize popup to be in a fixed place
Dana Jansens [Sat, 12 Jan 2008 01:24:16 +0000 (20:24 -0500)]
let you specify the resize popup to be in a fixed place

11 years agomake the focus cycle indicator be in the window_map so button presses on it are handl...
Dana Jansens [Sat, 12 Jan 2008 00:45:30 +0000 (19:45 -0500)]
make the focus cycle indicator be in the window_map so button presses on it are handled right

11 years agoadd an <active> option for window placement, to try force new windows on the active...
Dana Jansens [Sat, 12 Jan 2008 00:32:45 +0000 (19:32 -0500)]
add an <active> option for window placement, to try force new windows on the active monitor (for xinerama)

11 years agomake fake xinerama happen even when xinerama is enabled
Dana Jansens [Sat, 12 Jan 2008 00:30:29 +0000 (19:30 -0500)]
make fake xinerama happen even when xinerama is enabled

11 years agomake the window_startup happen before the focus_cycle_popup startup, so that the...
Dana Jansens [Sat, 12 Jan 2008 00:05:04 +0000 (19:05 -0500)]
make the window_startup happen before the focus_cycle_popup startup, so that the popups can be added to the window map properly

11 years agodon't take KeyRelease events for menus until they receive a KeyPress event first...
Dana Jansens [Fri, 11 Jan 2008 23:57:32 +0000 (18:57 -0500)]
don't take KeyRelease events for menus until they receive a KeyPress event first.  avoid using the key binding used to show the menu to execute something inside it.

11 years agocontinue commit 2b80e4e8ef56bb4fba614139601e750344418e5b - remove debug code, and...
Dana Jansens [Fri, 11 Jan 2008 23:33:43 +0000 (18:33 -0500)]
continue commit 2b80e4e8ef56bb4fba614139601e750344418e5b - remove debug code, and some unneeded stuff

11 years agofixes from commit 0ce14a727968736e57fb3fabba3794b46903875f
Dana Jansens [Fri, 11 Jan 2008 23:28:35 +0000 (18:28 -0500)]
fixes from commit 0ce14a727968736e57fb3fabba3794b46903875f
the xsync was needed to get the right serial for the end of the ignore range

11 years agoignore mouse clicks on override-redirect windows that aren't owned by openbox
Dana Jansens [Fri, 11 Jan 2008 23:13:12 +0000 (18:13 -0500)]
ignore mouse clicks on override-redirect windows that aren't owned by openbox

11 years agotry to comment the code for when to save the "last desktop"
Dana Jansens [Fri, 11 Jan 2008 22:24:13 +0000 (17:24 -0500)]
try to comment the code for when to save the "last desktop"

11 years agomake the time to remember last desktop a #define, and make it 750ms
Dana Jansens [Fri, 11 Jan 2008 21:49:55 +0000 (16:49 -0500)]
make the time to remember last desktop a #define, and make it 750ms

11 years agoDon't record desktops for lastdesktop when switching away quickly again.
Mikael Magnusson [Sat, 5 Jan 2008 11:40:46 +0000 (12:40 +0100)]
Don't record desktops for lastdesktop when switching away quickly again.

When switching desktops, only record the previous desktop as the last
desktop if the user stayed there for a while. This way you can scroll
over a couple desktops quickly, then go back to the previous desktop
you _used_, not the last you scrolled past.