Skip to content
Snippets Groups Projects
  1. Jul 09, 2021
  2. Jun 30, 2021
  3. Jun 21, 2021
  4. Apr 13, 2021
  5. Mar 17, 2021
  6. Mar 15, 2021
  7. Mar 05, 2021
  8. Mar 03, 2021
    • Michel Dänzer's avatar
      Bump version to 21.0.99.902 · f20dc979
      Michel Dänzer authored and Michel Dänzer's avatar Michel Dänzer committed
      Xwayland 21.1.0 release candidate 2.
    • Olivier Fourdan's avatar
      xwayland: Delay cursor visibility update · 15f8b789
      Olivier Fourdan authored and Michel Dänzer's avatar Michel Dänzer committed
      
      Xwayland won't emulate XWarpPointer requests if the cursor is visible,
      this is to avoid having the cursor jumping on screen and preventing
      random X11 clients from controlling the pointer in Wayland, while
      allowing games which use that mechanism with a hidden cursor to work in
      Xwayland.
      
      There are, however, games which tend to do it in the wrong order, i.e.
      show the cursor before moving the pointer, and because Xwayland will not
      allow an X11 client to move the pointer while the cursor is visible, the
      requests will fail.
      
      Add a workaround for such X11 clients, when the cursor is being shown,
      keep it invisible until the cursor is actually moved. This way, X11
      clients which show their cursor just before moving it would still have a
      chance to succeed.
      
      v2: Add a timeout to show the cursor for well behaved clients.
      v3: Some cleanup (Michel)
      v4: Do not cancel cursor delay when updating the cursor to avoid
          delaying cursor visibility indefinitely if the client keeps
          settings different cursors (Michel)
      
      Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
      Tested-by: default avatarJaap Buurman <jaapbuurman@gmail.com>
      Reviewed-by: default avatarMichel Dänzer <mdaenzer@redhat.com>
      Closes: xorg/xserver#734
      (cherry picked from commit 97ed0048)
      15f8b789
Loading