* BUG: Correctly initialize window properties when showing it in all cases.


git-svn-id: svn://localhost/gambas/trunk@7241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2015-08-25 23:17:38 +00:00
parent e6efb33ffa
commit 2c312b8551

View file

@ -1656,8 +1656,8 @@ void MyMainWindow::present(QWidget *parent)
if (effectiveWinId() == 0)
{
createWinId();
initProperties(PROP_ALL);
}
initProperties(PROP_ALL);
#endif
if (getState() & Qt::WindowMinimized)
@ -1963,6 +1963,7 @@ void MyMainWindow::setBorder(bool b)
if (effectiveWinId())
{
qDebug("effectiveWinId");
initProperties(PROP_BORDER);
X11_window_remap(effectiveWinId());
}