Hm, I don't see both placement methods being selected if I start in something besides 
UnderMousePlacement. Have you tried this patch? When I created the patch for 
0.65.0alpha1, I noticed a few problems in the old one with a couple 
setItemSelected()'s.

As far as de-selecting Row/ColPlacementDirection, there's a few ways I could think to 
do it.

First and easiest would be to simply test if UnderMousePlacement is enabled. If it is, 
then don't even bother printing the section of the menu that deals with 
Row/ColPlacementDirection.

Problem with this, if you select something that uses one of the Placement Directions, 
you have to re-open the menu to see those options.

A more complicated way would be to do what I've done. Make Configmenu.cc a nasty, 
typical logan program. ;) Tis all messy, many tests for PlacementPolicy and such.

The way it works right now, if you select UnderMousePlacement, 
Row/ColPlacementDirection are set to a new type I've added (Row/ColNone). If you go 
from UnderMousePlacement to something else, then the defaults of Left To Right and Top 
To Bottom are used.

I want to make this good, and would really like to see Under Mouse Placement go into 
blackbox eventually, only because I'd use it and don't wanna keep updatin patches 
every other release :)

Patch has been updated.

ftp://beer.dct.com/pub/WindowManagers/Blackbox/patches/
        blackbox-0.65.0alpha1-under_mouse_placement-0.2.diff

Mike

On Thursday, April 18, 2002 at 07:28PM, Marc Wilson wrote:
>On Thu, Apr 18, 2002 at 02:48:18PM -0500, Mike wrote:
>> The under_mouse_placement patch is pretty clean, just select it from the 
>> Configuration -> Window Placement menu.
>
>under_mouse_placement breaks the config menu visually, although not
>functionally.  If you are NOT using it, when you start blackbox, it and
>whatever placement method you are actually using will be highlighted,
>although under_mouse isn't in operation.
>
>It also doesn't turn off the options below it, and I think it should, when
>it's selected. :)
>
>It'd be nice if it was a little more selective about what it was trying to
>place, too... I'm working on that one.  That, or a way to turn it off when
>gqmpeg goes nuts. :)
>
>Actually, there's a good question for shaleh... hey, is the config menu
>exposed?  Could something like bbkeys manipulate it?
>
>-- 
>Marc Wilson
>[EMAIL PROTECTED]
>http://members.cox.net/msw

Reply via email to