From fdd5338fc1b3d1651baefc20b297e6f0064e4dee Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 24 Dec 2002 08:28:03 +0000 Subject: [PATCH] correctly remove client borders when mapping a window with NW gravity --- src/client.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/client.cc b/src/client.cc index 8a6c1b11..a0dc6d76 100644 --- a/src/client.cc +++ b/src/client.cc @@ -674,8 +674,6 @@ void OBClient::toggleClientBorder(bool addborder) case NorthWestGravity: case WestGravity: case SouthWestGravity: - if (addborder) x += _border_width; - else x -= _border_width; break; case NorthEastGravity: case EastGravity: @@ -688,8 +686,6 @@ void OBClient::toggleClientBorder(bool addborder) case NorthWestGravity: case NorthGravity: case NorthEastGravity: - if (addborder) y += _border_width; - else y -= _border_width; break; case SouthWestGravity: case SouthGravity: -- 2.45.2