summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/vcl/window.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 0b4055b99f93..4fdb80560d68 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -301,11 +301,11 @@ enum class StartTrackingFlags
ButtonRepeat = 0x0010,
MouseButtonDown = 0x0020,
FocusCancel = 0x0040,
- UseToolKitDrag = 0x0080,
};
+
namespace o3tl
{
- template<> struct typed_flags<StartTrackingFlags> : is_typed_flags<StartTrackingFlags, 0x00ff> {};
+ template<> struct typed_flags<StartTrackingFlags> : is_typed_flags<StartTrackingFlags, 0x007f> {};
}
// Flags for StartAutoScroll()