aboutsummaryrefslogtreecommitdiff
path: root/src/Gnome.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-06-26 12:22:43 (GMT)
committerrathnor <rathnor>2003-06-26 12:22:43 (GMT)
commit4993e2f36331299aba6a42df2896e49d4c98b111 (patch)
treee130579b68dbf4244913e676060d0f6fd624140b /src/Gnome.cc
parenta1eb047c00e96295e482564311db9075d05ce034 (diff)
downloadfluxbox_pavel-4993e2f36331299aba6a42df2896e49d4c98b111.zip
fluxbox_pavel-4993e2f36331299aba6a42df2896e49d4c98b111.tar.bz2
speedups for having lots of stuck windows
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r--src/Gnome.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Gnome.cc b/src/Gnome.cc
index 2b12b7f..240c691 100644
--- a/src/Gnome.cc
+++ b/src/Gnome.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Gnome.cc,v 1.27 2003/06/23 14:16:04 rathnor Exp $ 22// $Id: Gnome.cc,v 1.28 2003/06/26 12:22:42 rathnor Exp $
23 23
24#include "Gnome.hh" 24#include "Gnome.hh"
25 25
@@ -218,7 +218,10 @@ void Gnome::updateWorkspaceCount(BScreen &screen) {
218} 218}
219 219
220void Gnome::updateWorkspace(FluxboxWindow &win) { 220void Gnome::updateWorkspace(FluxboxWindow &win) {
221 int val = win.workspaceNumber(); 221 int val = win.workspaceNumber();
222 if (win.isStuck()) {
223 val = -1;
224 }
222#ifdef DEBUG 225#ifdef DEBUG
223 cerr<<__FILE__<<"("<<__LINE__<<"): setting workspace("<<val<< 226 cerr<<__FILE__<<"("<<__LINE__<<"): setting workspace("<<val<<
224 ") for window("<<&win<<")"<<endl; 227 ") for window("<<&win<<")"<<endl;