| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Handle (and ignore) new Pango attributes.
|
|
|
|
|
| |
This fix error when gstgl_dep comes from a subproject because in that
case it cannot be used in compiler checks.
|
|
|
|
|
|
| |
Make it clear that your class must have all the editable properties
already before you call the (confusingly named) function
gtk_editable_install_properties.
|
|
|
|
|
| |
Our tests use this settings, so we should respect it
in non-debug builds as well.
|
|
|
|
|
|
|
|
| |
This adds support for sequences like <Compose>,G,u -> capital G with
breve. Previously, only a capital U was accepted for E, G, I and O
(but a lower-case u was accepted for A and U for some reason).
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
|
|
| |
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The GtkComposeTable cache is always in big-endian format and is
byteswapped on load for the more common little-endian CPUs, but
init_builtin_table() in GtkIMContextSimple can't byteswap the built-in
data without copying it, which is undesirable. Pregenerate both big-
and little-endian compose data, and compile the correct flavour into
each build of GTK. This fixes failure of the composetable test when
building for a big-endian architecture such as s390x and (traditional,
big-endian) powerpc.
Resolves: https://gitlab.gnome.org/GNOME/gtk/-/issues/4217
Signed-off-by: Simon McVittie <smcv@debian.org>
|
| |
|
|
|
|
|
|
| |
This way, we can be sure it's always using the right display.
We can also be sure that it doesn't leak.
|
|
|
|
|
| |
We don't want the font buttons created by the inspector to run on the
default display.
|
| |
|
|
|
|
|
| |
vfunc references should just use the object name, not the
class/interface/iface name.
|
|
|
|
|
|
|
| |
This was showing up as big text selections going
missing sporadically.
Fixes: #4214
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It seems these are sent with `xwindow` set to the root window, so this
was failing to find a surface and get the screen from that.
I'm not sure if there's a reason not to get the screen this way
elsewhere in the function, but it seems this should be correct.
This fixes the behavior of `gdk_x11_display_get_monitors()`, which
wasn't correctly changing when monitors were added or removed. For
instance, this python code was always showing the same number of
monitors when one was turned off and on, but updates correctly with this
change applied:
```python
import gi
gi.require_version("GLib", "2.0")
gi.require_version("Gdk", "4.0")
gi.require_version("Gtk", "4.0")
from gi.repository import GLib, Gdk, Gtk
def f():
print(len(Gdk.Display.get_default().get_monitors()))
return True
GLib.timeout_add_seconds(1, f)
GLib.MainLoop().run()
```
|
|
|
|
|
|
| |
Focusing the first widget in the titlebar is a good fallback,
but a "real" menubar or :primary menu button should take
precedence.
|
|
|
|
|
|
| |
We were forgetting to propagate these values from
CSS to the default attributes. Share the code for
getting these values out of a GtkCssStyle.
|
|
|
|
|
| |
We were forgetting to propagate these values from
CSS to the default attributes.
|
|
|
|
|
|
| |
There are more properties missing, this is just the start.
Fixes: #4207
|
|
|
|
| |
gesture was left uninitialized in the default case.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
gdkmacoseventsource: Include "gdk-private.h" (Backport to gtk-4-4)
See merge request GNOME/gtk!3884
|
| |
| |
| |
| |
| |
| |
| | |
_gdk_macos_event_source_new() calls g_source_set_static_name(), which
for GLib versions before 2.69.1 is a macro defined in gdk-private.h.
Fixes #4195
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Handle new pango attribute type
See merge request GNOME/gtk!3866
|
|/
|
|
|
|
|
| |
Update all the places where we switch over
PangoAttrType to handle PANGO_ATTR_TEXT_TRANSFORM,
and do nothing for now - text-transform support
will land in 4.6.
|
| |
|
|
|
|
|
| |
We should force our internal im context for these
tests, so we don't depend on the environment.
|
|\
| |
| |
| |
| | |
NEWS: Updates
See merge request GNOME/gtk!3861
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
shortcutcontroller: Only do round-robin for mnemonics
Closes #4130
See merge request GNOME/gtk!3824
|