Commit Graph

54597 Commits

Author SHA1 Message Date
a7bb7c5993 Add a missing build file from upstream git 2022-11-23 15:20:44 +00:00
2dd3676671 Drop most patches, included in upstream release 2022-11-23 15:17:35 +00:00
3ac1cc097f New upstream release 2022-11-23 15:11:30 +00:00
9c24e3ce54 Update upstream source from tag 'upstream/3.24.35'
Update to upstream version '3.24.35'
with Debian dir 0b0e3f3a24
2022-11-23 15:11:30 +00:00
3d912405b7 New upstream version 3.24.35 2022-11-23 15:09:27 +00:00
14cf55f98d 3.24.35 2022-11-22 13:43:03 -05:00
9bda1e9e13 Merge branch 'ebassi/app-default-flags' into 'gtk-3-24'
Do not use new G_APPLICATION_DEFAULT_FLAGS enum value

See merge request GNOME/gtk!5245
2022-11-22 18:41:17 +00:00
46a43461c1 Do not use new G_APPLICATION_DEFAULT_FLAGS enum value
The merge request !5235 switched tests and examples from
G_APPLICATION_FLAGS_NONE, which has been deprecated in GLib 2.74, to
G_APPLICATION_DEFAULT_FLAGS. Sadly, it was done unconditionally, which
means we'd have to bump the required version of GLib.

To avoid that, let's just use the numeric value of the enum member.
2022-11-22 18:09:29 +00:00
8d9d4434dc Update Serbian translation 2022-11-20 18:43:24 +00:00
f6c649b143 Update Serbian translation 2022-11-20 14:31:19 +00:00
9b9e989ea9 Update German translation 2022-11-20 10:35:54 +00:00
9cdeff6a18 Merge branch 'replace-deprecations' into 'gtk-3-24'
examples, tests: Replace deprecations

See merge request GNOME/gtk!5235
2022-11-19 23:25:45 +00:00
9ac36cea3c Update Swedish translation 2022-11-19 20:10:37 +00:00
b7a1941ab5 examples, tests: Replace deprecations
‘G_APPLICATION_FLAGS_NONE’ is deprecated: Use
'G_APPLICATION_DEFAULT_FLAGS' instead.
2022-11-19 23:23:50 +05:00
b2952faaee Release to unstable 2022-11-18 23:56:57 +00:00
8f2f5422cd Skip border-image-excess-size reftest on big-endian machines
Mitigates: #1024392
2022-11-18 23:56:34 +00:00
bcb13773b4 Mark patch as applied upstream 2022-11-18 23:56:28 +00:00
433b72fa21 Merge branch 'wip/smcv/3-24-autotools' into 'gtk-3-24'
[3.24] build: Define USE_XDG_ACTIVATION conditional when Wayland is disabled

See merge request GNOME/gtk!5226
2022-11-18 19:44:48 +00:00
b6d124cfce Release to unstable 2022-11-18 11:53:10 +00:00
7f95582aa3 Add patch to fix FTBFS for the udeb and non-Linux architectures 2022-11-18 11:52:40 +00:00
20f2c13b2b build: Define USE_XDG_ACTIVATION conditional when Wayland is disabled
This fixes Autotools builds that disable Wayland, such as non-Linux
operating systems and the minimal "udeb" (micro-.deb) package used in
Debian's installer.

Signed-off-by: Simon McVittie <smcv@debian.org>
2022-11-18 11:49:49 +00:00
c8db1993a9 Update patch series to 3.24.34-209-gf8d26e2acc
This fixes a regression where invalid cursors would be displayed at an
excessive size.
2022-11-18 10:56:53 +00:00
705fb86b8e Update changelog 2022-11-18 10:50:29 +00:00
f8d26e2acc Merge branch 'libwayland-cursor-in-tree-gtk-3-24' into 'gtk-3-24'
Make wayland load cursors on demand

See merge request GNOME/gtk!5192
2022-11-18 03:55:52 +00:00
c930d8361b Update Turkish translation 2022-11-15 18:29:44 +00:00
bfddd4795b Update Turkish translation 2022-11-15 18:22:43 +00:00
98b1965e99 Build-/test-depend on dbus-daemon for dbus-run-session, instead of dbus 2022-11-15 11:33:49 +00:00
d03dca1d46 d/patches: Update to upstream gtk-3-24 branch commit 3.24.34-204-g2fcc114870
Windows- and macOS-specific changes excluded.
2022-11-15 11:28:51 +00:00
2fcc114870 Merge branch 'gtk-3-gles' into 'gtk-3-24'
gdk_wayland_display_init_gl: use GLES API if required

See merge request GNOME/gtk!5062
2022-11-10 13:44:34 +00:00
66a199806c Make wayland load cursors on demand
Add and use a modified libwayland-cursor in-tree,
just as done in the main branch for GTK4
2022-11-04 15:16:06 +01:00
4432a03742 Revert "wayland/cursor: Sanity check cursor image size"
This reverts commit da4066774b.
2022-11-04 10:58:37 +01:00
d3c39fb438 Update Norwegian Bokmål translation 2022-11-04 07:49:02 +00:00
56eaeff89d Update Indonesian translation 2022-11-03 03:47:01 +00:00
230718c326 Update Dutch translation 2022-11-01 23:08:40 +00:00
d0f49d9f9d Update Russian translation 2022-10-31 12:28:26 +00:00
13cdfb7476 Update Abkhazian translation 2022-10-31 09:48:33 +00:00
e6ce24125c Update Polish translation 2022-10-30 12:37:05 +01:00
ae42ed0a18 Update Hungarian translation 2022-10-30 00:00:03 +00:00
2d76cd4b2b Update Portuguese translation 2022-10-29 15:46:12 +00:00
bd736aed8c Update Ukrainian translation 2022-10-29 05:46:25 +00:00
89ea9ba600 Update Slovenian translation 2022-10-28 06:33:43 +00:00
b009366e21 Merge branch 'keypad-accels' into 'gtk-3-24'
Differentiate keypad keysyms in accelerators

See merge request GNOME/gtk!5176
2022-10-28 04:02:48 +00:00
6cc0552ab8 Differentiate keypad keysyms in accelerators
When displaying accelerators, differentiate keypad
symbols with a 'KP' prefix. Fixing a 17 year old bug.

Backport of c58d9446f40b36136f25baf.
2022-10-27 14:57:01 -04:00
2703e420ae Merge branch 'wip/carlosg/xdg-activation-3-24' into 'gtk-3-24'
gdk/wayland: Support the xdg-activation wayland protocol (3.24)

See merge request GNOME/gtk!3489
2022-10-26 22:15:11 +00:00
0b4b9f6136 Merge branch 'tooltips-x11-scale-cursor-size' into 'gtk-3-24'
GtkTooltip: Scale the cursor size on X11

See merge request GNOME/gtk!5173
2022-10-26 15:41:23 +00:00
bbce00f3a3 GtkTooltip: Scale the cursor size on X11
GtkSettings/X11 takes the values as provided by
XSettings. Unlike other backends, the values of
XSettings are in physical size (that's because
X11 doesn't support mixed-DPI setups anyway).

Take that in account when retrieving the cursor
size in gtk_tooltip_position ().

Note that this discrepancy between the X11 and
other backends has been fixed in GTK4.

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5223
2022-10-26 15:21:38 +02:00
22c95cd1e9 gdk/wayland: Enable xdg-activation only if wayland-protocols >= 1.21
This way we can keep the same wayland-protocols requirement, so the latest GTK3
still builds on distributions shipping older versions of wayland-protocols,
such as Debian Bullseye.

Should fix CI builds as well.
2022-10-25 23:52:47 +02:00
3b25f9a662 gdk/wayland: Check the GdkSurface wl_surface before using it for activation
Double check the GdkSurface has a wl_surface before using it as the activation
token source, since we cannot use NULL surfaces here.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1862
Backport-of: 4b41d4f78ce71b60f0d51837cd1b6a1b346d679d
Signed-off-by: Joan Bruguera <joanbrugueram@gmail.com>
2022-10-25 15:54:05 +02:00
7fa87abf8a gdk/wayland: Dispatch GdkAppLaunchContext activation token in its own queue
Use a separate queue to dispatch the token object exclusively, just like we
do on the GdkSurface activation paths.

Backport-of: fb68600d88d4d334f7da7d079b106a1ef14503a6
Signed-off-by: Joan Bruguera <joanbrugueram@gmail.com>
2022-10-25 15:53:57 +02:00
45f0b5d052 wayland: Use xdg-activation for non-startup initiated focus requests
Currently, we have all the plumbing in place so that GTK consumes the
startup notification ID when focusing a window through the xdg-activation
protocol.

This however misses the case that a window might be requested to be
focused with no startup ID (i.e. via interaction with the application,
not through GApplication or other application launching logic).

In this case, we let the application create a token that will be
consumed by itself. The serial used is that from the last
interaction, so the compositor will still be able to do focus prevention
logic if it applies.

Since we already do have a last serial at hand, prefer xdg-activation
all the way over the now stale gtk-shell focusing support. The timestamp
argument becomes unused, but that is a weak argument to prefer the
private protocol over the standard one. The gtk-shell protocol support
is so far left for interaction with older Mutter.

Backport-of: 4dcacff3120d5c1cef888061dbc42f5fbe093a58
Signed-off-by: Joan Bruguera <joanbrugueram@gmail.com>
2022-10-25 15:53:49 +02:00