fixes to ShowFullScreen (KDE 3.1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -524,7 +524,7 @@ bool wxTopLevelWindowGTK::ShowFullScreen(bool show, long style )
|
||||
gint client_x, client_y, root_x, root_y;
|
||||
gint width, height;
|
||||
|
||||
if (method == wxX11_FS_GENERIC)
|
||||
if (method != wxX11_FS_WMSPEC)
|
||||
{
|
||||
// don't do it always, Metacity hates it
|
||||
m_fsSaveGdkFunc = m_gdkFunc;
|
||||
@@ -548,7 +548,7 @@ bool wxTopLevelWindowGTK::ShowFullScreen(bool show, long style )
|
||||
}
|
||||
else
|
||||
{
|
||||
if (method == wxX11_FS_GENERIC)
|
||||
if (method != wxX11_FS_WMSPEC)
|
||||
{
|
||||
// don't do it always, Metacity hates it
|
||||
m_gdkFunc = m_fsSaveGdkFunc;
|
||||
|
Reference in New Issue
Block a user