Updated AttribOmnipresent

This commit is contained in:
fluxgen 2001-12-19 17:59:05 +00:00
parent 3c8b0b2dd7
commit cb8ac8645e

View file

@ -252,16 +252,16 @@ void Tab::stick() {
for (; first!=0; first = first->m_next) {
FluxboxWindow *win = first->m_win; //just for convenient
if (win->isStuck()) {
win->blackbox_attrib.flags ^= AttribOmnipresent;
win->blackbox_attrib.attrib ^= AttribOmnipresent;
win->blackbox_attrib.flags ^= BaseDisplay::ATTRIB_OMNIPRESENT;
win->blackbox_attrib.attrib ^= BaseDisplay::ATTRIB_OMNIPRESENT;
win->stuck = false;
if (!win->iconic)
win->getScreen()->reassociateWindow(win, -1, true);
} else {
win->stuck = true;
win->blackbox_attrib.flags |= AttribOmnipresent;
win->blackbox_attrib.attrib |= AttribOmnipresent;
win->blackbox_attrib.flags |= BaseDisplay::ATTRIB_OMNIPRESENT;
win->blackbox_attrib.attrib |= BaseDisplay::ATTRIB_OMNIPRESENT;
}
win->setState(win->current_state);