<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - LeaveNotify event not deliverd when crossing to a native Wayland window"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96437">96437</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LeaveNotify event not deliverd when crossing to a native Wayland window
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>XWayland
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fourdan@xfce.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:

While investigating issues with tooltips not disappearing in X11 apps running
under Xwayland, I noticed that in some cases, the LeaveNotify event is not
delivered to the X11 window when the pointer crosses from an X11 window to a
Wayland native window.

Steps to reproduce:

1. Run xev and weston-terminal and place them so that the xev window is beneath
the weston-terminal (Wayland native window) as follow :


              +----------------------------------+
              |                                  |
              | > weston-terminal                |
              |                                  |
              |                                  |
  +-----------|                                  |
  |           |                                  |
  |     xev   |                                  |
  |           |                                  |
  |           +----------------------------------+
  +--------------+

2. Move the mouse pointer from the xev to the weston-window and observe the
events reported

Actual results:

MotionNotify events are reported until the pointer enters the native Wayland
window but no LeaveNotify event is reported, even though the pointer has left
the xev window to enter the Wayland native window.

Expected results:

As soon as the pointer actually leaves the X11 window, we should receive a
LeaveNotify event.

Additional data:

If we move the pointer back to the xev window, we get a LeaveNotify followed
immediately by an EnterNotify, as if the LeaveNotify was pending.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>