mikachu/openbox.git
11 years agoUpdate dutch translation.
Mikael Magnusson [Tue, 12 Feb 2008 18:48:27 +0000 (19:48 +0100)]
Update dutch translation.

11 years agoapparently gnome has hidden gnome-settings-daemon in libexec, so put that in the...
Dana Jansens [Mon, 11 Feb 2008 18:30:40 +0000 (13:30 -0500)]
apparently gnome has hidden gnome-settings-daemon in libexec, so put that in the autostart.sh

11 years agomissing >/dev/null for a which statement
Dana Jansens [Mon, 11 Feb 2008 14:43:31 +0000 (09:43 -0500)]
missing >/dev/null for a which statement

11 years agousing () for a class that doesn't inherit breaks old python
Dana Jansens [Mon, 11 Feb 2008 14:40:24 +0000 (09:40 -0500)]
using () for a class that doesn't inherit breaks old python

11 years agogrammar hammer
Dana Jansens [Sun, 10 Feb 2008 07:06:46 +0000 (02:06 -0500)]
grammar hammer

11 years agomake white font shadows (negative shadowtint) work right.. this has been busted a...
Dana Jansens [Sun, 10 Feb 2008 06:51:34 +0000 (01:51 -0500)]
make white font shadows (negative shadowtint) work right.. this has been busted a long time. thank you nvidia.

11 years agomake xdg-autostart check for PyXDG and print a better error than a backtrace. and...
Dana Jansens [Sat, 9 Feb 2008 23:26:15 +0000 (18:26 -0500)]
make xdg-autostart check for PyXDG and print a better error than a backtrace.  and make the executing actually work

11 years agomake an xdg-autostart script. it is very fancy.
Dana Jansens [Sat, 9 Feb 2008 23:14:18 +0000 (18:14 -0500)]
make an xdg-autostart script.  it is very fancy.

11 years agoUpdate swedish translation.
Mikael Magnusson [Sat, 9 Feb 2008 08:42:31 +0000 (09:42 +0100)]
Update swedish translation.
NB: using 3.4.6.1 to mean the --config-file translation is included and 3.4.6 for everything before that.

11 years agoUpdate czech translation.
Martin Sova [Sat, 9 Feb 2008 08:38:28 +0000 (09:38 +0100)]
Update czech translation.

11 years agoDon't bother setting screen_last_desktop here, it's inited in screen_startup anyway.
Mikael Magnusson [Fri, 8 Feb 2008 09:22:57 +0000 (10:22 +0100)]
Don't bother setting screen_last_desktop here, it's inited in screen_startup anyway.

11 years agoadd the position's force attribute to the default rc.xml and xsd
Dana Jansens [Wed, 6 Feb 2008 14:22:04 +0000 (09:22 -0500)]
add the position's force attribute to the default rc.xml and xsd

11 years agodon't crash when using <raise> and alt-tab and there are no windows to cycle between
Dana Jansens [Fri, 1 Feb 2008 06:56:37 +0000 (01:56 -0500)]
don't crash when using <raise> and alt-tab and there are no windows to cycle between

11 years agothe title_focused_shadow_color is being set twice, and being overridden by the osd...
Dana Jansens [Tue, 5 Feb 2008 05:07:26 +0000 (00:07 -0500)]
the title_focused_shadow_color is being set twice, and being overridden by the osd color (though not in the texture)

11 years agoAdd the manageDesktops option.
Mikael Magnusson [Sun, 3 Feb 2008 15:53:33 +0000 (16:53 +0100)]
Add the manageDesktops option.

11 years agomake the menu headers show their correct text
Dana Jansens [Sun, 3 Feb 2008 23:45:40 +0000 (18:45 -0500)]
make the menu headers show their correct text

11 years agoignore fake generated enters if they are in the serial-ignore-range too
Dana Jansens [Sun, 3 Feb 2008 14:29:05 +0000 (09:29 -0500)]
ignore fake generated enters if they are in the serial-ignore-range too

11 years agoallow you to force the position of windows with rc.xml's per-app settings with the...
Dana Jansens [Sat, 2 Feb 2008 21:50:55 +0000 (16:50 -0500)]
allow you to force the position of windows with rc.xml's per-app settings with the force="yes" attribute

