summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-07 08:34:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-07 12:16:20 +0100
commit1190e7385291fb0e6cd3505e88e589c80b02db00 (patch)
tree5804f341ce0fd28d3e0974af554599a617e35441 /vcl/inc
parenta71de3f2b42b8251f4d86ac38c4161df28f47a25 (diff)
gtk3: if a popup is withdrawn close the popup
we don't always get the click that causes the popup to be withdrawn when the mouse is clicked outside the application during a grab Change-Id: I2dbef23813972ebd75c8899711a2d1309110f968
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/unx/gtk/gtkframe.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx
index 6c24df85b818..4e13318215df 100644
--- a/vcl/inc/unx/gtk/gtkframe.hxx
+++ b/vcl/inc/unx/gtk/gtkframe.hxx
@@ -422,6 +422,10 @@ public:
void startDrag(gint nButton, gint nDragOriginX, gint nDragOriginY,
GdkDragAction sourceActions, GtkTargetList* pTargetList);
+ void WithDrawn();
+
+ static void closePopup(bool bWithDrawn);
+
#endif
virtual ~GtkSalFrame();