On Monday 24 January 2005 02:45, Bradley T Hughes wrote:
> Jason 'vanRijn' Kasper wrote:
> >> 2. Why do shaded windows unshade when you select them with bbkeys'
> >> nextwindow? It doesn't happen if you focus them via mouse.
> >
> > Hm.  _NET_ACTIVE_WINDOW is being sent to blackbox when that happens,
> > I believe.  I think the spec is fuzzy on what the window manager is
> > supposed to do with the message with regards to a shaded window.
>
> Blackbox treats a _NET_ACTIVE_WINDOW client message much differently
> than normal a normal focus event.  If the window is iconified, it's
> restored; if the window is shaded, it's unshaded; if the window isn't on
> the current workspace, the current workspace is changed.

Yes, this makes sense.  Actually, I'm surprised that bbkeys is listing the 
shaded windows in its list and cycling through them.  I think metacity and 
kwin set the iconic state on shaded windows, so these don't show up in the 
cycle list with those wm's.

>
> >> 3. Suggestion: just like there's a cycleMenuX and cycleMenuY, it
> >> would be nice to have as an alternative a cycleMenuCenterX and Y,
> >> which the menu would center around. This way I could specify the
> >> center of the screen and get the position of the old bbkeys cycle
> >> menu. Or is there some other way to do this?
> >
> > PLEASE send a patch for this, if you can figure it out.  =:)
> > Blackbox's Menu class that I am using does not expose information
> > such as the width or height of its Window.   Therefore, it is
> > impossible currently for bbkeys to know how big the menu will be and
> > center it.  This is mentioned in the man page, iirc. The cycleMenuX
> > and cycleMenuY are only there as a kludge because there's really no
> > other way to do it unless nyz relents and changes Menu or I suddenly
> > develop an intolerable sense of boredom and write a completely new
> > class.  =:)
>
> I still maintain that bt::Menu is the wrong class for the job you're
> doing (especially since bt::Menu grabs the mouse and keyboard when
> shown).  However, I'll capitulate and give you a kludged workaround.
> Give me a few days.
>

heh.  I understand your points, however, as I've been using bbkeys's popup 
menu with the full mouse and keyboard grab, I've REALLY come to like how I 
can either <alt-tab> through it OR use the mouse once I have it up and simply 
click the one I want.  Neither kwin's nor metacity's cycle window do this and 
it's annoying now that I've gotten used to bbkeys's use of blackbox's Menu.  
=:)

Thanks for the anticipated workaround tho!!!  =:)

-- 

,-----------------------------------------------------------------//
| Jason 'vanRijn' Kasper ::  Numbers 6:22-26 
 `
 | All brontosauruses are thin at one end, much MUCH thicker 
 | in the middle, and then thin again at the far end.  That is 
 | the theory that I have and which is mine, and what it is too.  
 ,
| bash$ :(){ :|:&};:
`----------------------//

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html

Reply via email to