diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-07 08:34:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-07 12:16:20 +0100 |
commit | 1190e7385291fb0e6cd3505e88e589c80b02db00 (patch) | |
tree | 5804f341ce0fd28d3e0974af554599a617e35441 /vcl/inc | |
parent | a71de3f2b42b8251f4d86ac38c4161df28f47a25 (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.hxx | 4 |
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(); |