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.
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.
-- Bradley T. Hughes - bhughes at trolltech.com Trolltech AS - Waldemar Thranes gt. 98 N-0175 Oslo, Norway
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
List archives: http://asgardsrealm.net/lurker/splash/index.html
