From ec6fc7a6067e666633d478e4c0ef5823167933d1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 10 Nov 2016 10:38:29 +0000 Subject: Resolves: rhbz#1342828 toolbars jumping around while moved under X MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Caolán McNamara --- vcl/unx/gtk3/gtk3gtkframe.cxx | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'vcl/unx/gtk3') 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) -- cgit