[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: ParentRelative
From:       Richard Moore <rich () ipso-facto ! freeserve ! co ! uk>
Date:       2001-02-12 23:15:19
[Download RAW message or body]



Keith Packard wrote:
>
> Around 18 o'clock on Feb 12, Matthias Elter wrote:
> > Hi
> >
> > Some XLib expert around?
> >
> > If I set the background-pixmap attribute of a window to ParentRelative (n> > o 
> > matter directly or by using QWidget::setBackgroundMode(X11ParentRelative)> >  I 
> > would expect X to send me Exposure events in case the windows position 
> > relative to the parent changes. But it does not?!
>
> Then you'd expect too much; the background doesn't change the exposure
> behaviour.  Sorry.

I guess you could work around this by installing an event filter
on the parent window assuming it is a Qt widget, if it isn't I
guess you'd need to reimplement the X11EventFilter() method.

Rich.

>
> keithp@keithp.com        XFree86 Core Team              SuSE, Inc.

--
     Richard Moore		rich@ipso-facto.freeserve.co.uk
http://developer.kde.org/	rich@kde.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic