Commit Graph

72470 Commits

Author SHA1 Message Date
Christian Hergert
f0e8ee3c29 gdk: use EGL_KHR_swap_buffers_with_damage
It appears that NVIDIA does not implement EGL_EXT_swap_buffers_with_damage
on their EGL implementation, but does implement the KHR variant of it.
This checks for a suitable implementation and stores a pointer to the
compatible implementation within the GdkGLContextPrivate struct.
2022-03-15 22:04:30 -04:00
Bilal Elmoussaoui
33a1cf203e headerbar: Fix docs 2022-03-15 22:04:23 -04:00
Matthias Clasen
5adce748cb text: Stop blinking when we lose focus
We were looking at GtkWidget:has-focus from
event controller signal handlers here, but
the widget property is only changed after
the event controllers.
2022-03-15 22:03:50 -04:00
Matthias Clasen
21d39b6054 focus controller: Update for active window
When the window gains or looses active status,
update the focus controllers status.
2022-03-15 22:03:42 -04:00
Matthias Clasen
a2f30ac1ab window: Update has-focus property
Update the :has-focus property of the focus
widget when the active status of the window
changes.

We change the property after generating the
GDK_CROSSING_ACTIVE crossing events.
2022-03-15 22:03:34 -04:00
Carlos Garnacho
3764b27bab gtkscrolledwindow: Do not try to doubly trigger deceleration
This may come from different sources at around the same time, e.g.
a hold gesture while on overshoot. Avoid doing that if an
animation is already set.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4730
2022-03-15 22:02:45 -04:00
Rico Tzschichholz
8fb610915c gdk: Add missing out annotation on gdk_content_deserialize_finish 2022-03-15 22:01:19 -04:00
Benjamin Otte
16a7e3e3d8 listview: Fix return_if_fail()s 2022-03-15 22:00:58 -04:00
Benjamin Otte
47ea51efab flattenlistmodel: Fix indentation 2022-03-15 22:00:47 -04:00
Benjamin Otte
50554bb92b renderers: Handle large viewports
When large viewports are passed to gsk_renderer_render_texture(), don't
fail (or even return NULL).

Instead, draw multiple tiles and assemble them into a memory texture.

Tests added to the testsuite for this.
2022-03-15 22:00:39 -04:00
Christoph Reiter
0ea0fc9c7b CI: disable debug for MSVC
CI currently fails with "fatal error LNK1318: Unexpected PDB error; OK (0) ''"
Google tells me it might be related to hitting a memory limit. Let's try
disabling debug for now.
2022-03-15 22:00:30 -04:00
Luca Bacci
206e837dde Fix last error reporting when calling GetClipboardOwner
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/1402
2022-03-15 22:00:10 -04:00
Matej Urbančič
f43d0365dd Update Slovenian translation 2022-03-15 21:27:06 +00:00
Kjartan Maraas
72a557087c Update Norwegian Bokmål translation 2022-03-15 15:26:33 +00:00
Мирослав Николић
b59f9b97f3 Update Serbian translation 2022-03-15 06:33:22 +00:00
Christian Kirbach
a1f4735652 Update German translation 2022-03-13 22:08:50 +00:00
Balázs Úr
c5e372490d Update Hungarian translation 2022-03-13 00:25:05 +00:00
Baurzhan Muftakhidinov
78e083b014 Update Kazakh translation 2022-03-12 16:34:02 +00:00
Baurzhan Muftakhidinov
6ac723321f Update Kazakh translation 2022-03-12 13:23:19 +00:00
Anders Jonsson
343b08f3e6 Update Swedish translation 2022-03-12 11:39:05 +00:00
Dušan Kazik
c8d1f23ff5 Update Slovak translation 2022-03-11 07:43:53 +00:00
Balázs Úr
8a7fd71697 Update Hungarian translation 2022-03-11 01:08:54 +00:00
Yosef Or Boczko
39fcfa4473 Update Hebrew translation 2022-03-10 18:42:34 +00:00
Jiri Grönroos
d188c6dbaf Update Finnish translation 2022-03-09 19:03:37 +00:00
Marek Černocký
8aec0dc200 Fixed Czech translation 2022-03-09 19:07:33 +01:00
Anders Jonsson
9053fd8335 Update Swedish translation 2022-03-09 10:49:50 +00:00
Danial Behzadi
a9720259f0 Update Persian translation 2022-03-08 15:00:39 +00:00
Ask Hjorth Larsen
b012886294 Updated Danish translation of gtk-properties 2022-03-08 01:21:58 +01:00
Ask Hjorth Larsen
5de26c684b Updated Danish translation 2022-03-08 01:21:58 +01:00
Aurimas Černius
b1d9259e7d Updated Lithuanian translation 2022-03-07 18:29:36 +02:00
Luna Jernberg
89bba41fd7 Update Swedish translation 2022-03-07 08:09:32 +00:00
Luming Zh
248d7ec93c Update Chinese (China) translation 2022-03-05 23:45:12 +00:00
Jordi Mas i Hernandez
2be2912e43 Update Catalan translation 2022-03-04 21:40:27 +00:00
Changwoo Ryu
2755ad19be Update Korean translation 2022-03-04 14:20:21 +00:00
Changwoo Ryu
156f99560d Update Korean translation 2022-03-03 12:46:34 +00:00
Daniel Mustieles
159e9de034 Updated Spanish translation 2022-03-03 11:45:15 +01:00
Luca Bacci
f679b0648b Merge branch 'backport-mr-4506-to-gtk-4-6' into 'gtk-4-6'
GdkWin32: Configure as needed when going fullscreen

