Hello community,
here is the log from the commit of package xfce4-clipman-plugin for
openSUSE:Factory checked in at 2020-03-01 21:27:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xfce4-clipman-plugin (Old)
and /work/SRC/openSUSE:Factory/.xfce4-clipman-plugin.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xfce4-clipman-plugin"
Sun Mar 1 21:27:55 2020 rev:2 rq:780426 version:1.4.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/xfce4-clipman-plugin/xfce4-clipman-plugin.changes
2019-08-20 10:57:33.696679076 +0200
+++
/work/SRC/openSUSE:Factory/.xfce4-clipman-plugin.new.26092/xfce4-clipman-plugin.changes
2020-03-01 21:28:19.960595316 +0100
@@ -1,0 +2,6 @@
+Fri Feb 28 08:01:16 UTC 2020 - Stefan Seyfried <[email protected]>
+
+- add xfce4-clipman-plugin-1.4.3-fix-gdk_window_get_device_position.diff
+ to fix error stream in .xsession-errors file (boo#1165231)
+
+-------------------------------------------------------------------
New:
----
xfce4-clipman-plugin-1.4.3-fix-gdk_window_get_device_position.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xfce4-clipman-plugin.spec ++++++
--- /var/tmp/diff_new_pack.yVaLBi/_old 2020-03-01 21:28:21.144597721 +0100
+++ /var/tmp/diff_new_pack.yVaLBi/_new 2020-03-01 21:28:21.148597729 +0100
@@ -1,7 +1,7 @@
#
# spec file for package xfce4-clipman-plugin
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
%bcond_with git
Name: xfce4-%{plugin}-plugin
Version: 1.4.3
-Release: 100
+Release: 0
Summary: Clipboard Manager Plugin for the Xfce Panel
License: GPL-2.0-or-later
Group: System/GUI/XFCE
@@ -29,6 +29,8 @@
Source0:
https://archive.xfce.org/src/panel-plugins/%{name}/1.4/%{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE xfce4-clipman-plugin-1.4.2-fix-nonvoid-function.diff --
trivial fix until next release, seife
Patch0: xfce4-clipman-plugin-1.4.2-fix-nonvoid-function.diff
+# PATCH-FIX-OPENSUSE
xfce4-clipman-plugin-1.4.3-fix-gdk_window_get_device_position.diff --
boo#1165231
+Patch1:
xfce4-clipman-plugin-1.4.3-fix-gdk_window_get_device_position.diff
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: pkgconfig
++++++ xfce4-clipman-plugin-1.4.3-fix-gdk_window_get_device_position.diff ++++++
diff --git a/x11-clipboard-manager/gsd-clipboard-manager.c
b/x11-clipboard-manager/gsd-clipboard-manager.c
index 3cff437..5e343b3 100644
--- a/x11-clipboard-manager/gsd-clipboard-manager.c
+++ b/x11-clipboard-manager/gsd-clipboard-manager.c
@@ -212,7 +212,7 @@ default_clipboard_owner_change (GsdClipboardManager
*manager,
static gboolean
primary_clipboard_store (GsdClipboardManager *manager)
{
- GdkModifierType state;
+ GdkModifierType state = 0;
gchar *text;
GdkDisplay* display = gdk_display_get_default ();
#if GTK_CHECK_VERSION (3, 20, 0)
@@ -222,8 +222,10 @@ primary_clipboard_store (GsdClipboardManager *manager)
GdkDeviceManager *device_manager = gdk_display_get_device_manager
(display);
GdkDevice *device = gdk_device_manager_get_client_pointer
(device_manager);
#endif
+ GdkScreen *screen = gdk_screen_get_default ();
+ GdkWindow *root_win = gdk_screen_get_root_window (screen);
- gdk_window_get_device_position (NULL, device, NULL, NULL, &state);
+ gdk_window_get_device_position (root_win, device, NULL, NULL, &state);
if (state & (GDK_BUTTON1_MASK|GDK_SHIFT_MASK)) {
return TRUE;
}