diff options
Diffstat (limited to 'src/Tab.cc')
-rw-r--r-- | src/Tab.cc | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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: Tab.cc,v 1.20 2002/02/04 06:50:48 fluxgen Exp $ | 22 | // $Id: Tab.cc,v 1.21 2002/04/03 12:08:54 fluxgen Exp $ |
23 | 23 | ||
24 | #include "Tab.hh" | 24 | #include "Tab.hh" |
25 | 25 | ||
@@ -284,8 +284,10 @@ void Tab::stick() { | |||
284 | win->blackbox_attrib.flags ^= BaseDisplay::ATTRIB_OMNIPRESENT; | 284 | win->blackbox_attrib.flags ^= BaseDisplay::ATTRIB_OMNIPRESENT; |
285 | win->blackbox_attrib.attrib ^= BaseDisplay::ATTRIB_OMNIPRESENT; | 285 | win->blackbox_attrib.attrib ^= BaseDisplay::ATTRIB_OMNIPRESENT; |
286 | win->stuck = false; | 286 | win->stuck = false; |
287 | if (!win->isIconic()) | 287 | if (!win->isIconic()) { |
288 | win->getScreen()->reassociateWindow(win, -1, true); | 288 | BScreen *screen = win->getScreen(); |
289 | screen->reassociateWindow(win, screen->getCurrentWorkspace()->getWorkspaceID(), true); | ||
290 | } | ||
289 | 291 | ||
290 | } else { | 292 | } else { |
291 | win->stuck = true; | 293 | win->stuck = true; |