This is an automated email from the git hooks/post-receive script.

ochosi pushed a 
commit to branch 
xfce-4.12
in repository xfce/xfce4-settings.

commit 566476d5190e73dcb1fc1602e382b79d6a6863a5
Author: Florian Schüller <[email protected]>
Date:   Sat Feb 24 00:25:42 2018 +0100

    Minimize error for wrong coordinates of screenshot
---
 dialogs/accessibility-settings/find-cursor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dialogs/accessibility-settings/find-cursor.c 
b/dialogs/accessibility-settings/find-cursor.c
index 194363a..d4d994a 100644
--- a/dialogs/accessibility-settings/find-cursor.c
+++ b/dialogs/accessibility-settings/find-cursor.c
@@ -125,14 +125,14 @@ find_cursor_window_expose (GtkWidget *widget,
     else {
         /* only take a screenshot once in the first iteration */
         if (px == 1) {
-            pixbuf = get_rectangle_screenshot (root_x + x - 250, root_y + y - 
250, widget);
+            pixbuf = get_rectangle_screenshot (root_x + x - 250 + 1, root_y + 
y - 250 , widget);
             if (!pixbuf)
                 g_warning("Getting screenshot failed");
         }
 
         if (pixbuf) {
            /* FIXME: use 0,0 as coordinates */
-            gdk_cairo_set_source_pixbuf (cr, pixbuf, 1, 1);
+            gdk_cairo_set_source_pixbuf (cr, pixbuf, 1, 0);
         }
     }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to