summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Tab.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Tab.cc b/src/Tab.cc
index 1a791c8..2acc081 100644
--- a/src/Tab.cc
+++ b/src/Tab.cc
@@ -252,16 +252,16 @@ void Tab::stick() {
252 for (; first!=0; first = first->m_next) { 252 for (; first!=0; first = first->m_next) {
253 FluxboxWindow *win = first->m_win; //just for convenient 253 FluxboxWindow *win = first->m_win; //just for convenient
254 if (win->isStuck()) { 254 if (win->isStuck()) {
255 win->blackbox_attrib.flags ^= AttribOmnipresent; 255 win->blackbox_attrib.flags ^= BaseDisplay::ATTRIB_OMNIPRESENT;
256 win->blackbox_attrib.attrib ^= AttribOmnipresent; 256 win->blackbox_attrib.attrib ^= BaseDisplay::ATTRIB_OMNIPRESENT;
257 win->stuck = false; 257 win->stuck = false;
258 if (!win->iconic) 258 if (!win->iconic)
259 win->getScreen()->reassociateWindow(win, -1, true); 259 win->getScreen()->reassociateWindow(win, -1, true);
260 260
261 } else { 261 } else {
262 win->stuck = true; 262 win->stuck = true;
263 win->blackbox_attrib.flags |= AttribOmnipresent; 263 win->blackbox_attrib.flags |= BaseDisplay::ATTRIB_OMNIPRESENT;
264 win->blackbox_attrib.attrib |= AttribOmnipresent; 264 win->blackbox_attrib.attrib |= BaseDisplay::ATTRIB_OMNIPRESENT;
265 } 265 }
266 266
267 win->setState(win->current_state); 267 win->setState(win->current_state);