Imported GNU Classpath 0.19 + gcj-import-20051115.
* sources.am: Regenerated. * Makefile.in: Likewise. * scripts/makemake.tcl: Use glob -nocomplain. From-SVN: r107049
This commit is contained in:
parent
02e549bfaa
commit
8f523f3a10
1241 changed files with 97711 additions and 25284 deletions
|
@ -146,7 +146,9 @@ public class MenuSelectionManager
|
|||
{
|
||||
// Convert sourcePoint to screen coordinates.
|
||||
Point sourcePointOnScreen = sourcePoint;
|
||||
SwingUtilities.convertPointToScreen(sourcePointOnScreen, source);
|
||||
|
||||
if (source.isShowing())
|
||||
SwingUtilities.convertPointToScreen(sourcePointOnScreen, source);
|
||||
|
||||
Point compPointOnScreen;
|
||||
Component resultComp = null;
|
||||
|
@ -168,7 +170,10 @@ public class MenuSelectionManager
|
|||
&& sourcePointOnScreen.y < compPointOnScreen.y + size.height)
|
||||
{
|
||||
Point p = sourcePointOnScreen;
|
||||
SwingUtilities.convertPointFromScreen(p, comp);
|
||||
|
||||
if (comp.isShowing())
|
||||
SwingUtilities.convertPointFromScreen(p, comp);
|
||||
|
||||
resultComp = SwingUtilities.getDeepestComponentAt(comp, p.x, p.y);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue