[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara caolanm at redhat.com
Sat Jan 20 19:48:36 UTC 2018


 vcl/unx/gtk/gtksalframe.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 02514633c8b9299ffefbb18884995af5eef9a7f6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jan 19 15:40:50 2018 +0000

    Resolves: tdf#115106 don't assume fullscreen is impress
    
    writer can too, so revert this part of
    
    commit 277395b6266c57a7709c3c47986f135f6789c8e7
    Author: Caolán McNamara <caolanm at redhat.com>
    Date:   Tue Jun 13 18:09:08 2017 +0100
    
        make opengl transitions under X flicker free on enter/leave
    
    which should restore matters to its former glory, at this point gtk3 opengl
    transition support now works so it all moot to me now.
    
    Change-Id: I78a8a774aead6482d0541575dbf10ad977ceccc0
    Reviewed-on: https://gerrit.libreoffice.org/48207
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk/gtksalframe.cxx b/vcl/unx/gtk/gtksalframe.cxx
index de2101f96e90..d297d7ad7cfd 100644
--- a/vcl/unx/gtk/gtksalframe.cxx
+++ b/vcl/unx/gtk/gtksalframe.cxx
@@ -2789,9 +2789,7 @@ gboolean GtkSalFrame::signalExpose( GtkWidget*, GdkEventExpose* pEvent, gpointer
 {
     GtkSalFrame* pThis = static_cast<GtkSalFrame*>(frame);
 
-    const bool bImmediate = OpenGLHelper::isVCLOpenGLEnabled() || pThis->m_bFullscreen;
-
-    struct SalPaintEvent aEvent( pEvent->area.x, pEvent->area.y, pEvent->area.width, pEvent->area.height, bImmediate );
+    struct SalPaintEvent aEvent( pEvent->area.x, pEvent->area.y, pEvent->area.width, pEvent->area.height, OpenGLHelper::isVCLOpenGLEnabled() );
 
     pThis->CallCallback( SalEvent::Paint, &aEvent );
 


More information about the Libreoffice-commits mailing list