]> Dogcows Code - chaz/openbox/blobdiff - src/client.cc
global python scripts. client motion/resizing is all done via python now
[chaz/openbox] / 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.020059 seconds and 4 git commands to generate.