11 years agowhen focusing or raising a window which is modal child for a direct parent, raise...
Dana Jansens [Sun, 3 Feb 2008 03:17:32 +0000 (22:17 -0500)]
when focusing or raising a window which is modal child for a direct parent, raise its parent and move it to the top of the stacking order too, ie. treat them like one window (this is already done elsewhere, like when moving between desktops for example)

11 years agounused variable
Dana Jansens [Sun, 3 Feb 2008 03:09:52 +0000 (22:09 -0500)]
unused variable

11 years agoimprove comment
Dana Jansens [Sun, 3 Feb 2008 03:07:21 +0000 (22:07 -0500)]
improve comment

11 years agoupdated clearlooks theme from mulberry
Dana Jansens [Sat, 2 Feb 2008 22:06:24 +0000 (17:06 -0500)]
updated clearlooks theme from mulberry

11 years agoerroneous comment
Dana Jansens [Sat, 2 Feb 2008 19:29:08 +0000 (14:29 -0500)]
erroneous comment

11 years agoupdate the po files as they appear in 3.4.6 with the new strings
Dana Jansens [Sat, 2 Feb 2008 17:59:23 +0000 (12:59 -0500)]
update the po files as they appear in 3.4.6 with the new strings

11 years agoif windows on screen are going to be moved, then do the ReplayPointer before that...
Dana Jansens [Sat, 2 Feb 2008 16:22:17 +0000 (11:22 -0500)]
if windows on screen are going to be moved, then do the ReplayPointer before that occurs, so it goes to the right window.  if they are not, then just wait until after the actions are run (for kdesktop's sake really)

11 years agocomment typo
Dana Jansens [Sat, 2 Feb 2008 16:01:14 +0000 (11:01 -0500)]
comment typo

11 years agoadd a --config-file command line option, and OB_CONFIG_FILE root hint
Dana Jansens [Sat, 2 Feb 2008 14:22:50 +0000 (09:22 -0500)]
add a --config-file command line option, and OB_CONFIG_FILE root hint

11 years agomake update-po
Dana Jansens [Sat, 2 Feb 2008 14:07:03 +0000 (09:07 -0500)]
make update-po

11 years agomake fullscreen windows more xinerama and multi-screen aware
Dana Jansens [Sat, 2 Feb 2008 14:01:56 +0000 (09:01 -0500)]
make fullscreen windows more xinerama and multi-screen aware

instead of calling it every time a window loses focus, it is only called when a window gains focus.  then, check fullscreen layered windows, if they should be moved to a lower layer.
when moving a window between monitors, also check its layer and that of any fullscreen windows.
let a window stay in the fullscreen layer even when it is not focused, if it is on a non-visible desktop, or if it is on a different monitor from the focused window, or if nothing else is focused

11 years agofix a crash from chroot of invalid keys, and make keybindings reload better
Dana Jansens [Sat, 2 Feb 2008 05:59:59 +0000 (00:59 -0500)]
fix a crash from chroot of invalid keys, and make keybindings reload better

since invalid(not translated) keybindings are allowed in the tree, the tree's structure may actually need to change when reconfiguring.  actually, it could need to anyways.  so when re-translating all the keybindings, actually rebuild the keybinding tree.  also, make the chroot building code not fail when translate fails, to match the rest of the code and avoid segfaults with chroots on invalid keys.

11 years agowhen checking that a window is onscreen, if there are screens with higher indices...
Dana Jansens [Thu, 31 Jan 2008 22:31:51 +0000 (17:31 -0500)]
when checking that a window is onscreen, if there are screens with higher indices than where it appeared, they would trump things and force the window onto the first screen.  now, only assume the window is on no screens if it actually is on no screens

11 years agodon't deiconify windows on reconfigure if they cant be iconified directly. stop...
Dana Jansens [Mon, 28 Jan 2008 14:59:45 +0000 (09:59 -0500)]
don't deiconify windows on reconfigure if they cant be iconified directly.  stop managing windows in reverse order on restart it messes up the dock among other things

11 years agoMark translations without the new desktop number mismatch message as 3.4.5.
Mikael Magnusson [Tue, 29 Jan 2008 13:04:31 +0000 (14:04 +0100)]
Mark translations without the new desktop number mismatch message as 3.4.5.
Update swedish translation with them.

 [ I mistakenly originally made this commit on 3.4-working (commit
   7f514044f7fb8f5c2948d9b3da837a9b46717ee5) so the changes got lost on a
   subsequent merge from backport when we usually overwrite po/. ]

11 years agoUpdate norwegian translation.
Michael Kjelbergvik Thung [Tue, 29 Jan 2008 12:54:40 +0000 (13:54 +0100)]
Update norwegian translation.

11 years agoreordering things when mapping windows a little to work with iconified windows with...
Dana Jansens [Mon, 28 Jan 2008 05:26:13 +0000 (00:26 -0500)]
reordering things when mapping windows a little to work with iconified windows with iconified toolbars on restart. (e.g. ooffice)

11 years agofix a rare assert condition (window maps in iconic state but is not allowed to be...
Dana Jansens [Mon, 28 Jan 2008 01:26:29 +0000 (20:26 -0500)]
fix a rare assert condition (window maps in iconic state but is not allowed to be iconic)

11 years agoChange <placeOn> to <monitor>.
Mikael Magnusson [Sun, 27 Jan 2008 20:03:55 +0000 (21:03 +0100)]
Change <placeOn> to <monitor>.

11 years agoreplace the <active> placement option with <placeOn>active/mouse/any</placeOn>
Dana Jansens [Sun, 27 Jan 2008 16:31:23 +0000 (11:31 -0500)]
replace the <active> placement option with <placeOn>active/mouse/any</placeOn>

11 years agoget rid of copying the rrappearances for each menu frame, except for the one that...
Dana Jansens [Sun, 27 Jan 2008 09:59:39 +0000 (04:59 -0500)]
get rid of copying the rrappearances for each menu frame, except for the one that is actually useful

11 years agoignore the built tests and some extra po/ generated junk
Dana Jansens [Sun, 27 Jan 2008 09:13:38 +0000 (04:13 -0500)]
ignore the built tests and some extra po/ generated junk

11 years agouse setenv/unsetenv instead of putenv, cuz they are not ugly and confusing wrt memory...
Dana Jansens [Sun, 27 Jan 2008 08:48:49 +0000 (03:48 -0500)]
use setenv/unsetenv instead of putenv, cuz they are not ugly and confusing wrt memory leaks

11 years agomake horizontal gradients faster by not jumping around in memory as much
Dana Jansens [Sun, 27 Jan 2008 08:36:26 +0000 (03:36 -0500)]
make horizontal gradients faster by not jumping around in memory as much

11 years agowindow a window stops responding to pings, don't use the xsync protocol while resizin...
Dana Jansens [Sun, 27 Jan 2008 08:17:50 +0000 (03:17 -0500)]
window a window stops responding to pings, don't use the xsync protocol while resizing it - its not going to be responding to it anyways

11 years agoonly store icons for windows that are 64px or smaller, as we don't have need for...
Dana Jansens [Sun, 27 Jan 2008 08:14:35 +0000 (03:14 -0500)]
only store icons for windows that are 64px or smaller, as we don't have need for any bigger icons at this time.  unless they only provide icons bigger than that, then just store one of them (the smallest)

11 years agowe alloc theme elements for every window frame, but really it is unneccesary
Dana Jansens [Sun, 27 Jan 2008 07:53:26 +0000 (02:53 -0500)]
we alloc theme elements for every window frame, but really it is unneccesary

11 years agoadd a missing #include
Dana Jansens [Sun, 27 Jan 2008 07:41:21 +0000 (02:41 -0500)]
add a missing #include

11 years agowhen ignoring enter events, only ignore up to the current serial (NextRequest()-1...
Dana Jansens [Sat, 26 Jan 2008 18:36:20 +0000 (13:36 -0500)]
when ignoring enter events, only ignore up to the current serial (NextRequest()-1).  Don't ignore enters that come after this with the next serial.

11 years agocreate fake enter events for button press bindings. only swallow enter events when...
Dana Jansens [Sat, 26 Jan 2008 18:25:03 +0000 (13:25 -0500)]
create fake enter events for button press bindings.  only swallow enter events when focus.undermouse is not on (for non-mouse actions)

11 years agoRemove a fuzzy translation.
Mikael Magnusson [Sat, 26 Jan 2008 17:43:02 +0000 (18:43 +0100)]
Remove a fuzzy translation.

11 years agoAdd a few missing includes and remove a stray debug printf.
Mikael Magnusson [Sat, 26 Jan 2008 17:25:32 +0000 (18:25 +0100)]
Add a few missing includes and remove a stray debug printf.

11 years agoonly add borders and stuff to the dock's size if it is holding anything. otherwise...
Dana Jansens [Sat, 26 Jan 2008 06:17:56 +0000 (01:17 -0500)]
only add borders and stuff to the dock's size if it is holding anything.  otherwise it gets a non-zero size which messes with resistence/placement/etc

11 years agofix a memleak in client_update_icon_geometry
Dana Jansens [Fri, 25 Jan 2008 15:32:39 +0000 (10:32 -0500)]
fix a memleak in client_update_icon_geometry

11 years agofix a mem leak
Dana Jansens [Fri, 25 Jan 2008 15:29:49 +0000 (10:29 -0500)]
fix a mem leak

11 years agofix a mem leak
Dana Jansens [Fri, 25 Jan 2008 15:27:44 +0000 (10:27 -0500)]
fix a mem leak

11 years agoCreate fake enter events in fewer situations - avoiding times that you don't actually...
Dana Jansens [Fri, 25 Jan 2008 15:20:21 +0000 (10:20 -0500)]
Create fake enter events in fewer situations - avoiding times that you don't actually want them.  Ignore event serials without using XSync, so that we aren't doing an XSync 100 times per minute - slow!

11 years agoFix some memleaks.
Mikael Magnusson [Fri, 25 Jan 2008 11:53:43 +0000 (12:53 +0100)]
Fix some memleaks.

missing RrFontClose for osd_font in two places.
missing a g_free(area);

11 years agoskip enter events caused by temporarily raising windows during alt-tab. also caused...
Dana Jansens [Fri, 25 Jan 2008 05:35:31 +0000 (00:35 -0500)]
skip enter events caused by temporarily raising windows during alt-tab.  also caused by the focus cycle indicator moving

11 years agoadd SessionManaged to the gnome wm-props.desktop thinger like metacity has in its
Dana Jansens [Fri, 25 Jan 2008 05:26:25 +0000 (00:26 -0500)]
add SessionManaged to the gnome wm-props.desktop thinger like metacity has in its

11 years agoadd the new Clearlooks theme by mulberry, and rename the current one to Clearlooks-3.4
Dana Jansens [Fri, 25 Jan 2008 04:05:58 +0000 (23:05 -0500)]
add the new Clearlooks theme by mulberry, and rename the current one to Clearlooks-3.4

11 years agostrip non-modifier masks from the keyboard state for keyreleases when xkb is present too
Dana Jansens [Fri, 25 Jan 2008 01:19:33 +0000 (20:19 -0500)]
strip non-modifier masks from the keyboard state for keyreleases when xkb is present too

11 years agoUpdate portuguese translation.
Mikael Magnusson [Tue, 22 Jan 2008 21:18:00 +0000 (22:18 +0100)]
Update portuguese translation.

11 years agoUpdate brasilian portuguese translation.
Og Maciel [Tue, 22 Jan 2008 20:42:27 +0000 (21:42 +0100)]
Update brasilian portuguese translation.

11 years agoUpdate russian translation, by Snelius.
Mikael Magnusson [Tue, 22 Jan 2008 07:00:20 +0000 (08:00 +0100)]
Update russian translation, by Snelius.

11 years agoprint a warning when the session has a different number of desktops than the openbox...
Dana Jansens [Tue, 22 Jan 2008 17:54:53 +0000 (12:54 -0500)]
print a warning when the session has a different number of desktops than the openbox config

11 years agouse the <wmclass> for startup notfication in the execute action. when present don...
Dana Jansens [Tue, 22 Jan 2008 03:27:03 +0000 (22:27 -0500)]
use the <wmclass> for startup notfication in the execute action. when present don't use the check against the binary.

11 years agoFix two typos in comments in rc.xml
Mikael Magnusson [Mon, 21 Jan 2008 11:14:30 +0000 (12:14 +0100)]
Fix two typos in comments in rc.xml

11 years agoonly unset the startup_desktop_id once, and dont free the string we pass to putenv
Dana Jansens [Sun, 20 Jan 2008 23:34:26 +0000 (18:34 -0500)]
only unset the startup_desktop_id once, and dont free the string we pass to putenv

11 years agocheck them startupnotify-provided wmclass against both parts of a window's wm_class...
Dana Jansens [Sun, 20 Jan 2008 14:52:10 +0000 (09:52 -0500)]
check them startupnotify-provided wmclass against both parts of a window's wm_class hint, as the spec doth say so.

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