diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-03 08:42:42 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-03 08:42:42 +0000 |
| commit | 586cbd935469b8dffd3956141f857b0781fbcd66 (patch) | |
| tree | e1a6be19959afc32edc857e0d45e3bb90fe54007 /src | |
| parent | 5bf70002f92ce6612ccc781c73a1ec843ffc1ce6 (diff) | |
dont let kde override-redirect windows be moved or resized
Diffstat (limited to 'src')
| -rw-r--r-- | src/client.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client.cc b/src/client.cc index 36019d99..54e53032 100644 --- a/src/client.cc +++ b/src/client.cc @@ -189,9 +189,10 @@ void Client::getType() else if (val[i] == otk::Property::atoms.net_wm_window_type_normal) _type = Type_Normal; else if (val[i] == otk::Property::atoms.kde_net_wm_window_type_override){ - // prevent this window from getting any decor - _mwmhints.flags &= MwmFlag_Decorations; + // prevent this window from getting any decor or functionality + _mwmhints.flags &= MwmFlag_Functions | MwmFlag_Decorations; _mwmhints.decorations = 0; + _mwmhints.functions = 0; } if (_type != (WindowType) -1) break; // grab the first known type |
