Hello community,

here is the log from the commit of package fcitx-qt5 for openSUSE:Factory 
checked in at 2015-09-02 00:36:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fcitx-qt5 (Old)
 and      /work/SRC/openSUSE:Factory/.fcitx-qt5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fcitx-qt5"

Changes:
--------
--- /work/SRC/openSUSE:Factory/fcitx-qt5/fcitx-qt5.changes      2015-07-14 
17:44:17.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.fcitx-qt5.new/fcitx-qt5.changes 2015-09-02 
00:36:46.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Aug 31 09:56:45 UTC 2015 - [email protected]
+
+- update version 1.0.4
+  * fix the coordinates for high dpi in qt5
+
+-------------------------------------------------------------------

Old:
----
  fcitx-qt5-1.0.3.tar.xz

New:
----
  fcitx-qt5-1.0.4.tar.xz

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

Other differences:
------------------
++++++ fcitx-qt5.spec ++++++
--- /var/tmp/diff_new_pack.YpdbYl/_old  2015-09-02 00:36:47.000000000 +0200
+++ /var/tmp/diff_new_pack.YpdbYl/_new  2015-09-02 00:36:47.000000000 +0200
@@ -17,12 +17,12 @@
 
 
 Name:           fcitx-qt5
-Version:        1.0.3
+Version:        1.0.4
 Release:        0
 Summary:        Fcitx QT5 Input Context
 License:        GPL-2.0+
 Group:          System/I18n/Chinese
-Url:            https://fcitx.org
+Url:            https://github.com/fcitx/fcitx-qt5
 Source:         http://download.fcitx-im.org/%{name}/%{name}-%{version}.tar.xz
 Source99:       baselibs.conf
 BuildRequires:  cmake

++++++ fcitx-qt5-1.0.3.tar.xz -> fcitx-qt5-1.0.4.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/fcitx-qt5-1.0.3/platforminputcontext/qfcitxplatforminputcontext.cpp 
new/fcitx-qt5-1.0.4/platforminputcontext/qfcitxplatforminputcontext.cpp
--- old/fcitx-qt5-1.0.3/platforminputcontext/qfcitxplatforminputcontext.cpp     
2015-07-03 05:02:17.000000000 +0200
+++ new/fcitx-qt5-1.0.4/platforminputcontext/qfcitxplatforminputcontext.cpp     
2015-07-09 06:04:21.000000000 +0200
@@ -350,9 +350,11 @@
 
     r.moveTopLeft(inputWindow->mapToGlobal(r.topLeft()));
 
+    qreal scale = inputWindow->devicePixelRatio();
     if (data->rect != r) {
         data->rect = r;
-        proxy->SetCursorRect(r.x(), r.y(), r.width(), r.height());
+        proxy->SetCursorRect(r.x() * scale, r.y() * scale,
+                             r.width() * scale, r.height() * scale);
     }
 }
 


Reply via email to