dont let kde override-redirect windows be moved or resized
This commit is contained in:
parent
5bf70002f9
commit
586cbd9354
1 changed files with 3 additions and 2 deletions
|
@ -189,9 +189,10 @@ void Client::getType()
|
||||||
else if (val[i] == otk::Property::atoms.net_wm_window_type_normal)
|
else if (val[i] == otk::Property::atoms.net_wm_window_type_normal)
|
||||||
_type = Type_Normal;
|
_type = Type_Normal;
|
||||||
else if (val[i] == otk::Property::atoms.kde_net_wm_window_type_override){
|
else if (val[i] == otk::Property::atoms.kde_net_wm_window_type_override){
|
||||||
// prevent this window from getting any decor
|
// prevent this window from getting any decor or functionality
|
||||||
_mwmhints.flags &= MwmFlag_Decorations;
|
_mwmhints.flags &= MwmFlag_Functions | MwmFlag_Decorations;
|
||||||
_mwmhints.decorations = 0;
|
_mwmhints.decorations = 0;
|
||||||
|
_mwmhints.functions = 0;
|
||||||
}
|
}
|
||||||
if (_type != (WindowType) -1)
|
if (_type != (WindowType) -1)
|
||||||
break; // grab the first known type
|
break; // grab the first known type
|
||||||
|
|
Loading…
Reference in a new issue