1. mst
  2. ooo340

Commits

Philipp Lohmann [pl]  committed ee84912

ooo33gsl07: #i110881# workaround compiz (mwm hints should have no effect whatsoever on fullscreen)

  • Participants
  • Parent commits e3b9ecc
  • Branches default

Comments (0)

Files changed (1)

File vcl/unx/source/app/wmadaptor.cxx

View file
  • Ignore whitespace
     if( m_aWMAtoms[ NET_WM_STATE_FULLSCREEN ] )
     {
         pFrame->mbFullScreen = bFullScreen;
+        if( bFullScreen )
+        {
+            if( m_aWMAtoms[ MOTIF_WM_HINTS ] )
+            {
+                XDeleteProperty( m_pDisplay,
+                                 pFrame->GetShellWindow(),
+                                m_aWMAtoms[ MOTIF_WM_HINTS ] );
+            }
+        }
         if( pFrame->bMapped_ )
         {
             // window already mapped, send WM a message