Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package clutter for openSUSE:Factory checked 
in at 2021-12-25 20:16:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clutter (Old)
 and      /work/SRC/openSUSE:Factory/.clutter.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clutter"

Sat Dec 25 20:16:36 2021 rev:91 rq:942321 version:1.26.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/clutter/clutter.changes  2021-03-21 
23:19:50.092728215 +0100
+++ /work/SRC/openSUSE:Factory/.clutter.new.2520/clutter.changes        
2021-12-25 20:16:53.393261532 +0100
@@ -1,0 +2,6 @@
+Thu Dec 23 17:20:29 UTC 2021 - Bj??rn Lie <bjorn....@gmail.com>
+
+- Add cd4c50db38ea9421deb83f25935a27531aa756a9.patch: wayland:
+  Protect against enter events for empty surfaces.
+
+-------------------------------------------------------------------

New:
----
  cd4c50db38ea9421deb83f25935a27531aa756a9.patch

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

Other differences:
------------------
++++++ clutter.spec ++++++
--- /var/tmp/diff_new_pack.eJFGld/_old  2021-12-25 20:16:53.897261942 +0100
+++ /var/tmp/diff_new_pack.eJFGld/_new  2021-12-25 20:16:53.901261945 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package clutter
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,8 @@
 URL:            http://clutter-project.org/
 Source0:        
https://download.gnome.org/sources/clutter/1.26/%{name}-%{version}.tar.xz
 Source99:       baselibs.conf
+# PATCH-FIX-UPSTREAM cd4c50db38ea9421deb83f25935a27531aa756a9.patch -- 
wayland: Protect against enter events for empty surfaces
+Patch0:         
https://gitlab.gnome.org/GNOME/clutter/-/commit/cd4c50db38ea9421deb83f25935a27531aa756a9.patch
 
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig

++++++ cd4c50db38ea9421deb83f25935a27531aa756a9.patch ++++++
>From cd4c50db38ea9421deb83f25935a27531aa756a9 Mon Sep 17 00:00:00 2001
From: Emmanuele Bassi <eba...@gnome.org>
Date: Fri, 20 Mar 2020 16:08:21 +0000
Subject: [PATCH] wayland: Protect against enter events for empty surfaces

The `leave` handler checks for NULL surfaces, but the `enter` handler
does not.

Fixes: #17
---
 clutter/wayland/clutter-input-device-wayland.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/clutter/wayland/clutter-input-device-wayland.c 
b/clutter/wayland/clutter-input-device-wayland.c
index 7bfb615b7..3dab22070 100644
--- a/clutter/wayland/clutter-input-device-wayland.c
+++ b/clutter/wayland/clutter-input-device-wayland.c
@@ -472,7 +472,10 @@ clutter_wayland_handle_keyboard_enter (void *data,
                                        struct wl_array *keys)
 {
   ClutterInputDeviceWayland *device = data;
-  ClutterStageCogl          *stage_cogl;
+  ClutterStageCogl *stage_cogl;
+
+  if (surface == NULL)
+    return;
 
   if (!CLUTTER_IS_STAGE_COGL (wl_surface_get_user_data (surface)))
     return;
@@ -495,8 +498,9 @@ clutter_wayland_handle_keyboard_leave (void *data,
   ClutterInputDeviceWayland *device = data;
   ClutterStageCogl          *stage_cogl;
 
-  if (!surface)
+  if (surface == NULL)
     return;
+
   if (!CLUTTER_IS_STAGE_COGL (wl_surface_get_user_data (surface)))
     return;
 
-- 
GitLab

Reply via email to