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=1020015icc-effect-5.14.5
parent
8c826845e8
commit
f100fb0537
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue