[Xfce4-commits] [apps/xfce4-notifyd] 01/01: Fix warning about gdk_window_get_origin (Bug #13935)

noreply at xfce.org noreply at xfce.org
Sun Oct 29 23:39:33 CET 2017


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

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-notifyd.

commit 0bb7f122815ce5529bb7f63bf1f78a71809fe470
Author: Viktor Odintsev <ninetls at xfce.org>
Date:   Sun Oct 29 23:37:46 2017 +0100

    Fix warning about gdk_window_get_origin (Bug #13935)
---
 xfce4-notifyd/xfce-notify-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xfce4-notifyd/xfce-notify-window.c b/xfce4-notifyd/xfce-notify-window.c
index 994b7ec..50a5f05 100644
--- a/xfce4-notifyd/xfce-notify-window.c
+++ b/xfce4-notifyd/xfce-notify-window.c
@@ -217,7 +217,7 @@ xfce_notify_window_init(XfceNotifyWindow *window)
        screen as maximum width. */
 #if GTK_CHECK_VERSION (3, 22, 0)
     monitor = gdk_display_get_monitor_at_window (gtk_widget_get_display (GTK_WIDGET (window)),
-                                                 gtk_widget_get_window (GTK_WIDGET (window)));
+                                                 gdk_screen_get_root_window (screen));
     gdk_monitor_get_geometry (monitor, &geometry);
     screen_width = geometry.width / 30;
 #else

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list