Loading

Paste #pduokh7wn

  1. Index: src/gfx.cpp
  2. ===================================================================
  3. --- src/gfx.cpp (revision 27171)
  4. +++ src/gfx.cpp (working copy)
  5. @@ -1636,8 +1636,11 @@
  6.  
  7.     bool need_warp = false;
  8.     if (this->fix_at) {
  9. -       if (!this->queued_warp && (this->delta.x != 0 || this->delta.y != 0)) {
  10. -           /* Trigger warp. */
  11. +       if (this->delta.x != 0 || this->delta.y != 0) {
  12. +           /* Trigger warp.
  13. +            * Note: We also trigger warping again, if there is already warp pending.
  14. +            *       This makes it more tolerant about the OS or other software inbetween
  15. +            *       botchering the warp. */
  16.             this->queued_warp = queued_warp;
  17.             need_warp = true;
  18.         }
  19.  

Comments