From a72d70beb381b9cd6f2af301b52ca82cdcafb299 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 22 Oct 2005 14:12:43 +0000 Subject: fix --- (limited to 'microkde/kapplication.cpp') diff --git a/microkde/kapplication.cpp b/microkde/kapplication.cpp index f36c5ae..d7c12bb 100644 --- a/microkde/kapplication.cpp +++ b/microkde/kapplication.cpp @@ -51,13 +51,15 @@ void KApplication::testCoords( int* x, int* y, int* wid, int * hei ) { int dWid = QApplication::desktop()->width() ; int dHei = QApplication::desktop()->height(); + if ( *x < 0 ) *x = 0; + if ( *y < 20 ) *y = 20 ; if ( *x + *wid > dWid ) { *x = 0; if ( *wid > dWid ) *wid = dWid; } if ( *y + *hei > dHei ) { - *y = 0; + *y = 20; if ( *hei > dHei ) *hei = dHei; } -- cgit v0.9.0.2