dana/openbox.git
9 years agoDon't close the menu when you held control even for execute
Mikael Magnusson [Mon, 18 Jan 2010 15:48:27 +0000 (16:48 +0100)]
Don't close the menu when you held control even for execute

9 years agoDon't alt-tab to skip_taskbar iconic windows if they have parents
Mikael Magnusson [Sat, 16 Jan 2010 18:32:44 +0000 (19:32 +0100)]
Don't alt-tab to skip_taskbar iconic windows if they have parents

9 years agoadjust who shows up in the alt-tab list using SKIP_TASKBAR (Fixes bug #4503)
Dana Jansens [Mon, 18 Jan 2010 21:08:23 +0000 (16:08 -0500)]
adjust who shows up in the alt-tab list using SKIP_TASKBAR (Fixes bug #4503)

allow window types != NORMAL to not show up in the alt-tab list
but don't allow DIALOG types to hide from the list
also any window which is DEMANDS_ATTENTION should appear in the list regardless
  of its SKIP_TASKBAR status

9 years agodon't use client_move() to end a move
Dana Jansens [Fri, 15 Jan 2010 22:49:54 +0000 (17:49 -0500)]
don't use client_move() to end a move

client_move() uses the client's current width/height, whereas all along we
  were using the width/height the client had at the start, so this causes
  client_configure() to behave differently at the end than during the move

9 years agoallow multiple escaped _'s in a menu label, and allow a real _ to come later in the...
Dana Jansens [Fri, 15 Jan 2010 21:40:29 +0000 (16:40 -0500)]
allow multiple escaped _'s in a menu label, and allow a real _ to come later in the label (Fixes bug #4355).

9 years agomake edge detection for maximized windows only look at the edges of screens
Dana Jansens [Fri, 15 Jan 2010 21:15:05 +0000 (16:15 -0500)]
make edge detection for maximized windows only look at the edges of screens

9 years agocatch the SIGTTOU and SIGTTIN signals when an app we launch tries to use its stdin...
Dana Jansens [Fri, 15 Jan 2010 20:48:56 +0000 (15:48 -0500)]
catch the SIGTTOU and SIGTTIN signals when an app we launch tries to use its stdin/out (but we don't have one either).  Fixes bug #4072.

9 years agoif we get an event on a subwindow of root that we don't know about, but it is related...
Dana Jansens [Fri, 15 Jan 2010 20:07:42 +0000 (15:07 -0500)]
if we get an event on a subwindow of root that we don't know about, but it is related to a press we received on the root window, then process the event (Fixes bug #3702)

9 years agoRemember the maximized state of a window when it goes fullscreen and try restore...
Dana Jansens [Fri, 15 Jan 2010 19:50:36 +0000 (14:50 -0500)]
Remember the maximized state of a window when it goes fullscreen and try restore it after

9 years agoIf a window places itself at (0,0) and there are struts there, assume it is a bug...
Dana Jansens [Thu, 14 Jan 2010 23:38:40 +0000 (18:38 -0500)]
If a window places itself at (0,0) and there are struts there, assume it is a bug.  Also allow oldschool fullscreen windows that cover all monitors on a multihead setup to work properly

Added a test 'oldfullscreen' that makes a oldschool fullscreen window

9 years agoallow app rules to match windows by their title when mapping
Dana Jansens [Thu, 14 Jan 2010 22:24:39 +0000 (17:24 -0500)]
allow app rules to match windows by their title when mapping

and save the title in the _OB_APP_TITLE property

9 years agoif openbox isn't running, show messages on the console rather than just losing them...
Dana Jansens [Thu, 14 Jan 2010 21:53:32 +0000 (16:53 -0500)]
if openbox isn't running, show messages on the console rather than just losing them (like when another WM is running)

9 years agoMerge branch 'backport' into work
Dana Jansens [Thu, 14 Jan 2010 21:19:57 +0000 (16:19 -0500)]
Merge branch 'backport' into work

Conflicts:

openbox/frame.c

9 years agoUpdate hungarian translation.
Laszlo Dvornik [Fri, 8 Jan 2010 21:40:40 +0000 (22:40 +0100)]
Update hungarian translation.

9 years agoPrefer to use larger images and scale down than to scale up (more distortion)
Dana Jansens [Thu, 14 Jan 2010 20:03:06 +0000 (15:03 -0500)]
Prefer to use larger images and scale down than to scale up (more distortion)

9 years agodon't resize the label to 0
Dana Jansens [Thu, 14 Jan 2010 19:57:18 +0000 (14:57 -0500)]
don't resize the label to 0

9 years agoFixes bug #4492 (mis-using the return value of grep -q in openbox-gnome-session script
Dana Jansens [Tue, 12 Jan 2010 18:59:25 +0000 (13:59 -0500)]
Fixes bug #4492 (mis-using the return value of grep -q in openbox-gnome-session script

9 years agoremove the session.c file from actions, as it is no longer used
Dana Jansens [Tue, 12 Jan 2010 15:03:22 +0000 (10:03 -0500)]
remove the session.c file from actions, as it is no longer used

9 years agoNULL ic when we failed to load an image
Mikael Magnusson [Mon, 11 Jan 2010 21:48:06 +0000 (22:48 +0100)]
NULL ic when we failed to load an image

9 years agoMerge branch 'backport' into work
Dana Jansens [Mon, 11 Jan 2010 21:20:53 +0000 (16:20 -0500)]
Merge branch 'backport' into work

Conflicts:

configure.ac
data/rc.xml
openbox/client.c
openbox/event.c
openbox/focus_cycle.c
openbox/focus_cycle_popup.c
openbox/openbox.c
openbox/prop.c
openbox/prop.h
openbox/screen.c
parser/parse.c
version.h.in

9 years agomake focus cycle target fallback work right by going to the next prev window
Dana Jansens [Mon, 11 Jan 2010 20:37:36 +0000 (15:37 -0500)]
make focus cycle target fallback work right by going to the next prev window

9 years agoMake the focus cycle indicator follow target fallback in the popup
Dana Jansens [Mon, 11 Jan 2010 20:35:47 +0000 (15:35 -0500)]
Make the focus cycle indicator follow target fallback in the popup

9 years agoMore work on refreshing the focus cycle dialog when windows are added/removed from...
Dana Jansens [Mon, 11 Jan 2010 20:13:55 +0000 (15:13 -0500)]
More work on refreshing the focus cycle dialog when windows are added/removed from the valid focus order

9 years agoWhen a user id is specified, or --root, use the ID directly, don't try find a client...
Dana Jansens [Mon, 11 Jan 2010 18:43:25 +0000 (13:43 -0500)]
When a user id is specified, or --root, use the ID directly, don't try find a client child of it

9 years agoAdd _OB_VERSION and _OB_APP_ROLE/CLASS/NAME/TYPE
Dana Jansens [Mon, 11 Jan 2010 18:42:50 +0000 (13:42 -0500)]
Add _OB_VERSION and _OB_APP_ROLE/CLASS/NAME/TYPE

Add _OB_VERSION property on the root window.
Change _OB_ROLE/CLASS/NAME to _OB_APP_*.
Add _OB_APP_TYPE which has a string for the type chosen for the window on
  mapping by Openbox.
Adjust the rc.xml to match these changes.

9 years agoReuse ObFocusCyclePopupTargets when refreshing the focus cycle dialog
Dana Jansens [Mon, 11 Jan 2010 18:12:09 +0000 (13:12 -0500)]
Reuse ObFocusCyclePopupTargets when refreshing the focus cycle dialog

9 years agoRedraw the focus cycle popup when the list of focusable windows changes, rather than...
Dana Jansens [Mon, 11 Jan 2010 17:47:59 +0000 (12:47 -0500)]
Redraw the focus cycle popup when the list of focusable windows changes, rather than closing it

9 years agoIf a window is added to the focus order while focus cycling, stop the focus cycling...
Dana Jansens [Mon, 11 Jan 2010 16:02:48 +0000 (11:02 -0500)]
If a window is added to the focus order while focus cycling, stop the focus cycling istead of crashing (See bug #4411)

9 years agoFix ordering so fallback for inactive osd to label works
Mikael Magnusson [Mon, 11 Jan 2010 00:27:30 +0000 (01:27 +0100)]
Fix ordering so fallback for inactive osd to label works

The themeing options (sic) for inactive osd labels added in
cfdbe23e0d9b72b4c220a10ddf60a4e981967b63 had the fallback to inactive
label before that was read in, so fallback failed to pick up some
things.

9 years agoUpdate latvian translation.
Einars Sprugis [Sun, 10 Jan 2010 21:23:20 +0000 (22:23 +0100)]
Update latvian translation.

9 years agoallow application rules to place transient/dialog/splash windows, and allow applicati...
Dana Jansens [Fri, 8 Jan 2010 23:16:37 +0000 (18:16 -0500)]
allow application rules to place transient/dialog/splash windows, and allow application rules to match only on the role or type if you wish.

9 years agoRework the code provided by Kadlcik Libor for loading/showing icons in Openbox menus.
Dana Jansens [Fri, 8 Jan 2010 22:48:07 +0000 (17:48 -0500)]
Rework the code provided by Kadlcik Libor for loading/showing icons in Openbox menus.

This changes how the imagecache works, you can load an image into it directly,
or you can load it by name (then it will load it from a file on disk).

NOTE: The name part is incomplete, as it needs to use the freedesktop.org icon
spec to search for the right file.  Also to resize it should look for another
icon on disk with the same name but different size (icon themes).

9 years agoNo \n on ob_debug in this branch.
Mikael Magnusson [Tue, 10 Jun 2008 15:52:04 +0000 (17:52 +0200)]
No \n on ob_debug in this branch.

9 years agoSome style changes, less ifdefs.
Mikael Magnusson [Thu, 8 May 2008 17:27:52 +0000 (19:27 +0200)]
Some style changes, less ifdefs.

9 years agoThis patch implements support for icons in user-defined menus into Openbox
Kadlcik Libor [Tue, 25 Mar 2008 20:58:12 +0000 (21:58 +0100)]
This patch implements support for icons in user-defined menus into Openbox

Image loading is done using the Imlib2 library.
I chose Imlib2 because it's pretty fast, it's easy to use, supports many file
formats (tested xpm, gif, jpeg, png) and doesn't introduce too much bloat (it
depends :)).

I ported the patch to 3.4.7-pre3 and added some enhancements. Caching is much
better now, and icons can be disabled at compile time using --disable-imlib2
option.

What's new?
Syntax of configuration files (namely rc.xml and menu.xml) has been changed
slightly to allow users to associate icons to menu entries. This is done by
specifying path to icon file in the new "icon" attribute in "<item>" element,
e.g:
<item label="Vim" icon="/usr/share/pixmaps/vim-32.xpm">
  <action name="Execute"><execute>x-terminal-emulator -T Vim -e
vim</execute></action>
</item>

If user doesn't want to display any icons in his user-defined menus, he/she can
disable icons in rc.xml, inside "<menu>" section:
<menu>
 ...
  <showIcons>no</showIcons>
 ...
</menu>
Default value is "yes".
(New boolean variable "config_menu_user_show_icons" has been added to source
code.)

An icon is loaded (using menu_item_attach_icon()) when a new entry of menu is
created. Fortunately, I haven't notice any performance problems because of this
:).

9 years agoUpdate hungarian translation.
Laszlo Dvornik [Fri, 8 Jan 2010 21:40:40 +0000 (22:40 +0100)]
Update hungarian translation.

9 years agoPass NULL, not 0, handle invalid --id better.
Mikael Magnusson [Fri, 8 Jan 2010 20:51:35 +0000 (21:51 +0100)]
Pass NULL, not 0, handle invalid --id better.

9 years agoobxprop: Add ability to limit listing to given properties
Mikael Magnusson [Fri, 8 Jan 2010 20:51:04 +0000 (21:51 +0100)]
obxprop: Add ability to limit listing to given properties

9 years agoFix the ~ expansion regex
Mikael Magnusson [Fri, 8 Jan 2010 20:07:04 +0000 (21:07 +0100)]
Fix the ~ expansion regex

The look-around things are fixed-width but the [stuff] is 1 char, and
the $ is 0 so it didn't work.  I already used that trick for the ^,
maybe it used to work due to a bug or smth.

9 years agoMake focus_valid_target() take a desktop argument.
Dana Jansens [Fri, 8 Jan 2010 19:40:29 +0000 (14:40 -0500)]
Make focus_valid_target() take a desktop argument.

So you can find valid targets on desktops other than the currently visible one

9 years agouse the valid_focus_target() method for choosing what to show in the client list...
Dana Jansens [Fri, 8 Jan 2010 19:34:40 +0000 (14:34 -0500)]
use the valid_focus_target() method for choosing what to show in the client list menus

9 years agoallow alt-tab etc to move focus to skip_taskbar windows when they are iconic
Dana Jansens [Fri, 8 Jan 2010 19:34:22 +0000 (14:34 -0500)]
allow alt-tab etc to move focus to skip_taskbar windows when they are iconic

9 years agouse obt_xml_* to navigate the xml file (also XML tags are case sensitive)
Dana Jansens [Fri, 8 Jan 2010 19:33:58 +0000 (14:33 -0500)]
use obt_xml_* to navigate the xml file (also XML tags are case sensitive)

9 years agoignore some added tests
Dana Jansens [Fri, 8 Jan 2010 18:22:09 +0000 (13:22 -0500)]
ignore some added tests

9 years agoDon't handle input events on prompts if they should be used for a binding/menu instead.
Dana Jansens [Fri, 8 Jan 2010 15:45:24 +0000 (10:45 -0500)]
Don't handle input events on prompts if they should be used for a binding/menu instead.

Also, be more careful about making the prompt buttons look pressed, don't make them pressed from a motion notify event if they didnt first handle the press.

9 years agoMerge branch 'backport' into work
Dana Jansens [Fri, 8 Jan 2010 15:22:30 +0000 (10:22 -0500)]
Merge branch 'backport' into work

Conflicts:

Makefile.am
openbox/actions/focus.c
openbox/config.c
openbox/event.c
openbox/menuframe.c

9 years agoChange Usage translation in japanese, this is what gtk uses
Mikael Magnusson [Thu, 17 Dec 2009 16:24:50 +0000 (17:24 +0100)]
Change Usage translation in japanese, this is what gtk uses

9 years agomake Home and End keys navigate to top/bottom of the active menu
Dana Jansens [Fri, 8 Jan 2010 14:04:25 +0000 (09:04 -0500)]
make Home and End keys navigate to top/bottom of the active menu

9 years agoUse submenuShowDelay when navigating menus with the keyboard
Dana Jansens [Fri, 8 Jan 2010 14:00:00 +0000 (09:00 -0500)]
Use submenuShowDelay when navigating menus with the keyboard

9 years agoFix a crash when moving into a menu on top of a separator and nothing is selected
Dana Jansens [Wed, 6 Jan 2010 23:58:27 +0000 (18:58 -0500)]
Fix a crash when moving into a menu on top of a separator and nothing is selected

9 years agoImproved menu behaviour
Dana Jansens [Wed, 6 Jan 2010 22:30:42 +0000 (17:30 -0500)]
Improved menu behaviour

Make 'left' key in a menu close it's visible child menu and move to the parent
  properly.
Make clicking on a menu item in a menu close any of its grandchildren and
  remove focus from its children, effectively focusing the menu item you
  clicked on.

9 years agoChange the openbox website to openbox.org
Dana Jansens [Wed, 6 Jan 2010 18:41:15 +0000 (13:41 -0500)]
Change the openbox website to openbox.org

9 years agoadd a manpage for obxprop
Dana Jansens [Wed, 6 Jan 2010 18:39:02 +0000 (13:39 -0500)]
add a manpage for obxprop

9 years agoAdd a --root option for obxprop
Dana Jansens [Wed, 6 Jan 2010 18:24:41 +0000 (13:24 -0500)]
Add a --root option for obxprop

9 years agoAllow infinite delay for submenu show/hide by using a negative value.
Dana Jansens [Mon, 4 Jan 2010 20:26:10 +0000 (15:26 -0500)]
Allow infinite delay for submenu show/hide by using a negative value.

9 years agoSome fixes for the submenu hide delay code
Dana Jansens [Mon, 4 Jan 2010 20:07:10 +0000 (15:07 -0500)]
Some fixes for the submenu hide delay code

When nothing in a menu is selected, go back to selecting the open submenu.
Adjust the LeaveNotify event handling to only respond when there is not a
  EnterNotify coming for the same menu frame.
Change the default submenu show/hide delays.
Have the default values for submenu show/hide match the default rc.xml

9 years agoimprove submenu hide delay
Alexey Korop [Mon, 4 Jan 2010 18:21:12 +0000 (13:21 -0500)]
improve submenu hide delay

9 years agoRevert "Don't hide submenus immediately when unselecting the parent's entry"
Dana Jansens [Tue, 22 Dec 2009 14:31:50 +0000 (09:31 -0500)]
Revert "Don't hide submenus immediately when unselecting the parent's entry"

This reverts commit 828c095c8b5a2df96a38faaeb8a0df504e68e70f.

9 years agoRevert "Fix the delayed hiding of submenus, so that they don't end up hidden while...
Dana Jansens [Tue, 22 Dec 2009 14:31:38 +0000 (09:31 -0500)]
Revert "Fix the delayed hiding of submenus, so that they don't end up hidden while the entry is selected"

This reverts commit 8ada991d829671ab5e6dd4c5526b6a0238ba6a16.

9 years agoRevert "A fix for delayed hiding of submenus."
Dana Jansens [Tue, 22 Dec 2009 14:31:24 +0000 (09:31 -0500)]
Revert "A fix for delayed hiding of submenus."

This reverts commit 1fb198410e9d3ca660d91d1049249db0f2f47732.

9 years agofix a broken if statement (bug #4464)
Dana Jansens [Wed, 6 Jan 2010 02:37:58 +0000 (21:37 -0500)]
fix a broken if statement (bug #4464)

9 years agoMake the Focus action stop all interactive actions (Fixes bug #4436)
Dana Jansens [Mon, 4 Jan 2010 21:25:13 +0000 (16:25 -0500)]
Make the Focus action stop all interactive actions (Fixes bug #4436)

Old < 3.4.8 Openbox versions would stop focus cycling when focus moved.  Now that is not the case, but you should be able to stop it by Choosing a window explicitly still.

9 years agoSet the XDG_MENU_PREFIX to "kde-" when running an Openbox/KDE session.
Dana Jansens [Sat, 2 Jan 2010 20:49:39 +0000 (15:49 -0500)]
Set the XDG_MENU_PREFIX to "kde-" when running an Openbox/KDE session.

9 years agoreflect the change that parse.c/h was renamed to xml.c/h in the file header comments
Dana Jansens [Mon, 28 Dec 2009 18:24:08 +0000 (12:24 -0600)]
reflect the change that parse.c/h was renamed to xml.c/h in the file header comments

9 years agowhen holding Shift for the client list menus, bring the selected client to the curren...
Dana Jansens [Tue, 22 Dec 2009 16:44:07 +0000 (11:44 -0500)]
when holding Shift for the client list menus, bring the selected client to the current desktop (Request #4284)

9 years agocheck more headers before including them
Dana Jansens [Mon, 21 Dec 2009 21:17:48 +0000 (16:17 -0500)]
check more headers before including them

9 years agorename the obt_parse library to obt_xml (since it is very xml specific)
Dana Jansens [Mon, 21 Dec 2009 19:04:39 +0000 (14:04 -0500)]
rename the obt_parse library to obt_xml (since it is very xml specific)

9 years agoadd obt_parse_save_file() method to the obt parse library
Dana Jansens [Mon, 21 Dec 2009 17:59:17 +0000 (12:59 -0500)]
add obt_parse_save_file() method to the obt parse library

9 years agoSet up work for making a 3.5 prerelease.
Dana Jansens [Mon, 21 Dec 2009 15:53:41 +0000 (10:53 -0500)]
Set up work for making a 3.5 prerelease.

Set version stuff to 3.5.0-rc1.
Copy the CHANGELOG from 3.4-working.
Rename the obt-4.0 and obrender-4.0 pkgconfig stuff to obt-3.5 and obrender-3.5
Rename the "render" directory to "obrender" so that the public headers can be
  installed in <obrender/*>

9 years agoMerge branch 'backport' into work
Dana Jansens [Mon, 21 Dec 2009 15:43:38 +0000 (10:43 -0500)]
Merge branch 'backport' into work

9 years agomake a config option for the inactive osd font
Dana Jansens [Mon, 21 Dec 2009 15:42:58 +0000 (10:42 -0500)]
make a config option for the inactive osd font

9 years agoAdd themeing options for inactive osd labels, osd.inactive.label.*
Dana Jansens [Mon, 21 Dec 2009 15:35:06 +0000 (10:35 -0500)]
Add themeing options for inactive osd labels, osd.inactive.label.*

(rename the current osd label options from osd.label to osd.active.label, similar to the window.(in)?active.label options.

9 years agoRename obprop to obxprop (Fixes bug #4419)
Dana Jansens [Mon, 21 Dec 2009 14:59:28 +0000 (09:59 -0500)]
Rename obprop to obxprop (Fixes bug #4419)

Avoids collision with openbabel.

9 years agoA fix for delayed hiding of submenus.
Dana Jansens [Mon, 21 Dec 2009 14:51:11 +0000 (09:51 -0500)]
A fix for delayed hiding of submenus.

It fixes this:
(Mikachu) dana: i think his issue was if you have a menu with two
          submenus s1 and s2, open the s1 submenu, then point to s2 and
          go into s1, then after the delay, s1 is hidden despite you
          being inside it still, because s2 was never unselected

9 years agoAdd a focus option, unfocusOnLeave that removes focus from a window when the pointer...
Dana Jansens [Thu, 17 Dec 2009 21:20:03 +0000 (16:20 -0500)]
Add a focus option, unfocusOnLeave that removes focus from a window when the pointer leaves it

This uses the same delay to unfocus as is used for focusing on enter

9 years agoMerge branch 'backport' into work
Dana Jansens [Fri, 18 Dec 2009 16:39:56 +0000 (11:39 -0500)]
Merge branch 'backport' into work

Conflicts:

openbox/screen.c

9 years agoShow the desktop popup as long as the interactive desktop switch is active
Dana Jansens [Thu, 17 Dec 2009 19:07:05 +0000 (14:07 -0500)]
Show the desktop popup as long as the interactive desktop switch is active

9 years agoAllow delayed focus to work while in a menu or move/resize since it wont kill them now
Dana Jansens [Thu, 17 Dec 2009 21:03:20 +0000 (16:03 -0500)]
Allow delayed focus to work while in a menu or move/resize since it wont kill them now

9 years agoHide the focus popup if we change desktops and one of the windows in it disappears
Dana Jansens [Thu, 17 Dec 2009 20:43:46 +0000 (15:43 -0500)]
Hide the focus popup if we change desktops and one of the windows in it disappears

9 years agoDon't move focus away from a window if it was focused and it didnt hide when switchin...
Dana Jansens [Thu, 17 Dec 2009 20:40:25 +0000 (15:40 -0500)]
Don't move focus away from a window if it was focused and it didnt hide when switching desktops

9 years agoMerge branch 'backport' into work
Dana Jansens [Thu, 17 Dec 2009 15:33:39 +0000 (10:33 -0500)]
Merge branch 'backport' into work

9 years agoMake the relative desktop switching actions interactive
Dana Jansens [Wed, 16 Dec 2009 20:17:08 +0000 (15:17 -0500)]
Make the relative desktop switching actions interactive

The desktop popup can now be shown "permanently" in which case it stays until
you tell it to hide.

9 years agoRanges of 0 width cannot intersect (Fixes bug #3717)
Dana Jansens [Thu, 17 Dec 2009 15:22:05 +0000 (10:22 -0500)]
Ranges of 0 width cannot intersect (Fixes bug #3717)

9 years agoAllow the interactive cancel function to be optional
Dana Jansens [Wed, 16 Dec 2009 19:41:49 +0000 (14:41 -0500)]
Allow the interactive cancel function to be optional

9 years agoAdd some directional focus bindings to the default config file.
Dana Jansens [Wed, 16 Dec 2009 19:00:01 +0000 (14:00 -0500)]
Add some directional focus bindings to the default config file.

9 years agoMake it possible for an action name to choose whether it is interactive or not based...
Dana Jansens [Thu, 17 Dec 2009 15:23:48 +0000 (10:23 -0500)]
Make it possible for an action name to choose whether it is interactive or not based on its options.

This way we can use the same name with options for an interactive action and a
non-interactive action.

Shorten the names of the ObActionsInteractive* functions to ObActionsI*

Add a ObActionsIPreFunc that is called for interactive actions
before the interactivity (key/mouse grab) is started.

Add a ObActionsIPostFunc that is called for interactive actions
after the interactiviti (key/mouse grab) has ended.

9 years agoadd a test that iconifies a window after a short delay
Dana Jansens [Wed, 16 Dec 2009 21:46:13 +0000 (16:46 -0500)]
add a test that iconifies a window after a short delay

9 years agoCalculate the work area using other already existing and better maintained and truste...
Dana Jansens [Wed, 16 Dec 2009 21:40:07 +0000 (16:40 -0500)]
Calculate the work area using other already existing and better maintained and trusted code

9 years agoFix resistance against struts, the resistance was always 0
Dana Jansens [Wed, 16 Dec 2009 21:05:56 +0000 (16:05 -0500)]
Fix resistance against struts, the resistance was always 0

9 years agoMerge branch 'backport' into work
Dana Jansens [Wed, 16 Dec 2009 20:39:25 +0000 (15:39 -0500)]
Merge branch 'backport' into work

Conflicts:

obt/keyboard.c
obt/keyboard.h
openbox/event.c
openbox/menuframe.c
openbox/moveresize.c
openbox/openbox.c
openbox/screen.c

9 years agoFix the delayed hiding of submenus, so that they don't end up hidden while the entry...
Dana Jansens [Wed, 16 Dec 2009 20:32:51 +0000 (15:32 -0500)]
Fix the delayed hiding of submenus, so that they don't end up hidden while the entry is selected

9 years agoIgnore enter events caused by closing openbox menus
Dana Jansens [Wed, 16 Dec 2009 15:43:22 +0000 (10:43 -0500)]
Ignore enter events caused by closing openbox menus

9 years agoComment out some debug messages for the image cache
Dana Jansens [Tue, 15 Dec 2009 21:03:35 +0000 (16:03 -0500)]
Comment out some debug messages for the image cache

9 years agoMake the NET_WORKAREA hint work the way it used to, across all monitors
Dana Jansens [Tue, 15 Dec 2009 19:53:29 +0000 (14:53 -0500)]
Make the NET_WORKAREA hint work the way it used to, across all monitors

The spec is not going to change this hint, but rather add a new one. So for now
just revert to the old behaviour.

9 years agoDon't hide submenus immediately when unselecting the parent's entry
Dana Jansens [Mon, 14 Dec 2009 23:18:10 +0000 (18:18 -0500)]
Don't hide submenus immediately when unselecting the parent's entry

This allows users to move to the submenu across other menu items (the same
as they already could across other menu items that were submenus).

This uses the same config delay for hiding submenus as it does for showing
new ones.

Based off the ideas in bug #3762.

9 years agoLet menus place themselves on monitors where the mouse is not present
Dana Jansens [Mon, 14 Dec 2009 21:08:30 +0000 (16:08 -0500)]
Let menus place themselves on monitors where the mouse is not present

This fixes a bug which forced menus to show up on the same monitor as the
mouse pointer.

9 years agoAllow the user to bind more than one keycode to a keysym for Ob Menus/Move/Resize
Dana Jansens [Mon, 14 Dec 2009 20:40:09 +0000 (15:40 -0500)]
Allow the user to bind more than one keycode to a keysym for Ob Menus/Move/Resize

If the user has escape bound to more than one keycode then they can use any of
them to close a menu.  This change applies to the hardcoded keys in openbox,
which are used for the menus and for move/resize, and maybe other places.

9 years agoMerge branch 'backport' into work
Dana Jansens [Mon, 14 Dec 2009 20:25:57 +0000 (15:25 -0500)]
Merge branch 'backport' into work

9 years agoAdd an obprop tool which can print UTF-8 strings properly, for our users.
Dana Jansens [Mon, 14 Dec 2009 20:07:20 +0000 (15:07 -0500)]
Add an obprop tool which can print UTF-8 strings properly, for our users.

9 years agoIn the applications section tell the user to use _OB_* properties for the name/class...
Dana Jansens [Mon, 14 Dec 2009 16:27:50 +0000 (11:27 -0500)]
In the applications section tell the user to use _OB_* properties for the name/class/role, and refer to the still-non-existant obprop tool.