| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This has caused numerous issues for users, especially in the
filechooser, which have not been fixed in all the years since the pixel
cache has been introduced.
If anyone seriously has complaints about the treeview performance (and
those did not exist with the pixel cache), feel free to revert this
commit *and* fix the pixel cache issues.
Closes #503
Closes #1691
Closes #466
|
|\
| |
| |
| |
| | |
build: Remove mingw check for SetupDiGetDevicePropertyW
See merge request GNOME/gtk!862
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It was mssing when the check was added in 2016, but was fixed upstream
in https://github.com/mirror/mingw-w64/commit/9ef49367378c50553943bd
shortly after.
Assume everyone has updated by now.
See !861 for a related change on the master branch.
|
|\ \
| |/
|/|
| |
| | |
docs: Fix the override for GdkAtom
See merge request GNOME/gtk!863
|
|/
|
|
|
|
|
| |
GdkAtom is a typedef to a pointer to an opaque structure. We need to
tell GTK-Doc how to override it, so that the documentation is accurate.
Fixes: #302
|
|
|
|
|
| |
With the more current GdkDisplay function.
Also separate the if statements with blank lines.
|
|
|
|
| |
Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1822
|
|\
| |
| |
| |
| | |
Adwaita: Don't round the non-csd menu corners (GTK3)
See merge request GNOME/gtk!834
|
| |
| |
| |
| |
| |
| | |
Otherwise, the menu will have ugly black corners.
Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1661
|
|/
|
|
|
|
|
| |
It takes half a second on my system to initially
populate the Emoji chooser. That is too long. Do
the work in 8 millisecond chunks to give GTK a
chance to get some frames done.
|
|\
| |
| |
| |
| | |
Cups deprecation warnings for gtk-3-24
See merge request GNOME/gtk!833
|
| |
| |
| |
| |
| | |
Require CUPS 2.0 and newer to simplify code.
This removes all ifdefs dependent on CUPS version.
|
| |
| |
| |
| |
| | |
Drop support for versions of CUPS < 2.0, to simplify the backend code
and drop a lot of conditional blocks.
|
| |
| |
| |
| |
| |
| |
| | |
The http* family of functions was deprecated after CUPS 1.7. We can
conditionally use it when built against a newer version of CUPS. The
additional parameters are taken directly from the fallback values
inside CUPS itself.
|
|/
|
|
|
| |
We support CUPS ≥ 1.2, but we use API that was introduced and deprecated
at a later point.
|
|\
| |
| |
| |
| | |
GdkSurface - Don't call unimplemented NULL set_startup_id() vfunc on Win32
See merge request GNOME/gtk!826
|
|/
|
|
|
|
|
|
|
|
| |
GdkWindow::set_startup_id() is NULL on Win32 and would cause a segfault
if called.
While the documentation of the main caller of set_startup_id(),
gtk_window_set_startup_id(), mentions that it's not implemented on
Windows it can still be automatically called via Glade and simply doing
nothing on Win32 is going to be less disruptive than a segfault.
|
| |
|
|\
| |
| |
| |
| | |
GtkHeaderBar: Don't leak decoration layout
See merge request GNOME/gtk!823
|
|/
|
|
|
|
|
| |
Currently we leak priv->decoration_layout if the layout is set
multiple times.
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
|
|
|
|
| |
This tests that listing multiple font
families in the css font-family property
works as expected.
|
|
|
|
|
|
|
| |
Pango API to support this, so we can implement
this very easily.
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1854
|
|\
| |
| |
| |
| | |
treeview: Draw rubber band rectangle more often
See merge request GNOME/gtk!803
|
|/
|
|
|
|
|
|
| |
If the cursor coordinates are outside of the content (the GtkRBTree),
gtk_tree_view_bin_draw() will return and not draw the rubber band
rectangle.
Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1859
|
| |
|
|\
| |
| |
| |
| | |
[3.24] wayland: Add support for xdg-output
See merge request GNOME/gtk!750
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, the GDK backend for Wayland would deduce the logical size
of the monitors from the wl_output size and scale.
With the addition of fractional scaling which advertises a larger scale
value and then scale down the client surface, the computed logical size
of the monitors in GDK would be wrong and confuse applications which
insist on using the monitor size and position (like Firefox).
The xdg-output protocol aims at describing outputs in a way which is more
in line with the concept of an output on desktop oriented systems by
presenting the outputs using their logical size and position appropriately
transformed.
Add support for the optional xdg-output protocol so that the size and
position of the monitors as reported by GDK is correct even when using
fractional scaling.
Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/1828
|
|\ \
| | |
| | |
| | |
| | | |
gtkimcontextime.c: Fix preedit window placement on HiDPI
See merge request GNOME/gtk!775
|
| | |
| | |
| | |
| | |
| | |
| | | |
We must also take the scaling factor into account for placing the IME
preedit window that is often used for Chinese and Japanese input on
Windows.
|
| | |
| | |
| | |
| | | |
Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1818
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
GtkTextBufferSerialize: Check and fix format string arguments
See merge request GNOME/gtk!779
|
| | |
| | |
| | |
| | | |
The format string has two string parameters however only one was supplied.
|
|/ /
| |
| |
| | |
This allows the compiler to warn if format string and arguments do not match.
|
|\ \
| | |
| | |
| | |
| | | |
quartz: Add missing g_object_ref
See merge request GNOME/gtk!768
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A g_object_ref() call was missing, sometimes causing crashes during
drag-and-drop operations. The matching g_object_unref() is at
gdk/gdkdnd.c:261.
The logic in this function is still wrong--it finds the wrong GdkWindow under
some circumstances--but this commit fixes the crash.
Part of #1840.
|
|\ \
| | |
| | |
| | |
| | | |
gdk/wayland: Listen to wl_surface events on tablet cursors
See merge request GNOME/gtk!759
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
And update the surface accordingly (eg. scale on hidpi). The mechanism
that did that for wl_pointer has been made generic so it can be shared
with tablets too.
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1675
|
|\ \
| | |
| | |
| | |
| | | |
wayland: Avoid using uninitialized memory
See merge request GNOME/gtk!758
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
_gdk_wayland_cursor_get_buffer was not initializing
its out variables in the 'not found' case. This
was showing up in protocol traces as garbage hotspots
being sent to the compositor.
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1328
|
| |
| |
| |
| |
| | |
Avoid an "implicit declaration of ..." warning/error for using
close()/write().
|
| | |
|
| |
| |
| |
| | |
Update the years to 2019, and use some better typography.
|
|/
|
|
| |
Just because we can.
|
|
|
|
| |
Backport from master: f9a5a474f0e1a482cacde63
|
|\
| |
| |
| |
| | |
gdk/wayland: Use event window to calculate coordinatess for show_window_menu()
See merge request GNOME/gtk!749
|
|/
|
|
| |
The previously used window always was the xdg_toplevel window.
|
| |
|
| |
|
|
|
|
|
| |
This resulted in -DINCLUDE_IM_ti-et getting passed to gcc resulting in
lots of warnings. Use underscorify() so we get the correct -DINCLUDE_IM_ti_et instead.
|
|\
| |
| |
| |
| | |
meson: Fix build on macOS
See merge request GNOME/gtk!735
|