Hello community,

here is the log from the commit of package xorg-x11-server for openSUSE:Factory 
checked in at 2017-09-07 22:08:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xorg-x11-server (Old)
 and      /work/SRC/openSUSE:Factory/.xorg-x11-server.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xorg-x11-server"

Thu Sep  7 22:08:40 2017 rev:346 rq:519998 version:1.19.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/xorg-x11-server/xorg-x11-server.changes  
2017-07-21 22:36:42.700113566 +0200
+++ /work/SRC/openSUSE:Factory/.xorg-x11-server.new/xorg-x11-server.changes     
2017-09-07 22:08:41.905163416 +0200
@@ -1,0 +2,5 @@
+Thu Aug 31 15:18:20 UTC 2017 - [email protected]
+
+- u_cursors-animation.patch fix cursors animation (boo#1020061)
+
+-------------------------------------------------------------------

New:
----
  u_cursors-animation.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xorg-x11-server.spec ++++++
--- /var/tmp/diff_new_pack.jqWa5D/_old  2017-09-07 22:08:44.684771615 +0200
+++ /var/tmp/diff_new_pack.jqWa5D/_new  2017-09-07 22:08:44.684771615 +0200
@@ -191,6 +191,7 @@
 Patch100:       u_01-Improved-ConfineToShape.patch
 Patch101:       
u_02-DIX-ConfineTo-Don-t-bother-about-the-bounding-box-when-grabbing-a-shaped-window.patch
 # PATCH-FIX-UPSTREAM u_x86emu-include-order.patch [email protected] -- Change 
include order to avoid conflict with system header, remove duplicate definitions
+Patch103:       u_cursors-animation.patch
 Patch104:       u_xorg-server-xdmcp.patch
 Patch112:       
u_render-Cast-color-masks-to-unsigned-long-before-shifting-them.patch
 
@@ -325,6 +326,7 @@
 #
 %patch100 -p1
 #%patch101 -p1
+%patch103 -p1
 %patch104 -p1
 
 %patch112 -p1

++++++ u_cursors-animation.patch ++++++
Author: Илья Индиго <[email protected]>
Subject: [PATCH] render: Reset animated cursor timer when sprite changes.
Patch-Mainline: To be upstreamed
Git-commit: 1c4545021f835f077362e7364d28752b7d6e968e
References: boo#1020061
Signed-off-by: Michal Srb <[email protected]>

Previously the timer would not reset if the sprite changed and timer from a
previous animated cursor was pending. That caused trouble with non-looped
animated cursors that use very long delay on the last frame to prevent looping.
No animation played after such non-looped animation played once.
---
 render/animcur.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/render/animcur.c b/render/animcur.c
index 52e6b8b79..4216c3a40 100644
--- a/render/animcur.c
+++ b/render/animcur.c
@@ -204,11 +204,9 @@ AnimCurDisplayCursor(DeviceIntPtr pDev, ScreenPtr pScreen, 
CursorPtr pCursor)
                 pDev->spriteInfo->anim.pCursor = pCursor;
                 pDev->spriteInfo->anim.pScreen = pScreen;

-                if (!as->timer_set) {
-                    TimerSet(as->timer, TimerAbsolute, 
pDev->spriteInfo->anim.time,
-                             AnimCurTimerNotify, pScreen);
-                    as->timer_set = TRUE;
-                }
+                TimerSet(as->timer, TimerAbsolute, pDev->spriteInfo->anim.time,
+                    AnimCurTimerNotify, pScreen);
+                as->timer_set = TRUE;
             }
         }
         else

Reply via email to