aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2002-09-12 14:55:11 (GMT)
committerrathnor <rathnor>2002-09-12 14:55:11 (GMT)
commite54676573689d353bf53a4d6225ba1206ddf10fa (patch)
tree1f7dcc90b3613f46f469dcece4acf5ebfbe81221 /src/Workspace.cc
parent8a728b46fd05b872b5daf9632af478f1c098dd4f (diff)
downloadfluxbox-e54676573689d353bf53a4d6225ba1206ddf10fa.zip
fluxbox-e54676573689d353bf53a4d6225ba1206ddf10fa.tar.bz2
Fixes to sticky window + focus handling. Particularly for
next/prevFocus crashes. Also, sticky windows are now always reassociated to the active workspace.
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc
index 653907c..7d87a20 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Workspace.cc,v 1.29 2002/09/10 11:03:58 fluxgen Exp $ 25// $Id: Workspace.cc,v 1.30 2002/09/12 14:55:11 rathnor Exp $
26 26
27#include "Workspace.hh" 27#include "Workspace.hh"
28 28
@@ -137,7 +137,8 @@ int Workspace::addWindow(FluxboxWindow *w, bool place) {
137 //update menugraphics 137 //update menugraphics
138 m_clientmenu.update(); 138 m_clientmenu.update();
139 139
140 screen->updateNetizenWindowAdd(w->getClientWindow(), m_id); 140 if (!w->isStuck())
141 screen->updateNetizenWindowAdd(w->getClientWindow(), m_id);
141 142
142 raiseWindow(w); 143 raiseWindow(w);
143 144
@@ -191,8 +192,9 @@ int Workspace::removeWindow(FluxboxWindow *w) {
191 192
192 m_clientmenu.remove(w->getWindowNumber()); 193 m_clientmenu.remove(w->getWindowNumber());
193 m_clientmenu.update(); 194 m_clientmenu.update();
194 195
195 screen->updateNetizenWindowDel(w->getClientWindow()); 196 if (!w->isStuck())
197 screen->updateNetizenWindowDel(w->getClientWindow());
196 198
197 { 199 {
198 Windows::iterator it = windowList.begin(); 200 Windows::iterator it = windowList.begin();