14 years agoMerge branch 'backport'
Dana Jansens [Sun, 10 Feb 2008 00:07:55 +0000 (19:07 -0500)]
Merge branch 'backport'

14 years agomake the text area in alttab list mode the same hight as the icon _with hilite_
Dana Jansens [Sun, 10 Feb 2008 00:05:21 +0000 (19:05 -0500)]
make the text area in alttab list mode the same hight as the icon _with hilite_

14 years agocommit d9d580e0382 broke kdesktop again, so we have to fix it at an even finer level...
Dana Jansens [Sat, 9 Feb 2008 23:48:56 +0000 (18:48 -0500)]
commit d9d580e0382 broke kdesktop again, so we have to fix it at an even finer level.  make a pending ReplayPointer happen before moving/showing/hiding a window in an action

14 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

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

14 years agoFix a minor issue with lastdesktop right after startup.
Mikael Magnusson [Sat, 9 Feb 2008 10:43:26 +0000 (11:43 +0100)]
Fix a minor issue with lastdesktop right after startup.

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

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

14 years agoWrap the focus action in actions_client_move.
Mikael Magnusson [Fri, 8 Feb 2008 13:00:38 +0000 (14:00 +0100)]
Wrap the focus action in actions_client_move.

When alt-tabbing to iconified audacious and the playlist or eq window pops up under
the cursor, they "stole" focus from the main window.

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

14 years agoImprove menu behaviour when clicking on grandparents.
Mikael Magnusson [Mon, 10 Dec 2007 03:28:55 +0000 (04:28 +0100)]
Improve menu behaviour when clicking on grandparents.

Some time ago the menus were changed to not trigger on mouseover on a grandparent or higher
so that you wouldn't lose a carefully navigated menu structure. Clicking on an item opens
it though. It used to be on ButtonRelease but now it is on ButtonPress. Additionally, a Press
now causes grandchildren to be closed when clicking on already selected parts of the hierarchy.

14 years agoMerge branch 'wip/alttab'
Mikael Magnusson [Thu, 7 Feb 2008 14:28:18 +0000 (15:28 +0100)]
Merge branch 'wip/alttab'

14 years agoput stuff in the right place in alttab list mode when there is only 1 window in it
Dana Jansens [Thu, 7 Feb 2008 14:10:01 +0000 (09:10 -0500)]
put stuff in the right place in alttab list mode when there is only 1 window in it

14 years agotell what signal is going to be sent to the client when killing through the dialog
Dana Jansens [Thu, 7 Feb 2008 06:46:40 +0000 (01:46 -0500)]
tell what signal is going to be sent to the client when killing through the dialog

14 years agouse the hover and press button colors (this was a bug)
Dana Jansens [Thu, 7 Feb 2008 06:36:05 +0000 (01:36 -0500)]
use the hover and press button colors (this was a bug)

14 years agowhen drawing and measuring strings in "flow" mode, don't ellipsize so that lines...
Dana Jansens [Thu, 7 Feb 2008 06:34:34 +0000 (01:34 -0500)]
when drawing and measuring strings in "flow" mode, don't ellipsize so that lines can wrap

14 years agodon't kill our own ObPrompt windows with kill actions
Dana Jansens [Thu, 7 Feb 2008 06:29:02 +0000 (01:29 -0500)]
don't kill our own ObPrompt windows with kill actions

14 years agoif a prompt is already showing and you try show it again, then make it active. in...
Dana Jansens [Thu, 7 Feb 2008 06:03:05 +0000 (01:03 -0500)]
if a prompt is already showing and you try show it again, then make it active.  in the "kill this?" prompt use the window's original title without any of the openbox-appended-ness

14 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

14 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

14 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

14 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

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

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

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

14 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

14 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

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

14 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

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



14 years agoshow the arrows in the alttab list box at the right times (they were one step behind)
Dana Jansens [Wed, 6 Feb 2008 14:35:28 +0000 (09:35 -0500)]
show the arrows in the alttab list box at the right times (they were one step behind)

14 years agomake the listmode alttab the default
Dana Jansens [Wed, 6 Feb 2008 14:31:03 +0000 (09:31 -0500)]
make the listmode alttab the default

14 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

14 years agoDon't show extra space for arrows when not needed.
Mikael Magnusson [Wed, 6 Feb 2008 07:05:34 +0000 (08:05 +0100)]
Don't show extra space for arrows when not needed.

14 years agostyle
Mikael Magnusson [Wed, 6 Feb 2008 06:45:07 +0000 (07:45 +0100)]

