deiconify on beep for X
Constantin Kaplinsky
const "at" ce.cctpu.edu.ru
Thu, 08 Nov 2001 12:16:41 +0000
Hello Tim,
>>>>> "TF" == Tim Freeman <tim "at" fungible.com> writes:
TF> Here's a patch to VNC 3.3.3r2 that makes the Unix VNC viewer
TF> deiconify on beep. This is an option for the NT version and I
TF> really liked it. (Actually, this is a patch against TightVNC, but
TF> I think this part of the code is the same for both.)
TF> It seemed harder than it should have been. Did I take the right
TF> approach?
Well, first of all I must say that I'm not an X expert in any way. But
why not to do it like this:
case rfbBell:
XBell(dpy, 0);
{
Window toplevelWin;
toplevelWin = XtWindow(toplevel);
XMapWindow(dpy, toplevelWin);
}
break;
I've tested it, and it seems to work fine.
Could somebody tell me is there something wrong in this code? I'd like
to include this feature into the TightVNC 1.2.2 (but I think I'd
rather use XMapRaised() instead of XMapWindow()).
--
With Best Wishes,
Constantin
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------