]> Dogcows Code - chaz/openbox/blobdiff - src/blackbox.cc
window resistance complete
[chaz/openbox] / src / blackbox.cc
index a818f12818d323a2f3c3b5651ec761b90fa15858..0e03e17817ebc9289f31b5d89bb8a95a92ad10da 100644 (file)
@@ -713,7 +713,8 @@ void Blackbox::process_event(XEvent *e) {
 
           if (win->isIconic())
             win->deiconify(False, True);
-          if (win->getWorkspaceNumber() != screen->getCurrentWorkspaceID())
+          if (! win->isStuck() &&
+              (win->getWorkspaceNumber() != screen->getCurrentWorkspaceID()))
             screen->changeWorkspaceID(win->getWorkspaceNumber());
           if (win->isVisible() && win->setInputFocus()) {
             win->getScreen()->getWorkspace(win->getWorkspaceNumber())->
This page took 0.020181 seconds and 4 git commands to generate.