summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java
diff options
context:
space:
mode:
authorBogdan Gheorghe <gheorghe>2009-05-07 15:53:05 +0000
committerBogdan Gheorghe <gheorghe>2009-05-07 15:53:05 +0000
commit1d3e0443441e0ad28661394515ad8d35a2bcda6f (patch)
tree4bf1ab2d86414ff70ebc9d3d5cb0c2a77d358923 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java
parent8ff920901915bfa2af42d0472e2e01dc88acb8e0 (diff)
downloadeclipse.platform.swt-1d3e0443441e0ad28661394515ad8d35a2bcda6f.tar.gz
eclipse.platform.swt-1d3e0443441e0ad28661394515ad8d35a2bcda6f.tar.xz
eclipse.platform.swt-1d3e0443441e0ad28661394515ad8d35a2bcda6f.zip
254861 Gtk SWT should set window type hint for SWT.BALLOON tooltips
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java
index 9ec9bfd3e5..2cccbb1c1b 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java
@@ -261,6 +261,7 @@ void createHandle (int index) {
Color background = display.getSystemColor (SWT.COLOR_INFO_BACKGROUND);
OS.gtk_widget_modify_bg (handle, OS.GTK_STATE_NORMAL, background.handle);
OS.gtk_widget_set_app_paintable (handle, true);
+ OS.gtk_window_set_type_hint (handle, OS.GDK_WINDOW_TYPE_HINT_TOOLTIP);
} else {
handle = OS.gtk_tooltips_new ();
if (handle == 0) SWT.error (SWT.ERROR_NO_HANDLES);