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

Caolán McNamara caolanm at redhat.com
Wed Jul 1 12:59:16 PDT 2015


 vcl/unx/gtk/window/gtksalframe.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit ff4b8d39e649ed56770b28550158b5148432ee48
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Jul 1 20:58:14 2015 +0100

    gtk3: disable using notification that we are in the backdrop
    
    Change-Id: I65a60acd956768f6a023c83053700803e5a8f1f2

diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index 7697eca..3efc911 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -1035,7 +1035,7 @@ void GtkSalFrame::InitCommon()
     g_signal_connect( G_OBJECT(m_pWindow), "button-release-event", G_CALLBACK(signalButton), this );
 #if GTK_CHECK_VERSION(3,0,0)
     g_signal_connect( G_OBJECT(m_pWindow), "draw", G_CALLBACK(signalDraw), this );
-    g_signal_connect( G_OBJECT(m_pWindow), "state-flags-changed", G_CALLBACK(signalFlagsChanged), this );
+//    g_signal_connect( G_OBJECT(m_pWindow), "state-flags-changed", G_CALLBACK(signalFlagsChanged), this );
 #if GTK_CHECK_VERSION(3,14,0)
     GtkGesture *pSwipe = gtk_gesture_swipe_new(m_pWindow);
     g_signal_connect(pSwipe, "swipe", G_CALLBACK(gestureSwipe), this);
@@ -3446,6 +3446,9 @@ gboolean GtkSalFrame::signalButton( GtkWidget*, GdkEventButton* pEvent, gpointer
 #if GTK_CHECK_VERSION(3,0,0)
 void GtkSalFrame::signalFlagsChanged( GtkWidget* ,  GtkStateFlags state, gpointer frame )
 {
+    //TO-DO: This isn't as helpful as I'd like it to be. The color selector puts the main
+    //windows into the backdrop, disabling everything, and the floating navigator window
+    //is also problematic.
     GtkSalFrame* pThis = static_cast<GtkSalFrame*>(frame);
 
     bool bOldBackDrop = state & GTK_STATE_FLAG_BACKDROP;


More information about the Libreoffice-commits mailing list