title: Eclipse right-click issue with X11 forwarding
body: <p>I have installed Eclipse on a remote Linux machine and trying to access it from my Windows box thru X11 forwarding. Yes, we have a requirement to do so.</p>
  
  <p>I'm having a problem with right click behavior when using Eclipse (Helios/Indigo/Juno).  When I right click in Eclipse the popup menu briefly appears and then whatever menu item the cursor is near gets selected and that action is performed.  If I hold the right click then the popup menu stays open and I can select any menu item.  When I release the right click the selected menu item action is performed.  Note that in all of these cases the left mouse button is never used.</p>
  
  <p>Tried different Linux flavors(SuSE/Ubuntu) and different X11 servers(Xming/Cygwin/VNC) for windows, the result is same. This happens only with Eclipse, other applications like firefox do not have this problem.</p>
  
  <p>This behavior can partly be attributed to the way Linux handles mouse clicks i.e., releasing the right mouse button will trigger a selection.</p>
  
  <p>Note that in all cases, Eclipse works without any problems locally(on the local Linux machine), these problems only appear when we access Eclipse remotely(X11/VNC) from a Windows box.</p>
  
  <p>I am not sure if the problem is in Eclipse, because Eclipse works fine locally. Then, I am not sure if the problem is in X-server, because other applications like firefox works fine remotely.</p>
  
  <p>Any ideas? Spending hell lot of time on this...!</p>
  
  <p>Here are few related links:</p>
  
  <p><a href="http://devnet.jetbrains.net/message/5246614" rel="nofollow noreferrer">http://devnet.jetbrains.net/message/5246614</a></p>
  
  <p><a href="http://communities.vmware.com/thread/220037" rel="nofollow noreferrer">http://communities.vmware.com/thread/220037</a></p>
  
  <p><a href="https://superuser.com/questions/433314/how-do-avoid-context-menu-in-opensuse-to-open-on-mousepress">https://superuser.com/questions/433314/how-do-avoid-context-menu-in-opensuse-to-open-on-mousepress</a></p>
  
  <p><a href="https://bugzilla.redhat.com/show_bug.cgi?id=542841" rel="nofollow noreferrer">https://bugzilla.redhat.com/show_bug.cgi?id=542841</a></p>
  
  <p><a href="https://github.com/linuxmint/Cinnamon/issues/947" rel="nofollow noreferrer">https://github.com/linuxmint/Cinnamon/issues/947</a></p>