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

List:       kde-core-devel
Subject:    Re: KWin locks KDE with Alt+Tab
From:       Matthias Ettrich <ettrich () trolltech ! com>
Date:       2001-06-19 12:44:36
[Download RAW message or body]

On Tuesday 19 June 2001 13:13, David Faure wrote:
> On Tuesday 19 June 2001 13:12, Matthias Ettrich wrote:
> > On Monday 18 June 2001 23:20, David Faure wrote:
> > > (Stephan mentionned QWidget::grabMouse, does this stop X from sending
> > > mouse events, or is it Qt that filters mouse events out ? I found code
> > > for the latter, but I guess XGrabMouse intends to make X filter mouse
> > > events itself, no ?)
> >
> > yes, but then those mouse events are sent to the grabber.
>
> Ah. At the X level then. How do I find out which widget is the grabber ?
> Is QWidget::grabMouse the only place where mouse-grabbing happens ?
> (I suppose so... unless some apps use XGrabMouse directly I guess).

Yes, both kwin and kglobalaccel call XGrabPointer and XGrabKeyboard directly.

>
> > I'll try to look into.
>
> Thanks but without an environment where it happens I wonder how ? ;-)

Meditation, sunshine and other metaphysical experiences :)

Matthias

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

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