From 0ed5a14eb05e7adc494e9b7f609aea0cfdac0ac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Mon, 24 Oct 2005 14:00:26 +0000 Subject: [PATCH] Don't put the close popup entry right under the mouse when the window is at the bottom screen edge. These delayed geometry computations sometimes really suck. svn path=/trunk/KDE/kdebase/workspace/; revision=473691 --- useractions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/useractions.cpp b/useractions.cpp index 2c2d5fb3c0..0bb0cb4d84 100644 --- a/useractions.cpp +++ b/useractions.cpp @@ -996,6 +996,7 @@ void Workspace::showWindowMenu( const QRect &pos, Client* cl ) else { QRect area = clientArea(ScreenArea, QPoint(x, y), currentDesktop()); + clientPopupAboutToShow(); // needed for sizeHint() to be correct :-/ int popupHeight = p->sizeHint().height(); if (y + popupHeight < area.height()) p->exec( QPoint( x, y ) );