]> Dogcows Code - chaz/openbox/blobdiff - src/client.cc
better focus passing around for now
[chaz/openbox] / src / client.cc
index a2106d867749f901fa0d78d85b3cea03af65b64c..381305f75cf4962de8198f1f322cc491a6a04a0b 100644 (file)
@@ -966,6 +966,22 @@ void OBClient::changeState()
   
 }
 
+
+void OBClient::setStackLayer(int l)
+{
+  if (l == 0)
+    _above = _below = false;  // normal
+  else if (l > 0) {
+    _above = true;
+    _below = false; // above
+  } else {
+    _above = false;
+    _below = true;  // below
+  }
+  changeState();
+}
+
+
 void OBClient::shade(bool shade)
 {
   if (shade == _shaded) return; // already done
This page took 0.024719 seconds and 4 git commands to generate.