[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNOME + Xt bug?: XtPopup(shell, grab) not raising shell to the top of the stack




An old X application behaves differently on Linux depending on whether or not you're running KDE or  GNOME.  Running Gnome, a shell that is raised with XtPopup does not rise to the top of the stack, but intead goes to the bottom.  Calls to XRaiseWindow and XMapRaised do not help in forcing it to the top.  Can anyone suggest a solution?  Thanks in advance.

/*  Raise shell.  */
    XtPopup(shell, XtGrabNone);

/*  Not raised, try and force it to the top of the stack.  */
  XRaiseWindow(XtDisplay(shell),XtWindow(shell));
  XMapRaised(XtDisplay(shell),XtWindow(shell));
  XFlush(XtDisplay(shell));
  XSync(XtDisplay(shell),False);

/*  Still not raised!  */


--

Peter 

[X Forum]     [Xorg]     [XFree86]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Fontconfig]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]     [Linux Kernel]

Powered by Linux