mikachu/openbox.git
16 years agoprompt to kill windows when they are not responding
Dana Jansens [Thu, 7 Feb 2008 05:49:08 +0000 (00:49 -0500)]
prompt to kill windows when they are not responding

16 years agolet you specify return codes for the different buttons in a prompt, and specify a...
Dana Jansens [Thu, 7 Feb 2008 05:10:57 +0000 (00:10 -0500)]
let you specify return codes for the different buttons in a prompt, and specify a callback function for the prompt for when it is closed

16 years agoposition the buttons in the bottom right instead of centering them
Dana Jansens [Thu, 7 Feb 2008 04:47:38 +0000 (23:47 -0500)]
position the buttons in the bottom right instead of centering them

16 years agokey input works for ObPrompt windows now
Dana Jansens [Thu, 7 Feb 2008 04:44:15 +0000 (23:44 -0500)]
key input works for ObPrompt windows now

16 years agomake the prompt buttons respond to button presses. keyboard input code is there too...
Dana Jansens [Thu, 7 Feb 2008 04:33:02 +0000 (23:33 -0500)]
make the prompt buttons respond to button presses. keyboard input code is there too but not working yet.

16 years agoproperly place the msg texture
Dana Jansens [Thu, 7 Feb 2008 03:53:43 +0000 (22:53 -0500)]
properly place the msg texture

16 years agoMake ObPrompt windows get managed as clients, and make them able to reconfigure as...
Dana Jansens [Thu, 7 Feb 2008 03:49:55 +0000 (22:49 -0500)]
Make ObPrompt windows get managed as clients, and make them able to reconfigure as well.

16 years agogive prompts a border, and fix how they are laid out. and make them use the multi...
Dana Jansens [Thu, 7 Feb 2008 03:16:15 +0000 (22:16 -0500)]
give prompts a border, and fix how they are laid out. and make them use the multi-line text capabilities in render for the message

16 years agoallow font rendering to use multiple lines
Dana Jansens [Thu, 7 Feb 2008 03:12:54 +0000 (22:12 -0500)]
allow font rendering to use multiple lines

16 years agoyou can create dialog windows called "prompts" which have a message and some buttons...
Dana Jansens [Thu, 7 Feb 2008 02:35:55 +0000 (21:35 -0500)]
you can create dialog windows called "prompts" which have a message and some buttons!  they don't do anything interesting yet.

16 years agomake the internal window type more easily inheritable
Dana Jansens [Thu, 7 Feb 2008 00:40:21 +0000 (19:40 -0500)]
make the internal window type more easily inheritable

16 years agoMerge branch 'backport' into work
Dana Jansens [Thu, 7 Feb 2008 07:06:42 +0000 (02:06 -0500)]
Merge branch 'backport' into work

Conflicts:

openbox/config.c

16 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

16 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

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

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

16 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

16 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

16 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

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

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

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

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

16 years agoRemove the //.
Mikael Magnusson [Sat, 2 Feb 2008 21:13:31 +0000 (22:13 +0100)]
Remove the //.

16 years agosplit the version.h into render/ and obt/ copies, with the appropriate version info
Dana Jansens [Sat, 2 Feb 2008 20:02:05 +0000 (15:02 -0500)]
split the version.h into render/ and obt/ copies, with the appropriate version info

16 years agomake the xerror output more clear, to say when errors are being properly ignored
Dana Jansens [Sat, 2 Feb 2008 19:54:10 +0000 (14:54 -0500)]
make the xerror output more clear, to say when errors are being properly ignored

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

16 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

16 years agounused var
Dana Jansens [Sat, 2 Feb 2008 16:38:00 +0000 (11:38 -0500)]
unused var

16 years agomissing include
Dana Jansens [Sat, 2 Feb 2008 16:37:45 +0000 (11:37 -0500)]
missing include

16 years agoMerge branch 'backport' into work
Dana Jansens [Sat, 2 Feb 2008 16:36:17 +0000 (11:36 -0500)]
Merge branch 'backport' into work

