14 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]

14 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

14 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)

14 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

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

14 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

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

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

14 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

14 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.

14 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)

14 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]

14 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)

14 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?

14 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

14 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

14 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

14 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.

14 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

14 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

14 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

14 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

14 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

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

14 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

14 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

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

14 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

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

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

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

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

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

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

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

14 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.

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

14 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.

14 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

14 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

14 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..

14 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.

14 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

14 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.

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

14 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..

14 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

14 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

14 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

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

14 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

14 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

14 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

14 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

14 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)

14 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

14 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

14 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

14 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

14 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.

14 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

14 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..

14 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.

14 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.

14 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)

14 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..)

14 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

14 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.

14 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

14 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

14 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.

14 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

14 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

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

14 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

14 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

14 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

14 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

14 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)

14 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

14 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

14 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.

14 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

14 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

14 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

14 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"

14 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

14 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.

14 years agofreeze onscreen stacking order changes while a temp raise for focus cycling is occuring
Dana Jansens [Fri, 11 Jan 2008 21:29:11 +0000 (16:29 -0500)]
freeze onscreen stacking order changes while a temp raise for focus cycling is occuring

14 years agofix a crash when reconfiguring during focus cycling
Dana Jansens [Fri, 11 Jan 2008 21:26:16 +0000 (16:26 -0500)]
fix a crash when reconfiguring during focus cycling

14 years agolet you raise the focus target temporarily during focus cycling, with the <raise...
Dana Jansens [Fri, 11 Jan 2008 21:11:51 +0000 (16:11 -0500)]
let you raise the focus target temporarily during focus cycling, with the <raise> option.  also a new <bar> option lets you turn off the indicator bar

14 years agomake backport closer to 3.4-working for merging purposes
Dana Jansens [Fri, 11 Jan 2008 20:36:31 +0000 (15:36 -0500)]
make backport closer to 3.4-working for merging purposes

14 years agomake it possible to temporarily raise a window to the top, and restore it. also...
Dana Jansens [Fri, 11 Jan 2008 20:28:26 +0000 (15:28 -0500)]
make it possible to temporarily raise a window to the top, and restore it.  also fix the return val for window_layer.

14 years agofix a warning from crappy libc apis
Dana Jansens [Fri, 11 Jan 2008 20:18:04 +0000 (15:18 -0500)]
fix a warning from crappy libc apis

14 years agofocus the desktop window when you right click it, same as you focus other windows
Dana Jansens [Fri, 11 Jan 2008 20:01:03 +0000 (15:01 -0500)]
focus the desktop window when you right click it, same as you focus other windows

14 years agoBug 3359 - redundant pango flags
Dana Jansens [Fri, 11 Jan 2008 19:48:21 +0000 (14:48 -0500)]
Bug 3359 - redundant pango flags

14 years agofix a focus race condition in two ways:
Dana Jansens [Fri, 11 Jan 2008 19:40:58 +0000 (14:40 -0500)]
fix a focus race condition in two ways:

1. when focusing a window, ignore any enter events up until the serial of the X event causing the focus, not up until the last thing sent to the server.  if we get 2 enters very quickly, then we don't want to ignore the second one just because we are focusing the first window.
2. there is a race if you check (focus_client != d->client) in the delay_focus_func, because the current focused window might change by the time this focus_client would take effect, so don't check that.

14 years agocode clean up
Dana Jansens [Fri, 11 Jan 2008 18:06:37 +0000 (13:06 -0500)]
code clean up

14 years agoXKB modifiers are strange things, and i don't know how to read them properly in modke...
Dana Jansens [Fri, 11 Jan 2008 18:05:11 +0000 (13:05 -0500)]
XKB modifiers are strange things, and i don't know how to read them properly in modkeys.c and convert it all to the x core stuff.  so we use this to get the state of the modifiers, otherwise we end up missing them sometimes (like on PPC)

14 years agoreconfigure openbox when the input mapping changes, eg. keyboard layout or modifier map
Dana Jansens [Fri, 11 Jan 2008 16:42:09 +0000 (11:42 -0500)]
reconfigure openbox when the input mapping changes, eg. keyboard layout or modifier map