Fixed missing window decorations on compiz.
Task-number: QTBUG-26954 Change-Id: I6981338d4bbc9cf1440c9d67e9d034e0553dfeae Reviewed-by: Jason Barron <jason.barron@nokia.com>bb10
parent
96d5c28a11
commit
62565321a6
|
|
@ -785,9 +785,7 @@ void QXcbWindow::setMotifWindowFlags(Qt::WindowFlags flags)
|
|||
if (!(flags & Qt::FramelessWindowHint) && !(customize && !(flags & Qt::WindowTitleHint))) {
|
||||
mwmhints.decorations |= MWM_DECOR_BORDER;
|
||||
mwmhints.decorations |= MWM_DECOR_RESIZEH;
|
||||
|
||||
if (flags & Qt::WindowTitleHint)
|
||||
mwmhints.decorations |= MWM_DECOR_TITLE;
|
||||
mwmhints.decorations |= MWM_DECOR_TITLE;
|
||||
|
||||
if (flags & Qt::WindowSystemMenuHint)
|
||||
mwmhints.decorations |= MWM_DECOR_MENU;
|
||||
|
|
|
|||
Loading…
Reference in New Issue