14 years agoshow a small arrow on the top/bottom of the alttab list box when there are more windo...
Dana Jansens [Wed, 6 Feb 2008 06:32:12 +0000 (01:32 -0500)]
show a small arrow on the top/bottom of the alttab list box when there are more windows that are not visible in that direction

14 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

14 years agomake sure the alttab list-mode has at least 1 row
Dana Jansens [Tue, 5 Feb 2008 05:16:48 +0000 (00:16 -0500)]
make sure the alttab list-mode has at least 1 row

14 years agowhen scrolling, all the items need to be redrawn to make parentrelative work
Dana Jansens [Tue, 5 Feb 2008 05:11:38 +0000 (00:11 -0500)]
when scrolling, all the items need to be redrawn to make parentrelative work

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

14 years agoscroll the alttab box in list mode
Dana Jansens [Tue, 5 Feb 2008 04:25:26 +0000 (23:25 -0500)]
scroll the alttab box in list mode

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

14 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

14 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

14 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

14 years agofix the alttab popup mode when it shows on screen, so it won't change mid-cycling
Dana Jansens [Sun, 3 Feb 2008 06:00:42 +0000 (01:00 -0500)]
fix the alttab popup mode when it shows on screen, so it won't change mid-cycling

14 years agocenter the text vertically in list alttab box mode
Dana Jansens [Sun, 3 Feb 2008 05:51:55 +0000 (00:51 -0500)]
center the text vertically in list alttab box mode

14 years agolimit the alttab list to 80% of the screen height
Dana Jansens [Sun, 3 Feb 2008 05:44:10 +0000 (00:44 -0500)]
limit the alttab list to 80% of the screen height

14 years agomap the appropriate text-containing windows, and unmap the ones that are not being...
Dana Jansens [Sun, 3 Feb 2008 05:39:19 +0000 (00:39 -0500)]
map the appropriate text-containing windows, and unmap the ones that are not being used based on the focus popup cycle mode

14 years agoremove commented code
Dana Jansens [Sun, 3 Feb 2008 05:24:14 +0000 (00:24 -0500)]
remove commented code

14 years agofix some uses of ICON_SIZE where it should be HILITE_SIZE now, from the old icon...
Dana Jansens [Sun, 3 Feb 2008 05:16:09 +0000 (00:16 -0500)]
fix some uses of ICON_SIZE where it should be HILITE_SIZE now, from the old icon-mode focus cycle popup

14 years agocombine the old focus cycle popup code with mika's new list-mode popup, and make...
Dana Jansens [Sun, 3 Feb 2008 05:07:21 +0000 (00:07 -0500)]
combine the old focus cycle popup code with mika's new list-mode popup, and make an action option for it (the old <dialog> option)

14 years agoUse a_unfocused_label for all but the hilited items.
Mikael Magnusson [Sun, 2 Sep 2007 22:42:14 +0000 (00:42 +0200)]
Use a_unfocused_label for all but the hilited items.

Should introduce some sort of theme element for this I suppose, but dana is not here.

14 years agoMake the icon and hilite the proper sizes.
Mikael Magnusson [Sun, 2 Sep 2007 22:16:26 +0000 (00:16 +0200)]
Make the icon and hilite the proper sizes.

Had to add some obrender thingers and fiddle around a bit. Also fixed up
some confusing logic.

14 years agoDon't need to hang on to the hilite_rgba pointer any more.
Mikael Magnusson [Sun, 2 Sep 2007 20:43:28 +0000 (22:43 +0200)]
Don't need to hang on to the hilite_rgba pointer any more.

14 years agoMove hilite texture rendering to init time, and draw it after the icon.
Mikael Magnusson [Sun, 2 Sep 2007 20:29:34 +0000 (22:29 +0200)]
Move hilite texture rendering to init time, and draw it after the icon.

14 years agoDraw the hilite texture with the icon appearance instead of the background.
Mikael Magnusson [Sun, 2 Sep 2007 12:52:39 +0000 (14:52 +0200)]
Draw the hilite texture with the icon appearance instead of the background.

This means we don't have to redraw the whole background every time.
However, the hilite is now a bit too small (or the icon is a bit too big).

14 years agoBeginnings of alt-tab dialog that lists all titles to the right of icons
Mikael Magnusson [Sun, 2 Sep 2007 02:46:03 +0000 (04:46 +0200)]
Beginnings of alt-tab dialog that lists all titles to the right of icons

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

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

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

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

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

14 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

14 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

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

14 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

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

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

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



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

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

14 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

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

14 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

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

14 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

14 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

14 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

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

14 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

14 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

14 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

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

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

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



14 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

14 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

14 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

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

14 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

14 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

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

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

14 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

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

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

14 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

14 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

14 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