<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 - In Wayland, Endless Sky game's window drawn in the wrong place when alt-tabbing away and back again"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99088">99088</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>In Wayland, Endless Sky game's window drawn in the wrong place when alt-tabbing away and back again
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>1.5.0
          </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>wayland
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>pointedstick@zoho.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Fedora 25 + GNOME 3.22 + Wayland

A graphical anomaly is seen with the SDL-based video game Endless Sky on Fedora
25 with Wayland. When the game is being played full-screen, alt-tabbing away
and back again results in the game's window being drawn in the wrong location:
offset down and to the right. Here is a screen recording indicating the
problem:

<a href="http://hommelscitadel.com/wp-content/uploads/2016/12/not_quite_right.webm">http://hommelscitadel.com/wp-content/uploads/2016/12/not_quite_right.webm</a>

The issue is 100% reproducible with Wayland every way I try, but not seen if I
log into an X session and try the same thing, so Wayland is clearly the
culprit--or the way SDL or this game is interacting with it.


Note: Endless Sky is not available in any repos, but can be compiled and run
thusly:

$ git clone <a href="https://github.com/endless-sky/endless-sky.git">https://github.com/endless-sky/endless-sky.git</a>
$ sudo dnf install gcc-c++ scons SDL2-devel libpng-devel libjpeg-turbo-devel
mesa-libGL-devel sglew-devel openal-soft-devel libmad-devel
$ cd endless-sky
$ scons
$ ./endless-sky</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>