xgetimage / pseudo-transparency

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

 



Hi

I am trying to make pseudo transparent windows on my QT3 application -
but I cannot get it to work.
>From the QT api I have the following (relevant) info available:
- window id
- X11 Screen
- X11 Display

In order to get the background image from X11, I have tried something like

XImage *xim = XGetImage(window->x11AppDisplay(),
DefaultRootWindow(window->x11AppDisplay()),
       window->x(), window->y(), window->width(), window->height(), -1,
ZPixmap);


But it seems to give a distorted image.

Any help would be apreciated... Maybe a link to a standard example on
pseudo transparency. I would like to keep other APIs (such as gtk) out
of my code...

Best regards
Jørn Christensen


_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux