Hello community,

here is the log from the commit of package ksnapshot for openSUSE:Factory 
checked in at 2014-02-20 07:55:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ksnapshot (Old)
 and      /work/SRC/openSUSE:Factory/.ksnapshot.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ksnapshot"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ksnapshot/ksnapshot.changes      2014-01-27 
11:15:20.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ksnapshot.new/ksnapshot.changes 2014-02-20 
07:55:39.000000000 +0100
@@ -1,0 +2,7 @@
+Sat Feb  1 10:11:52 UTC 2014 - tittiatc...@gmail.com
+
+- Update to 4.12.2
+   * KDE 4.12.2  release
+   * See http://www.kde.org/announcements/announce-4.12.2.php
+
+-------------------------------------------------------------------

Old:
----
  ksnapshot-4.12.1.tar.xz

New:
----
  ksnapshot-4.12.2.tar.xz

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

Other differences:
------------------
++++++ ksnapshot.spec ++++++
--- /var/tmp/diff_new_pack.ny3910/_old  2014-02-20 07:55:40.000000000 +0100
+++ /var/tmp/diff_new_pack.ny3910/_new  2014-02-20 07:55:40.000000000 +0100
@@ -29,7 +29,7 @@
 %else
 BuildRequires:  sane-backends
 %endif
-Version:        4.12.1
+Version:        4.12.2
 Release:        0
 Summary:        Screen Capture Program
 License:        GPL-2.0+

++++++ ksnapshot-4.12.1.tar.xz -> ksnapshot-4.12.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksnapshot-4.12.1/ksnapshot.cpp 
new/ksnapshot-4.12.2/ksnapshot.cpp
--- old/ksnapshot-4.12.1/ksnapshot.cpp  2013-11-28 10:45:25.000000000 +0100
+++ new/ksnapshot-4.12.2/ksnapshot.cpp  2014-01-29 08:06:44.000000000 +0100
@@ -79,6 +79,7 @@
 
 #ifdef HAVE_X11_EXTENSIONS_XFIXES_H
 #include <X11/extensions/Xfixes.h>
+#include <X11/Xatom.h>
 #include <QX11Info>
 #endif
 
@@ -185,6 +186,16 @@
         } else {
             haveXFixes = true;
         }
+
+        // actually not depending on XFixes, but to simplify the ifdefs put 
here
+        // we can safely assume that XFixes is present for this functionality
+        // it's supposed to prevent that KWin animates the window in the 
compositor
+        // and XFixes is a requirement for the compositor. So if XFixes is not 
present
+        // KWin cannot be compiled at all.
+        Atom atom = XInternAtom(dpy, "_KDE_NET_WM_SKIP_CLOSE_ANIMATION", 
False);
+        long d = 1;
+        XChangeProperty(dpy, winId(), atom, XA_CARDINAL, 32,
+                        PropModeReplace, (unsigned char *) &d, 1);
     }
 #elif !defined(Q_WS_WIN)
     mainWidget->cbIncludePointer->hide();

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to