]> Dogcows Code - chaz/openbox/blobdiff - src/client.cc
dont hide windows when switching to the current workspace
[chaz/openbox] / src / client.cc
index c3ab3c63a8740f25f677c38aa7c977fae1195b9b..f07de8df40d8d6d00c91bf2b5d3b380cb6f90806 100644 (file)
@@ -655,6 +655,8 @@ void OBClient::setWMState(long state)
 
 void OBClient::setDesktop(long target)
 {
+  if (target == _desktop) return;
+  
   printf("Setting desktop %ld\n", target);
   assert(target >= 0 || target == (signed)0xffffffff);
   //assert(target == 0xffffffff || target < MAX);
This page took 0.019723 seconds and 4 git commands to generate.