Commit Graph

53204 Commits

Author SHA1 Message Date
3020890e86 Merge branch 'cursor-size-tweak' into 'gtk-3-24'
[gtk3] Don't fall back directly to 1 for mismatched cursor sizes.

See merge request GNOME/gtk!5481
2023-11-29 12:44:17 +00:00
a074f1fe72 Fix a minor issue in the file portal test
get_data can be called multiple times, so we must not clear
the data the first time we get called.
2023-11-27 19:12:53 -05:00
0bffedf5b8 Merge branch 'wayland-cursor-fix-3-24' into 'gtk-3-24'
wayland: Be more careful when loading cursors

See merge request GNOME/gtk!6623
2023-11-27 21:28:37 +00:00
2b5a6963e4 wayland: Be more careful when loading cursors
Make sure we don't access the cursor_images array out of bounds.

Related: #6234
2023-11-27 14:53:51 -05:00
7e1e11e280 Merge branch 'dialog-close-fix' into 'gtk-3-24'
[gtk3] GtkFileChooserNative: Fix portal close.

See merge request GNOME/gtk!6611
2023-11-25 17:18:27 +00:00
307dde7f6c [gtk3] GtkFileChooserNative: Fix portal close.
This makes closing a portal file chooser work.

Fixes the GTK3 bits of #6225.
2023-11-25 03:32:47 +01:00
65b0c289b0 Fix the build 2023-11-19 21:10:05 -05:00
a0277a46d3 Merge branch 'unavailable-gl-functions' into 'gtk-3-24'
gl: Limit glGetTexLevelParameteriv use to supported platforms

See merge request GNOME/gtk!6554
2023-11-19 17:18:06 +00:00
673bd65090 gl: Limit glGetTexLevelParameteriv use to supported platforms 2023-11-19 17:18:05 +00:00
88217f2e44 Add missing parentheses
This problem was introduced in f5bf4aeaa6.
2023-11-19 12:17:37 -05:00
ad3972e6b1 Update Polish translation 2023-11-19 15:37:56 +01:00
626892086c Update Polish translation 2023-11-18 17:10:05 +01:00
ccf7f217f0 Update Icelandic translation 2023-11-17 10:38:44 +00:00
d00982001d Update Icelandic translation 2023-11-17 10:37:12 +00:00
dff7f07eb6 Update Belarusian translation 2023-11-14 23:07:14 +00:00
694c68e5a6 Update Belarusian translation 2023-11-14 22:27:50 +00:00
c47425c62e Update Turkish translation 2023-10-29 11:21:54 +00:00
f5b67ddac2 Update Georgian translation 2023-10-25 21:27:51 +00:00
2ced0b9179 Update Turkish translation 2023-10-25 13:34:20 +00:00
b5118d2150 Update Turkish translation 2023-10-21 09:16:16 +00:00
73d5663a8c Update Georgian translation 2023-10-17 22:34:06 +00:00
21dd4d78d3 Update Georgian translation 2023-10-17 19:18:04 +00:00
be74e8a12a Merge branch 'wayland-entries-for-keyval' into 'gtk-3-24'
wayland: Don't return True if we fail to convert a keyval

