set window frameless

This commit is contained in:
jzxc95 2022-06-20 16:01:43 +08:00
parent 4d32be587c
commit d0f0fb709e
1 changed files with 1 additions and 1 deletions

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);