On Sat, 5 Apr 2003 14:11:06 -0800
"Sean 'Shaleh' Perry" <[EMAIL PROTECTED]> wrote:
> >
> > I've tried a couple of variations like that and the 'close'
> > seems to be ignored.
> > I've missed something, of course.
> >
>
> mind pasting all of the itemClicked method? close() is the proper way to do
> it.
I noticed that I hadn't removed the check for button > 2!
void Clientmenu::itemSelected(int button, unsigned int index) {
BlackboxWindow *win = wkspc->getWindow(index);
if (win) {
if (button == 1) {
if (! wkspc->isCurrent()) wkspc->setCurrent();
wkspc->raiseWindow(win);
win->setInputFocus();
} else if (button == 2) {
if (! wkspc->isCurrent()) win->deiconify(True, False);
wkspc->raiseWindow(win);
win->setInputFocus();
} else if (button == 3) {
win->close();
}
}
Workspacemenu* wkspcmenu = wkspc->getScreen()->getWorkspacemenu();
if (! (wkspcmenu->isTorn() || isTorn())) hide();
}
>
> Also, are you running the blackbox binary with your changes or the system one?
> This one seems to bite everyone at least once.
>
Yes, it has. But 'ps ax' shows the test version.
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> List archives: http://asgardsrealm.net/lurker/splash/index.html
> Trouble? Contact [EMAIL PROTECTED]
>
--
************************************************************************
* Dave Serls Littleton, CO, USA *
* dashs.denver.co.us sorrybiscuit.com *
************************************************************************
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives: http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]