~vcs-imports/gtk/+git/gtk:wip/chergert/set-default-size-after-drag-resize

Last commit made on 2024-02-02
Get this branch:
git clone -b wip/chergert/set-default-size-after-drag-resize https://git.launchpad.net/~vcs-imports/gtk/+git/gtk

Branch merges

Branch information

Name:
wip/chergert/set-default-size-after-drag-resize
Repository:
lp:~vcs-imports/gtk/+git/gtk

Recent commits

d555594... by Christian Hergert <email address hidden>

gdk/wayland: fix gtk_window_set_default_size() after resize

This fixes Prompt/gnome-terminal to be able to properly resize a window
after a user has dragged to resize the window.

This applies !is_resizing to size_is_fixed instead of fixed_size to avoid
changing the branches leading to the code.

5483821... by Luca Bacci <email address hidden>

Merge branch 'gdk-win32-empty-frame' into 'main'

GdkWin32: Implement GdkDrawContext::empty_frame() vfunc

See merge request GNOME/gtk!6831

05e2555... by Matthias Clasen <email address hidden>

Merge branch 'gtk4-monitor-size' into 'main'

[gtk4/wayland] Fix GdkMonitor sizes on Mutter without fractional scaling.

See merge request GNOME/gtk!6832

f809893... by Matthias Clasen <email address hidden>

inspector: Better monitor information

Show the fractional scale if we have one, and pixels.

Only Wayland has fractional scales, and for monitors, we have
to derive it from the logical and physical resolution of the
monitor. Not ideal, but it works.

8df8d0b... by Matthias Clasen <email address hidden>

monitor: Add gdk_monitor_get_scale

This matches the surface api we have, and closes an api gap.

ea6ad66... by Matthias Clasen <email address hidden>

wayland: Small fixup to monitor size handling

The first time this function is called, has_xdg_output() returns
true, but haven't yet received all the xdg-output events, so wait
for that to be done. Otherwise, the logical size is 0, and nothing
useful comes from that.

5ceb9a7... by Emilio

[gtk4/wayland] Fix GdkMonitor sizes on Mutter without fractional scaling.

This fixes a problem that is apparent in
https://bugzilla.mozilla.org/show_bug.cgi?id=1869724, but that also
reproduces on any GTK application as described in
https://bugzilla.mozilla.org/show_bug.cgi?id=1869724#c16.

xdg_output sizes might be physical if the compositor doesn't scale them,
it seems. So to report the correct logical geometry in GDK pixels, we
need to detect this case. We do this by checking whether the wl_output
size matches the xdg_output size.

216dbf1... by Benjamin Otte <email address hidden>

Merge branch 'wip/otte/dmabuf-disjoint' into 'main'

dmabuf: Fix disjoint detection

See merge request GNOME/gtk!6830

ff4db4e... by Matthias Clasen <email address hidden>

Merge branch 'macos-file-filter-pixbufs' into 'main'

macos: Add pixbuf formats similar to mime-types

Closes #5296

See merge request GNOME/gtk!6754

57dde7e... by Luca Bacci <email address hidden>

GdkWin32: Implement GdkDrawContext::empty_frame() vfunc