See merge request GNOME/gtk!6492
2023-10-17 16:44:48 +00:00
8143aa1b94 wayland: Don't return True if we fail to convert a keyval
gdk_keymap_get_entries_for_keyval is supposed to return FALSE when no
keys were found. Do so to prevent careless clients (that don't check
n_keys too) from crashing.
2023-10-17 18:22:47 +02:00
63d70fd3ee Update Georgian translation 2023-10-08 20:41:31 +00:00
98fa45f633 Update Georgian translation 2023-10-01 11:49:24 +00:00
2a49c52c9e Update Georgian translation 2023-10-01 11:32:25 +00:00
89137211a9 Merge branch 'gtk-3-24' into 'gtk-3-24'
GtkTooltip: prevent tooltips from appearing offscreen in edge cases (fixes #2784)

See merge request GNOME/gtk!2649
2023-09-30 15:04:30 +00:00
d8e44dcabc Update Esperanto translation 2023-09-29 18:39:46 +00:00
a54f50ef20 Merge branch 'gles-swapped-colors' into 'gtk-3-24'
OpenGL/ES: Fix 'R' and 'B' bits inverted on all platforms

See merge request GNOME/gtk!6440
2023-09-28 17:11:05 +00:00
261780ac51 OpenGL/ES: Fix 'R' and 'B' bits inverted on all platforms
The color channels are swapped on Linux too, not only on Windows. It can be
reproduced by running the "OpenGL Area" example from gtk3-demo with
GDK_GL=gles, or play a video in totem with GDK_GL=gles.

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3032
2023-09-28 18:49:51 +02:00
796bbee163 Update Esperanto translation 2023-09-27 20:56:31 +00:00
9e45d0cef6 Update Esperanto translation 2023-09-25 21:22:21 +00:00
2b6721517c Update Esperanto translation 2023-09-25 19:27:33 +00:00
3e8c9ebebb Update Esperanto translation 2023-09-25 16:31:27 +00:00
17eaebebd0 Update Spanish translation 2023-09-21 09:46:22 +00:00
4376de2bd2 Update Spanish translation 2023-09-21 09:44:42 +00:00
2e678a9616 Update Georgian translation 2023-09-20 19:51:06 +00:00
1be882a76f Update Georgian translation 2023-09-20 19:32:25 +00:00
236a6c79ac Update Chinese (China) translation 2023-09-19 01:32:22 +00:00
87c88720be Merge branch 'useless-dpi-settings-notification' into 'gtk-3-24'
gdk/wayland: Don't notify of settings changes on startup.

See merge request GNOME/gtk!6375
2023-09-13 21:31:13 +00:00
8a479df04e Updated Danish translation 2023-09-11 21:12:37 +02:00
ecf3ac115d Update Korean translation 2023-09-05 17:27:16 +00:00
0bf7d9ce39 gdk/wayland: Don't notify of settings changes on startup.
I was profiling Firefox startup on Wayland, and I realized that we were
doing too much work because we get extra settings changed events, posted
from here:

    #0  gdk_event_copy (event=0x7ffe9c4a7fd0) at ../gtk/gdk/gdkevents.c:659
    #1  0x00007f8b8a5060c6 in gdk_display_put_event (event=0x7ffe9c4a7fd0, display=0x7f8b8d551a00) at ../gtk/gdk/gdkdisplay.c:503
    #2  gdk_display_put_event (display=0x7f8b8d551a00, event=0x7ffe9c4a7fd0) at ../gtk/gdk/gdkdisplay.c:497
    #3  0x00007f8b8a5456e6 in notify_setting (setting=0x7f8b8a59b6d6 "gtk-xft-dpi", screen=0x7f8b8d517700) at ../gtk/gdk/wayland/gdkscreen-wayland.c:237
    #4  update_xft_settings (screen=0x7f8b8d517700) at ../gtk/gdk/wayland/gdkscreen-wayland.c:513
    #5  0x00007f8b8a53ef6d in init_settings (screen=0x7f8b8d517700) at ../gtk/gdk/wayland/gdkscreen-wayland.c:842
    #6  _gdk_wayland_screen_new (display=0x7f8b8d551a00) at ../gtk/gdk/wayland/gdkscreen-wayland.c:1367
    #7  _gdk_wayland_display_open (display_name=<optimized out>) at ../gtk/gdk/wayland/gdkdisplay-wayland.c:618
    #8  0x00007f8b8a507bc7 in gdk_display_manager_open_display (manager=<optimized out>, name=0x0) at ../gtk/gdk/gdkdisplaymanager.c:462
    #9  0x00007f8b82bda2f8 in XREMain::XRE_mainStartup(bool*) (this=this@entry=0x7ffe9c4a8398, aExitFlag=aExitFlag@entry=0x7ffe9c4a830f) at /home/emilio/src/moz/gecko-6/toolkit/xre/nsAppRunner.cpp:4760
    #10 0x00007f8b82be1742 in XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) (this=this@entry=0x7ffe9c4a8398, argc=argc@entry=4, argv=argv@entry=0x7ffe9c4a9698, aConfig=...) at /home/emilio/src/moz/gecko-6/toolkit/xre/nsAppRunner.cpp:5874
    #11 0x00007f8b82be1c2c in XRE_main(int, char**, mozilla::BootstrapConfig const&) (argc=4, argv=0x7ffe9c4a9698, aConfig=...) at /home/emilio/src/moz/gecko-6/toolkit/xre/nsAppRunner.cpp:5942
    #12 0x000055631ef3b3e9 in do_main(int, char**, char**) (argc=4, argv=0x7ffe9c4a9698, envp=<optimized out>) at /home/emilio/src/moz/gecko-6/browser/app/nsBrowserApp.cpp:227
    #13 main(int, char**, char**) (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at /home/emilio/src/moz/gecko-6/browser/app/nsBrowserApp.cpp:445

We shouldn't post events for a screen we're just creating, because it
can make apps do too much work during startup. X11 had code for this.
2023-09-04 17:40:13 +02:00
f5d5f167ea Update Georgian translation 2023-09-04 13:37:56 +00:00
ee21154413 gdk/wayland: Use g_warning_once for cursor scale mismatches. 2023-09-04 15:17:50 +02:00
c06c7bdc6a gdk/wayland: Don't fall back directly to 1 for mismatched cursor sizes.
Try to find a lower scale that still works. In most cases this will end
up with a 2-scaled cursor rather than 3-scaled cursor.

Fixes #5567
2023-09-04 15:17:50 +02:00
292893f9d7 Update Punjabi translation 2023-09-02 03:09:28 +00:00
4560664fff [gdk-quartz] Set POPUP_MENU type hint for GDK_WINDOW_TEMP.
GDK_WINDOW_TEMP is set only for GTK_WINDOW_POPUP. If the type_hint
is left at the default GDK_WINDOW_TYPE_HINT_NORMAL the Quartz WM
will fullscreen it, which isn't desirable for popup menus or other
popups.

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5716
2023-08-28 20:23:13 -07:00
022c36a137 Fix _gtk_get_slowdown()
We need to pass void as the argument type.
2023-08-28 16:46:43 -04:00