]> Dogcows Code - chaz/openbox/commitdiff
correctly remove client borders when mapping a window with NW gravity
authorDana Jansens <danakj@orodu.net>
Tue, 24 Dec 2002 08:28:03 +0000 (08:28 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 24 Dec 2002 08:28:03 +0000 (08:28 +0000)
src/client.cc

index 8a6c1b11df7fd328c11f8458335fb1e3cb42e97b..a0dc6d76b159202ff0a7587f44a22689a891acf4 100644 (file)
@@ -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:
This page took 0.024402 seconds and 4 git commands to generate.