[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: David Faure <david () mandrakesoft ! com>
Date: 2001-06-19 12:12:59
[Download RAW message or body]
On Tuesday 19 June 2001 14:44, Matthias Ettrich wrote:
> 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.
Actually, I observe the hanging when clicking on kicker's taskbar items to
switch between windows (since alt-tab was dangerous, I got used to clicking
on the taskbar items). And look at what I just found :
./core/container_panel.cpp: if ( XGrabPointer( qt_xdisplay(), winId(), true, ButtonPressMask,
Maybe you can check that the use of XGrabPointer there is ok ?
> > > I'll try to look into.
> >
> > Thanks but without an environment where it happens I wonder how ? ;-)
>
> Meditation, sunshine and other metaphysical experiences :)
LOL :)
--
Per his initials, God was simply a "Great Oop Developer" (Richard Bos)
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic