summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk3/gtk3gtkframe.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-11-10 10:38:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-11-10 14:27:39 +0000
commitec6fc7a6067e666633d478e4c0ef5823167933d1 (patch)
tree50ebcdb28c503b76bf1467bb7f46552138d055bf /vcl/unx/gtk3/gtk3gtkframe.cxx
parent70f41634d085aecc8e90dfba034bb367341d142e (diff)
Resolves: rhbz#1342828 toolbars jumping around while moved under X
because the start move by wm conflicts with the manual efforts to position the toolbar. the move by wm was done to get wayland to move the toolbars, but (gnome#768128) supporting docking toolbars under wayland is futile as far as I can see Change-Id: I502d4617efaf1eb686469e100224e56104ad650d Reviewed-on: https://gerrit.libreoffice.org/30751 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx/gtk3/gtk3gtkframe.cxx')
-rw-r--r--vcl/unx/gtk3/gtk3gtkframe.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index 02cb7d3294f9..febf667bf418 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -2542,26 +2542,6 @@ bool GtkSalFrame::HidePopover(sal_uIntPtr nId)
#endif
}
-void GtkSalFrame::StartToolKitMoveBy()
-{
- GdkEvent *pEvent = gtk_get_current_event();
- if (!pEvent)
- {
- SAL_WARN("vcl.gtk", "no current event for starting window move by wm");
- return;
- }
- if (pEvent->type != GDK_BUTTON_PRESS)
- {
- SAL_WARN("vcl.gtk", "current event for starting window move by wm is not a button");
- return;
- }
- gtk_window_begin_move_drag(GTK_WINDOW(m_pWindow),
- pEvent->button.button,
- pEvent->button.x_root,
- pEvent->button.y_root,
- pEvent->button.time);
-}
-
void GtkSalFrame::addGrabLevel()
{
if (m_nGrabLevel == 0)