1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

[X11] Fixed showing window in fullscreen with XFCE.

Closes #648
This commit is contained in:
nowrep 2013-02-11 17:58:05 +01:00
parent bea5f72ad7
commit e069da55e3
3 changed files with 6 additions and 2 deletions

View File

@ -28,6 +28,7 @@ Version 1.4.0
* fixed qvalue format in Accept-Language HTTP header
* fixed sorting files case insensitively in file scheme handler
* fixed possible crash in saving page screen of a really long page
* fixed showing window in fullscreen with XFCE
* X11: fixed Ctrl+Q shortcut for DEs other than KDE and Gnome
* windows: improved installer allows registering as default web browser
* windows: check and set as default browser from preferences

View File

@ -1735,7 +1735,8 @@ void QupZilla::fullScreen(bool make)
m_menuBarVisible = menuBar()->isVisible();
m_statusBarVisible = statusBar()->isVisible();
setWindowState(windowState() | Qt::WindowFullScreen);
m_windowStates = windowState();
showFullScreen();
menuBar()->hide();
statusBar()->hide();
@ -1754,7 +1755,8 @@ void QupZilla::fullScreen(bool make)
#endif
}
else {
setWindowState(windowState() & ~Qt::WindowFullScreen);
showNormal();
setWindowState(m_windowStates);
menuBar()->setVisible(m_menuBarVisible);
statusBar()->setVisible(m_statusBarVisible);

View File

@ -327,6 +327,7 @@ private:
// Used for F11 FullScreen remember visibility of menubar and statusbar
bool m_menuBarVisible;
bool m_statusBarVisible;
Qt::WindowStates m_windowStates;
QTimer* m_hideNavigationTimer;
QList<QPointer<QWidget> > m_deleteOnCloseWidgets;