Accepting request 977084 from GNOME:Next
New stable release OBS-URL: https://build.opensuse.org/request/show/977084 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=93
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a57acd0e4482981700fdf86596c7413cb61ef47f75e4747fda809e8231b8d96c
|
||||
size 23060172
|
3
gtk-4.6.4.tar.xz
Normal file
3
gtk-4.6.4.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a79a2bbcc7931b703fc4fa1fcbe1b906e229a1522d854d522801766a79bcac9f
|
||||
size 23074696
|
21
gtk4.changes
21
gtk4.changes
@@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 13 19:18:39 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 4.6.4:
|
||||
+ GtkFileChooser:
|
||||
- Fix select button sensitivity in select_folder mode.
|
||||
- Fix some fallout from list model porting.
|
||||
+ GtkListView, GtkColumnView: Optimize scrolling.
|
||||
+ print-to-file: Handle nonexisting files better in the dialog.
|
||||
+ Avoid infinite loops in size allocation.
|
||||
+ CSS: Optimize a case of reparenting that is important in
|
||||
GtkListView.
|
||||
+ GSK: Check for half-float support before using it.
|
||||
+ Wayland:
|
||||
- Ignore empty preedit updates This fixes a problem with
|
||||
textview scrolling.
|
||||
- Freeze popups when hidden. This addresses a frame rate drop-
|
||||
+ Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 28 12:45:55 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
@@ -26,6 +45,8 @@ Thu Apr 28 12:45:55 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
- Report serial numbers for events.
|
||||
+ MacOS: Prevent fullscreen transition reentrancy.
|
||||
+ Updated translations.
|
||||
- Drop gtkimmulticontext-Handle-switches-between-displays.patch:
|
||||
fixed upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 31 23:15:26 UTC 2022 - Jeff Mahoney <jeffm@suse.com>
|
||||
|
@@ -22,7 +22,7 @@
|
||||
%define _name gtk
|
||||
|
||||
Name: gtk4
|
||||
Version: 4.6.3
|
||||
Version: 4.6.4
|
||||
Release: 0
|
||||
Summary: The GTK+ toolkit library (version 4)
|
||||
License: LGPL-2.1-or-later
|
||||
@@ -34,8 +34,6 @@ Source2: settings.ini
|
||||
Source3: macros.gtk4
|
||||
Source99: gtk4-rpmlintrc
|
||||
|
||||
# PATCH-FIX-UPSTREAM gtkimmulticontext-Handle-switches-between-displays.patch glgo#GNOME/gtk#4805 -- gtkimmulticontext: Handle switches between displays
|
||||
Patch1: gtkimmulticontext-Handle-switches-between-displays.patch
|
||||
|
||||
BuildRequires: cups-devel >= 2.0
|
||||
# We do not support building against cups 2.3 betas
|
||||
|
@@ -1,60 +0,0 @@
|
||||
From: Carlos Garnacho <carlosg@gnome.org>
|
||||
Date: Thu, 31 Mar 2022 16:29:34 +0200
|
||||
Subject: gtkimmulticontext: Handle switches between displays
|
||||
Git-repo: https://gitlab.gnome.org/GNOME/gtk
|
||||
Git-commit: b67da38916b710ba6eedd65ffb569a29e47ddb4d
|
||||
References: glgo#GNOME/gtk#4805
|
||||
Upstream: merged
|
||||
|
||||
Currently the GtkIMMultiContext may stick to a delegate GtkIMContext
|
||||
that no longer applies after the multicontext is dissociated from
|
||||
any widget.
|
||||
|
||||
Handle set_client_widget() so that it can handle changes between
|
||||
widgets from 2 different display, but also so the delegate is made
|
||||
NULL whenever the context has a NULL widget.
|
||||
|
||||
Doing so, any new client widget results in a new delegate IM context
|
||||
lookup from the right GdkDisplay and GtkSettings, which avoids any
|
||||
mix up.
|
||||
|
||||
Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4805
|
||||
|
||||
Acked-by: Jeff Mahoney <jeffm@suse.com>
|
||||
---
|
||||
gtk/gtkimmulticontext.c | 13 +++++++++----
|
||||
1 file changed, 9 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/gtk/gtkimmulticontext.c b/gtk/gtkimmulticontext.c
|
||||
index 47347d299b..0a5ef9a5a6 100644
|
||||
--- a/gtk/gtkimmulticontext.c
|
||||
+++ b/gtk/gtkimmulticontext.c
|
||||
@@ -314,6 +314,11 @@ gtk_im_multicontext_set_client_widget (GtkIMContext *context,
|
||||
GtkIMContext *delegate;
|
||||
GtkSettings *settings;
|
||||
|
||||
+ if (priv->client_widget == widget)
|
||||
+ return;
|
||||
+
|
||||
+ gtk_im_multicontext_set_delegate (self, NULL, TRUE);
|
||||
+
|
||||
if (priv->client_widget != NULL)
|
||||
{
|
||||
settings = gtk_widget_get_settings (priv->client_widget);
|
||||
@@ -332,11 +337,11 @@ gtk_im_multicontext_set_client_widget (GtkIMContext *context,
|
||||
g_signal_connect (settings, "notify::gtk-im-module",
|
||||
G_CALLBACK (im_module_setting_changed),
|
||||
self);
|
||||
- }
|
||||
|
||||
- delegate = gtk_im_multicontext_get_delegate (self);
|
||||
- if (delegate)
|
||||
- gtk_im_context_set_client_widget (delegate, widget);
|
||||
+ delegate = gtk_im_multicontext_get_delegate (self);
|
||||
+ if (delegate)
|
||||
+ gtk_im_context_set_client_widget (delegate, widget);
|
||||
+ }
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user