We need to explicitly select for PropertyChangeMask, so that we see

PropertyNotify events for effects. This fixes the task bar tooltip
showing the preview for the first item hovered even when you move to
another item.

svn path=/trunk/KDE/kdebase/workspace/; revision=776040
This commit is contained in:
Benjamin K. Stuhl 2008-02-17 07:45:49 +00:00
parent 2b30875920
commit 88c7325914

View file

@ -53,7 +53,7 @@ bool Unmanaged::track( Window w )
return false;
}
setWindowHandles( w, w ); // the window is also the frame
XSelectInput( display(), w, attr.your_event_mask | StructureNotifyMask );
XSelectInput( display(), w, attr.your_event_mask | StructureNotifyMask | PropertyChangeMask);
geom = QRect( attr.x, attr.y, attr.width, attr.height );
vis = attr.visual;
bit_depth = attr.depth;