diff options
author | rathnor <rathnor> | 2003-06-26 12:22:43 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-06-26 12:22:43 (GMT) |
commit | 4993e2f36331299aba6a42df2896e49d4c98b111 (patch) | |
tree | e130579b68dbf4244913e676060d0f6fd624140b /src/Gnome.cc | |
parent | a1eb047c00e96295e482564311db9075d05ce034 (diff) | |
download | fluxbox-4993e2f36331299aba6a42df2896e49d4c98b111.zip fluxbox-4993e2f36331299aba6a42df2896e49d4c98b111.tar.bz2 |
speedups for having lots of stuck windows
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r-- | src/Gnome.cc | 7 |
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 | ||
220 | void Gnome::updateWorkspace(FluxboxWindow &win) { | 220 | void 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; |