correctly remove client borders when mapping a window with NW gravity
This commit is contained in:
parent
5f78b51429
commit
fdd5338fc1
1 changed files with 0 additions and 4 deletions
|
@ -674,8 +674,6 @@ void OBClient::toggleClientBorder(bool addborder)
|
||||||
case NorthWestGravity:
|
case NorthWestGravity:
|
||||||
case WestGravity:
|
case WestGravity:
|
||||||
case SouthWestGravity:
|
case SouthWestGravity:
|
||||||
if (addborder) x += _border_width;
|
|
||||||
else x -= _border_width;
|
|
||||||
break;
|
break;
|
||||||
case NorthEastGravity:
|
case NorthEastGravity:
|
||||||
case EastGravity:
|
case EastGravity:
|
||||||
|
@ -688,8 +686,6 @@ void OBClient::toggleClientBorder(bool addborder)
|
||||||
case NorthWestGravity:
|
case NorthWestGravity:
|
||||||
case NorthGravity:
|
case NorthGravity:
|
||||||
case NorthEastGravity:
|
case NorthEastGravity:
|
||||||
if (addborder) y += _border_width;
|
|
||||||
else y -= _border_width;
|
|
||||||
break;
|
break;
|
||||||
case SouthWestGravity:
|
case SouthWestGravity:
|
||||||
case SouthGravity:
|
case SouthGravity:
|
||||||
|
|
Loading…
Reference in a new issue