Conflicts:

openbox/client.c
openbox/event.c
openbox/mouse.c
openbox/openbox.c
openbox/prop.c
openbox/prop.h
openbox/screen.c
parser/parse.c
parser/parse.h

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

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

16 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

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

16 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

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

16 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

16 years agoremove the generated obt's pc file
Dana Jansens [Fri, 1 Feb 2008 05:36:43 +0000 (00:36 -0500)]
remove the generated obt's pc file

16 years agoinstall the right headers for obt/obrender
Dana Jansens [Thu, 31 Jan 2008 23:22:58 +0000 (18:22 -0500)]
install the right headers for obt/obrender

16 years agoMerge branch 'backport' into work
Dana Jansens [Thu, 31 Jan 2008 22:32:37 +0000 (17:32 -0500)]
Merge branch 'backport' into work

16 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

16 years agogeneralize the window managing process into window_manage, which handles dock apps...
Dana Jansens [Thu, 31 Jan 2008 19:39:50 +0000 (14:39 -0500)]
generalize the window managing process into window_manage, which handles dock apps and the like

16 years agounlink the log file when opening it so you get a new file
Dana Jansens [Mon, 28 Jan 2008 15:21:29 +0000 (10:21 -0500)]
unlink the log file when opening it so you get a new file

16 years agoFix a memleak. (unref ObtPaths)
Mikael Magnusson [Fri, 25 Jan 2008 15:10:30 +0000 (16:10 +0100)]
Fix a memleak. (unref ObtPaths)

16 years agomake ob_debug use the g_log system, and make openbox log messages to..a log file...
Dana Jansens [Sun, 20 Jan 2008 17:36:42 +0000 (12:36 -0500)]
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..

16 years agoMerge branch 'backport' into work
Dana Jansens [Thu, 31 Jan 2008 17:36:06 +0000 (12:36 -0500)]
Merge branch 'backport' into work

Conflicts:

openbox/client.c
openbox/config.c
openbox/event.c
openbox/extensions.c
openbox/focus_cycle_indicator.c
openbox/focus_cycle_popup.c
openbox/menuframe.c
openbox/moveresize.c
openbox/openbox.c
openbox/screen.c
openbox/stacking.c
openbox/startupnotify.c

16 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

16 years agodon't check for the root window in the window hash tables. waste of cpu
Dana Jansens [Thu, 24 Jan 2008 19:41:46 +0000 (14:41 -0500)]
don't check for the root window in the window hash tables. waste of cpu

16 years agobe explicit than automake 1.9 is needed
Dana Jansens [Tue, 22 Jan 2008 19:22:55 +0000 (14:22 -0500)]
be explicit than automake 1.9 is needed

16 years agoFix a typo that broke transient window hints.
Mikael Magnusson [Mon, 21 Jan 2008 10:47:51 +0000 (11:47 +0100)]
Fix a typo that broke transient window hints.

16 years agoincrement the library version 1 so that it differs from the backport one, as they...
Dana Jansens [Tue, 22 Jan 2008 05:19:24 +0000 (00:19 -0500)]
increment the library version 1 so that it differs from the backport one, as they are actually different, and overwriting it sucks for obconf

16 years agodon't assert when you window_find(0)/dockapp_find(0), just return 0
Dana Jansens [Thu, 31 Jan 2008 15:18:35 +0000 (10:18 -0500)]
don't assert when you window_find(0)/dockapp_find(0), just return 0

16 years agoUse the # directive to simplify defines.
Mikael Magnusson [Sun, 20 Jan 2008 16:41:22 +0000 (17:41 +0100)]
Use the # directive to simplify defines.

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

16 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

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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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/. ]

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

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

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

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

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

16 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

16 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

16 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

16 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

16 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

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

16 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

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

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

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

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

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

16 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

16 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

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

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

16 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!

16 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);

16 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

16 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

16 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

16 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

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

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

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

16 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

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

16 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

16 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

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