diff options
author | Grant Gayed <ggayed> | 2010-04-14 20:59:01 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2010-04-14 20:59:01 +0000 |
commit | 9ab14bbc386609b0008cce66eda40fcd56285bea (patch) | |
tree | 862ebfd0ae32481148f105cbc8831e87becb5ad3 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java | |
parent | 8fa7f7faacb842324a4b31775936f9e83dd5a81b (diff) | |
download | eclipse.platform.swt-9ab14bbc386609b0008cce66eda40fcd56285bea.tar.gz eclipse.platform.swt-9ab14bbc386609b0008cce66eda40fcd56285bea.tar.xz eclipse.platform.swt-9ab14bbc386609b0008cce66eda40fcd56285bea.zip |
fix sending of MouseEnter/MouseExit events
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java index b286425f68..10f99d3988 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java @@ -251,7 +251,7 @@ Widget [] computeTabList () { } void createHandle (int index) { - state |= HANDLE | CANVAS; + state |= HANDLE | CANVAS | CHECK_SUBWINDOW; boolean scrolled = (style & (SWT.H_SCROLL | SWT.V_SCROLL)) != 0; if (!scrolled) state |= THEME_BACKGROUND; createHandle (index, true, scrolled || (style & SWT.BORDER) != 0); @@ -1412,7 +1412,7 @@ void showWidget () { } boolean checkSubwindow () { - return true; + return (state & CHECK_SUBWINDOW) != 0; } boolean translateMnemonic (Event event, Control control) { |