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=776040icc-effect-5.14.5
parent
2b30875920
commit
88c7325914
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue