"implement" NET::Sticky

and ignore client requests to change NET::Hidden

svn path=/trunk/kdebase/kwin/; revision=196522
This commit is contained in:
Luboš Luňák 2002-12-30 20:08:31 +00:00
parent e8af4224b1
commit 9e3efc9cd9

View file

@ -61,6 +61,8 @@ public:
// state : kwin.h says: possible values are or'ed combinations of NET::Modal,
// NET::Sticky, NET::MaxVert, NET::MaxHoriz, NET::Shaded, NET::SkipTaskbar, NET::SkipPager
mask &= ~NET::Sticky; // KWin doesn't support large desktops, ignore
mask &= ~NET::Hidden; // clients are not allowed to change this directly
state &= mask; // for safety, clear all other bits
if ( (mask & NET::Max) == NET::Max ) {