OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / classpath / java / awt / EventDispatchThread.java
index 7cb8af8..074a849 100644 (file)
@@ -82,17 +82,7 @@ class EventDispatchThread extends Thread
         try
        {
          AWTEvent evt = queue.getNextEvent();
-
-          KeyboardFocusManager manager;
-          manager = KeyboardFocusManager.getCurrentKeyboardFocusManager ();
-
-          // Try to dispatch this event to the current keyboard focus
-          // manager.  It will dispatch all FocusEvents, all
-          // WindowEvents related to focus, and all KeyEvents,
-          // returning true.  Otherwise, it returns false and we
-          // dispatch the event normally.
-          if (!manager.dispatchEvent (evt))
-            queue.dispatchEvent(evt);
+          queue.dispatchEvent(evt);
        }
         catch (ThreadDeath death)
         {