fixed LM_TitleEdgeTop so that it is always zero for maximized windows, in order to respect Fitts law

svn path=/trunk/KDE/kdebase/workspace/; revision=1020015
icc-effect-5.14.5
Hugo Pereira Da Costa 2009-09-05 03:12:26 +00:00
parent 8c826845e8
commit f100fb0537
1 changed files with 4 additions and 3 deletions

View File

@ -170,9 +170,10 @@ namespace Nitrogen
{
int border = 0;
if( !( respectWindowState && maximized ))
{ border = TFRAMESIZE; }
if( configuration().drawTitleOutline() ) border += HFRAMESIZE/2;
{
border = TFRAMESIZE;
if( configuration().drawTitleOutline() ) border += HFRAMESIZE/2;
}
return border + extraBorder;