!2 set window frameless

Merge pull request !2 from zhaoshixu/0620
This commit is contained in:
handsome_feng 2022-06-20 09:41:51 +00:00 committed by Gitee
commit 42b8be3c55
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 8 additions and 2 deletions

8
debian/changelog vendored
View File

@ -1,5 +1,11 @@
kylin-nm (3.14.0.0+0512-0k5) yangtz; urgency=medium
* set window frameless.
-- zhaoshixu <zhaoshixu@kylinos.cn> Mon, 20 Jun 2022 16:01:48 +0800
kylin-nm (3.14.0.0+0512-0k4) yangtze; urgency=medium
* Initial for openKylin.
-- zhaoshixu <zhaoshixu@kylinos.cn> Fri, 17 Jun 2022 11:46:09 +0800
-- zhaoshixu <zhaoshixu@kylinos.cn> Fri, 17 Jun 2022 11:46:09 +0800

View File

@ -159,7 +159,7 @@ int main(int argc, char *argv[])
// window_hints.decorations = MWM_DECOR_BORDER;
// XAtomHelper::getInstance()->setWindowMotifHint(w.winId(), window_hints);
// w.setWindowFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint | Qt::X11BypassWindowManagerHint);
w.setWindowFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint/* | Qt::X11BypassWindowManagerHint*/);
DbusAdaptor adaptor(&w);