store focusMousePosition on unmapNotify events

BUG: 92290
FIXED-IN: 4.9
REVIEW: 104620
This commit is contained in:
Thomas Lübking 2012-04-16 18:42:10 +02:00
parent 651d4e4fbf
commit 603eaca9d4

View file

@ -1588,6 +1588,7 @@ bool Unmanaged::windowEvent(XEvent* e)
}
switch(e->type) {
case UnmapNotify:
workspace()->updateFocusMousePosition(QCursor::pos());
unmapNotifyEvent(&e->xunmap);
break;
case MapNotify: