]> Dogcows Code - chaz/openbox/blobdiff - src/Workspace.cc
save the titlebarLayout in the default config
[chaz/openbox] / src / Workspace.cc
index b39769e9e9f91c8abe8d05db9725b86db3211a31..38581d5a7cd691204b652d1a46ba53e9ef9729a6 100644 (file)
@@ -399,13 +399,13 @@ bool rowLRTB(const Rect &first, const Rect &second){
 bool colLRTB(const Rect &first, const Rect &second){
   if (first.x()==second.x())
      return first.y()<second.y();
-  return first.x()<second.y();
+  return first.x()<second.x();
 }
  
 bool colLRBT(const Rect &first, const Rect &second){
   if (first.x()==second.x())
      return first.y()+first.h()>second.y()+second.h();
-  return first.x()<second.y();
+  return first.x()<second.x();
 }
 
 bool colRLTB(const Rect &first, const Rect &second){
@@ -606,6 +606,7 @@ void Workspace::placeWindow(OpenboxWindow &win) {
     place = colSmartPlacement(window_size, space);
     break;
   case BScreen::UnderMousePlacement:
+  case BScreen::ClickMousePlacement:
     place = underMousePlacement(window_size, space);
     break;
   } // switch
This page took 0.026749 seconds and 4 git commands to generate.