See merge request GNOME/gtk!4547
2022-03-03 10:09:38 +00:00
Luca Bacci
f1ffa6eae9 Merge branch 'backport-mr-4531-to-gtk-4-6' into 'gtk-4-6'
gdkkeys-win32: Only perform substitution as last-resort

See merge request GNOME/gtk!4546
2022-03-03 09:33:27 +00:00
Luca Bacci
ec1b61494f GdkWin32: Configure as needed when going fullscreen
Apply the fixes made by Chun-Wei Fan in [1] also for fullscreening /
unfullscreen. Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/4631

Also set the SWP_FRAMECHANGED flag as written by Raymond Chen in "How
do I switch a window between normal and fullscreen?" [2]

> An important flag to pass here is SWP_FRAME­CHANGED, which tells
> the window manager to recalculate the window decorations (which we
> need it to do because we just changed them).

References:
[1] - https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3712
[2] - https://devblogs.microsoft.com/oldnewthing/20100412-00/?p=14353
2022-03-03 10:01:41 +01:00
Philip Zander
cc561915b7 gdkkeys-win32: Only perform substitution as last-resort
Instead of performing keyboard layout substitution whenever we find a matching
entry in the registry, first try to load the original layout and only attempt
substitution when that fails.

See #4724
2022-03-03 09:59:53 +01:00
Aleksandr Melman
15707acb82 Update Russian translation 2022-03-02 19:29:31 +00:00
Emin Tufan Çetin
a8ce293bfc Update Turkish translation 2022-03-02 13:05:48 +00:00
Goran Vidović
4eee322654 Update Croatian translation 2022-03-01 13:04:47 +00:00
Goran Vidović
67ae05d855 Update Croatian translation 2022-03-01 12:53:52 +00:00
Marek Černocký
5c535517b5 Updated Czech translation 2022-03-01 12:07:36 +01:00
Rafael Fontenelle
ded6bc04ff Update Brazilian Portuguese translation 2022-02-28 14:46:55 +00:00
Fran Dieguez
3e8179c66e Update Galician translation 2022-02-27 22:45:33 +00:00
Asier Sarasua Garmendia
3c21d6bf92 Update Basque translation 2022-02-27 08:05:18 +00:00
Hugo Carvalho
4c7af43eb3 Update Portuguese translation 2022-02-26 18:09:30 +00:00
Yuri Chornoivan
5ce96d5f3b Update Ukrainian translation 2022-02-26 13:05:23 +00:00