diff options
author | Eric Williams | 2018-03-06 18:54:57 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2018-03-09 11:14:21 +0000 |
commit | 9c6346c33b2ceab571983d3f58db7ceed75a22e8 (patch) | |
tree | 8b6fd5fc87dede95cd488b47a35b0d1436db2b38 /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt | |
parent | a212eddedcb8c6c0612e8f495568b93a699ed410 (diff) | |
download | eclipse.platform.swt-9c6346c33b2ceab571983d3f58db7ceed75a22e8.tar.gz eclipse.platform.swt-9c6346c33b2ceab571983d3f58db7ceed75a22e8.tar.xz eclipse.platform.swt-9c6346c33b2ceab571983d3f58db7ceed75a22e8.zip |
Bug 530204: [GTK] Menu appears at mouse regardless of setLocation()
Update Javadocs for Menu.setLocation() to reflect platform specific
behavior.
Change-Id: I43d5bf906f2ddfad7e8fa8945cb7df1d5135ee2f
Signed-off-by: Eric Williams <ericwill@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Menu.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Menu.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Menu.java index 3da80a1eee..62848b4476 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Menu.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Menu.java @@ -1435,8 +1435,10 @@ public void setEnabled (boolean enabled) { * Note that this is different from most widgets where the * location of the widget is relative to the parent. * </p><p> - * Note that the platform window manager ultimately has control - * over the location of popup menus. + * Also note that the actual location of the menu is dependent + * on platform specific behavior. For example: on Linux with + * Wayland this operation is a hint due to lack of global + * coordinates. * </p> * * @param x the new x coordinate for the receiver |