gtk4.git
5 years agowidget: Remove GtkWindow special case in create_render_node()
Timm Bäder [Sat, 2 May 2020 05:50:30 +0000 (07:50 +0200)]
widget: Remove GtkWindow special case in create_render_node()

5 years agogdkdisplay-wayland: only remove one monitor
Timm Bäder [Wed, 20 May 2020 13:50:17 +0000 (15:50 +0200)]
gdkdisplay-wayland: only remove one monitor

Ids here are unique, so break out of the loop once we found the monitor
with the given ID.

5 years agoMerge branch 'wip/ricotz/annotations' into 'master'
Emmanuele Bassi [Wed, 20 May 2020 11:57:00 +0000 (11:57 +0000)]
Merge branch 'wip/ricotz/annotations' into 'master'

gdk: Preserve typed event parameter of GdkSurface:event signal for gir

See merge request GNOME/gtk!1946

5 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 20 May 2020 10:08:17 +0000 (12:08 +0200)]
Updated Spanish translation

5 years agogtk4-demo: Fix css_basics demo
Timm Bäder [Wed, 20 May 2020 08:27:00 +0000 (10:27 +0200)]
gtk4-demo: Fix css_basics demo

5 years agogtk4-demo: Fix sliding puzzle demo
Timm Bäder [Wed, 20 May 2020 08:24:22 +0000 (10:24 +0200)]
gtk4-demo: Fix sliding puzzle demo

5 years agogdk: Preserve typed event parameter of GdkSurface:event signal for gir
Rico Tzschichholz [Wed, 20 May 2020 06:43:46 +0000 (08:43 +0200)]
gdk: Preserve typed event parameter of GdkSurface:event signal for gir

In conjunction to https://gitlab.gnome.org/GNOME/gtk/merge_requests/1936

5 years agoMerge branch 'wip/chergert/remove-get_toplevel' into 'master'
Christian Hergert [Tue, 19 May 2020 22:59:41 +0000 (22:59 +0000)]
Merge branch 'wip/chergert/remove-get_toplevel' into 'master'

device: remove get_toplevel from surface_at_position vfunc

Closes #2765

See merge request GNOME/gtk!1941

5 years agoMerge branch 'wip/baedert/for-master' into 'master'
Matthias Clasen [Tue, 19 May 2020 22:40:57 +0000 (22:40 +0000)]
Merge branch 'wip/baedert/for-master' into 'master'

Wip/baedert/for master

See merge request GNOME/gtk!1935

5 years agoMerge branch 'wip/carlosg/tracker3' into 'master'
Matthias Clasen [Tue, 19 May 2020 22:37:34 +0000 (22:37 +0000)]
Merge branch 'wip/carlosg/tracker3' into 'master'

Move to tracker3 search engine

See merge request GNOME/gtk!1944

5 years agodevice: remove get_toplevel from surface_at_position vfunc
Christian Hergert [Tue, 19 May 2020 19:00:32 +0000 (12:00 -0700)]
device: remove get_toplevel from surface_at_position vfunc

This is not used anymore now that surfaces are always toplevel in the
semantics of GdkWindow where child windows were available. We can drop
that and simplify the vfunc just a bit more.

Fixes #2765

5 years agogtksearchengine: Drop tracker 2.x search engine
Carlos Garnacho [Tue, 19 May 2020 12:22:51 +0000 (14:22 +0200)]
gtksearchengine: Drop tracker 2.x search engine

This is being superseded by 3.x

5 years agogtksearchenginetracker3: Pre-fill GFileInfo from query
Carlos Garnacho [Tue, 19 May 2020 11:55:41 +0000 (13:55 +0200)]
gtksearchenginetracker3: Pre-fill GFileInfo from query

Provide the minimal info necessary. Improves apparent responsiveness
(since we don't visibly clear and repopulate the list) and saves doing
file stat/reads on every file in the result set.

5 years agogtksearchengine: Add tracker3 search engine
Carlos Garnacho [Sat, 16 May 2020 22:04:56 +0000 (00:04 +0200)]
gtksearchengine: Add tracker3 search engine

Make this dependency optional at build time, and prefer it over
the old tracker <= 2.x implementation.

5 years agogtksearchengine: Add autoptr handler for this type
Carlos Garnacho [Sat, 16 May 2020 22:04:15 +0000 (00:04 +0200)]
gtksearchengine: Add autoptr handler for this type

So subclasses can just use G_DECLARE_*_TYPE.

5 years agogtksearchengine: Add "got_results" argument to ::finished
Carlos Garnacho [Sat, 16 May 2020 22:00:22 +0000 (00:00 +0200)]
gtksearchengine: Add "got_results" argument to ::finished

The filechooser tries to figure out whether it got results by poking
the model, but all files might go through the async GFileInfo querying
state.

Make all search engines (and the composite one) just notify about this
fact, so the file chooser can behave appropriately without waiting for
the async operations to finish.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 19 May 2020 19:59:46 +0000 (19:59 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

docs: Refresh the build and backend sections

See merge request GNOME/gtk!1942

5 years agodocs: Refresh the build and backend sections
Matthias Clasen [Tue, 19 May 2020 19:19:53 +0000 (15:19 -0400)]
docs: Refresh the build and backend sections

Remove some outdated information from the sections
about building and about particular backends.

5 years agoMerge branch 'x11-shortcuts-inhibit-fix' into 'master'
Matthias Clasen [Tue, 19 May 2020 14:06:25 +0000 (14:06 +0000)]
Merge branch 'x11-shortcuts-inhibit-fix' into 'master'

x11: update inhibit shortcuts on grab broken

See merge request GNOME/gtk!1590

5 years agox11: update inhibit shortcuts on grab broken
Olivier Fourdan [Tue, 31 Mar 2020 12:38:08 +0000 (14:38 +0200)]
x11: update inhibit shortcuts on grab broken

On X11, shortcuts inhibition is emulated using a grab on the keyboard.

So if another widget ungrabs the keyboard behind our back (for example
when a popup window is dismissed) that effectively disables the effects
of the shortcut inhibition on the surface and we need to update the
shortcut inhibition status accordingly.

Check for "grab-broken" events on the surface and clear existing
shortcuts inhibition for the matching seat, so that the client can be
notified and may decide to re-enable shortcut inhibition if desired.

5 years agoMerge branch 'ebassi/surface-event' into 'master'
Emmanuele Bassi [Tue, 19 May 2020 12:14:17 +0000 (12:14 +0000)]
Merge branch 'ebassi/surface-event' into 'master'

Use the right types for the GdkSurface::event arguments

See merge request GNOME/gtk!1936

5 years agoUse the right types for the GdkSurface::event arguments
Emmanuele Bassi [Tue, 19 May 2020 11:18:24 +0000 (12:18 +0100)]
Use the right types for the GdkSurface::event arguments

We pass the GdkEvent as a pointer, because the autogenerated marshallers
don't know how to handle GTypeInstance-derived classes.

Since the GValue box that we use in the marshaller passes the GdkEvent
instance as is, we also need to acquire a reference before invoking the
closure, and release it afterwards, to ensure that the GdkEvent instance
survices the invocation.

5 years agotreeview: Remove `animate` parameters
Timm Bäder [Mon, 18 May 2020 17:39:59 +0000 (19:39 +0200)]
treeview: Remove `animate` parameters

Nothing ever reads them.

5 years agotext: Assert that we have ranges before using them
Timm Bäder [Mon, 18 May 2020 17:39:32 +0000 (19:39 +0200)]
text: Assert that we have ranges before using them

We never hit this code path otherwise but let's make sure.

5 years agounsetvalue: Add G_GNUC_NORETURN annotation
Timm Bäder [Mon, 18 May 2020 17:39:15 +0000 (19:39 +0200)]
unsetvalue: Add G_GNUC_NORETURN annotation

5 years agotestgtk: Add G_GNUC_NORETURN to usage()
Timm Bäder [Mon, 18 May 2020 16:55:26 +0000 (18:55 +0200)]
testgtk: Add G_GNUC_NORETURN to usage()

5 years agobuilder-tool Make preview closeable
Timm Bäder [Mon, 18 May 2020 12:02:32 +0000 (14:02 +0200)]
builder-tool Make preview closeable

5 years agoBuild print backends with common_cflags
Timm Bäder [Mon, 18 May 2020 11:41:19 +0000 (13:41 +0200)]
Build print backends with common_cflags

5 years agobuild: Pass common_cflags to focus-chain test
Timm Bäder [Mon, 18 May 2020 11:41:04 +0000 (13:41 +0200)]
build: Pass common_cflags to focus-chain test

5 years agobloatpad: Pass common_cflags to the build
Timm Bäder [Mon, 18 May 2020 11:37:23 +0000 (13:37 +0200)]
bloatpad: Pass common_cflags to the build

5 years agotetsuite/a11y: Pass common_cflags to build
Timm Bäder [Mon, 18 May 2020 10:34:51 +0000 (12:34 +0200)]
tetsuite/a11y: Pass common_cflags to build

5 years agoreftests: Pass common_cflags
Timm Bäder [Mon, 18 May 2020 10:09:38 +0000 (12:09 +0200)]
reftests: Pass common_cflags

5 years agotools: Pass common_cflags to executables
Timm Bäder [Mon, 18 May 2020 10:04:15 +0000 (12:04 +0200)]
tools: Pass common_cflags to executables

5 years agoPass common_cflags to testuite/gsk executables
Timm Bäder [Mon, 18 May 2020 09:44:38 +0000 (11:44 +0200)]
Pass common_cflags to testuite/gsk executables

5 years agoPass common_cflags to print backends
Timm Bäder [Mon, 18 May 2020 09:38:02 +0000 (11:38 +0200)]
Pass common_cflags to print backends

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 19 May 2020 02:47:03 +0000 (02:47 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #2739 and #2760

See merge request GNOME/gtk!1934

5 years agotestsuite: Remove obsolete test from list
Matthias Clasen [Tue, 19 May 2020 01:49:34 +0000 (21:49 -0400)]
testsuite: Remove obsolete test from list

The test was removed in 97d0e8c6e07c08ae, but I neglected
to remove the test files from meson.build.

Fixes: #2760
5 years agogsk: Document blend modes
Matthias Clasen [Mon, 18 May 2020 22:21:39 +0000 (18:21 -0400)]
gsk: Document blend modes

Add some information about blend modes, mostly taken
from the css compositing spec.

Fixes: #2739
5 years ago3.98.4
Matthias Clasen [Mon, 18 May 2020 19:45:57 +0000 (15:45 -0400)]
3.98.4

5 years agotestsuite: Remove GDK_DEBUG=misc
Matthias Clasen [Mon, 18 May 2020 20:37:18 +0000 (16:37 -0400)]
testsuite: Remove GDK_DEBUG=misc

This snuck in by accident in recent ci setup
changes, and breaks the test runs by adding
stray output.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 18 May 2020 16:46:12 +0000 (16:46 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

colorscale: Bring back the right-click on slider

See merge request GNOME/gtk!1933

5 years agocolorscale: Bring back the right-click on slider
Matthias Clasen [Mon, 18 May 2020 15:31:42 +0000 (11:31 -0400)]
colorscale: Bring back the right-click on slider

This was lost when we converted the color editor to actions.

5 years agoMerge branch 'ebassi/ci-fix' into 'master'
Emmanuele Bassi [Mon, 18 May 2020 15:10:38 +0000 (15:10 +0000)]
Merge branch 'ebassi/ci-fix' into 'master'

docs: Fix the argument name to match

See merge request GNOME/gtk!1930

5 years agoMerge branch 'theme-aligned-combo-labels' into 'master'
Jakub Steiner [Mon, 18 May 2020 14:04:19 +0000 (14:04 +0000)]
Merge branch 'theme-aligned-combo-labels' into 'master'

Adwaita: Align combo menu labels with the combo button label

See merge request GNOME/gtk!1928

5 years agoUpdate Ukrainian translation
Yuri Chornoivan [Mon, 18 May 2020 14:03:41 +0000 (14:03 +0000)]
Update Ukrainian translation

5 years agodocs: Fix the argument name to match
Emmanuele Bassi [Mon, 18 May 2020 13:55:25 +0000 (14:55 +0100)]
docs: Fix the argument name to match

Both gtk-doc and g-i require the name of the argument of a function to
match in the declaration, definition, and gtk-doc stanza.

5 years agoMerge branch 'theme-checkbutton-padding' into 'master'
Jakub Steiner [Mon, 18 May 2020 13:12:15 +0000 (13:12 +0000)]
Merge branch 'theme-checkbutton-padding' into 'master'

Adwaita: Tweak padding in checkbutton & radiobutton

Closes #2697

See merge request GNOME/gtk!1927

5 years agoAdwaita: Align combo menu labels with the combo button label
nana-4 [Mon, 18 May 2020 12:52:00 +0000 (21:52 +0900)]
Adwaita: Align combo menu labels with the combo button label

Apply the same left and right padding to the combo menu items as the
combo button.

5 years agoAdwaita: Tweak padding in checkbutton & radiobutton
nana-4 [Mon, 18 May 2020 11:00:11 +0000 (20:00 +0900)]
Adwaita: Tweak padding in checkbutton & radiobutton

Since we can now use border-spacing in checkbutton and radiobutton,
we don't need the margin in check and radio for spacing anymore.

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/2697

5 years agobloatpad: Avoid a few theoretical compiler warnings
Timm Bäder [Mon, 18 May 2020 08:17:03 +0000 (10:17 +0200)]
bloatpad: Avoid a few theoretical compiler warnings

5 years agoAdd G_GNUC_NORETURN to functions that never return
Timm Bäder [Mon, 18 May 2020 07:41:47 +0000 (09:41 +0200)]
Add G_GNUC_NORETURN to functions that never return

5 years agoexamples: Add common_cflags to executables
Timm Bäder [Mon, 18 May 2020 07:39:40 +0000 (09:39 +0200)]
examples: Add common_cflags to executables

5 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 18 May 2020 08:15:03 +0000 (10:15 +0200)]
Updated Spanish translation

5 years agoMerge branch 'shape-apis' into 'master'
Matthias Clasen [Mon, 18 May 2020 04:26:01 +0000 (04:26 +0000)]
Merge branch 'shape-apis' into 'master'

Shape apis

See merge request GNOME/gtk!1925

5 years agoprint-editor demo: Fix linking on Visual Studio
Chun-wei Fan [Mon, 18 May 2020 03:35:52 +0000 (11:35 +0800)]
print-editor demo: Fix linking on Visual Studio

We need to pass in '/entry:mainCRTStartup' as we did for the other demo
programs that have 'gui_app: true' in their Meson build settings.

5 years agogdk: Simplify gdk_display_supports_input_shapes
Matthias Clasen [Mon, 18 May 2020 02:05:24 +0000 (22:05 -0400)]
gdk: Simplify gdk_display_supports_input_shapes

Make this a display property, and do away with
the vfunc in favor of a private setter, to match
how we handle other display characteristics.

5 years agogdk: Drop gdk_display_supports_shapes
Matthias Clasen [Mon, 18 May 2020 01:52:15 +0000 (21:52 -0400)]
gdk: Drop gdk_display_supports_shapes

The apis to set shapes on surfaces are gone,
so there is no point in providing this information
on GdkDisplay.

5 years agox11: Avoid some frontend api use
Matthias Clasen [Mon, 18 May 2020 01:47:22 +0000 (21:47 -0400)]
x11: Avoid some frontend api use

We can just use our backend information directly.

5 years agodocs: Tweak docs for gdk_surface_set_input_region
Matthias Clasen [Mon, 18 May 2020 01:46:54 +0000 (21:46 -0400)]
docs: Tweak docs for gdk_surface_set_input_region

5 years agoMerge branch 'coordinate-api' into 'master'
Matthias Clasen [Mon, 18 May 2020 00:08:44 +0000 (00:08 +0000)]
Merge branch 'coordinate-api' into 'master'

Coordinate api

See merge request GNOME/gtk!1924

5 years agogdk: Make gdk_drag_begin take doubles
Matthias Clasen [Sun, 17 May 2020 21:49:02 +0000 (17:49 -0400)]
gdk: Make gdk_drag_begin take doubles

This is a better fit to the way we treat coordinates
everywhere else.

5 years agoChange coordinate translation apis to take doubles
Matthias Clasen [Sun, 17 May 2020 21:08:01 +0000 (17:08 -0400)]
Change coordinate translation apis to take doubles

Change gtk_widget_translate_coordinates and
gtk_native_get_surface_transform to operate
on doubles. Update all callers.

5 years agonative: Make gtk_native_get_surface_transform public
Matthias Clasen [Sun, 17 May 2020 20:01:08 +0000 (16:01 -0400)]
native: Make gtk_native_get_surface_transform public

This api is needed to translate between surface
and widget coordinates.

5 years agoMerge branch 'toplevel-move-resize' into 'master'
Matthias Clasen [Sun, 17 May 2020 19:15:46 +0000 (19:15 +0000)]
Merge branch 'toplevel-move-resize' into 'master'

Toplevel move resize

See merge request GNOME/gtk!1923

5 years agodocs: Mention begin_resize_drag in the migration guide
Matthias Clasen [Sun, 17 May 2020 18:38:10 +0000 (14:38 -0400)]
docs: Mention begin_resize_drag in the migration guide

5 years agogdk: Move the begin_move/resize_drag vfuncs around
Matthias Clasen [Sun, 17 May 2020 16:35:45 +0000 (12:35 -0400)]
gdk: Move the begin_move/resize_drag vfuncs around

Move these from GdkSurface to GdkToplevel, where they
belong. Update all backends.

5 years agox11: Fix up for last merge
Benjamin Otte [Sun, 17 May 2020 17:21:17 +0000 (19:21 +0200)]
x11: Fix up for last merge

5 years agoMerge branch 'wip/otte/monitors' into 'master'
Benjamin Otte [Sun, 17 May 2020 16:57:52 +0000 (16:57 +0000)]
Merge branch 'wip/otte/monitors' into 'master'

various GDK cleanups

See merge request GNOME/gtk!1920

5 years agogdk: Drop gdk_surface_begin_move/resize_drag
Matthias Clasen [Sun, 17 May 2020 16:14:18 +0000 (12:14 -0400)]
gdk: Drop gdk_surface_begin_move/resize_drag

These have been replaced by GdkToplevel api.

5 years agowindow: Use toplevel begin_move/resize api
Matthias Clasen [Sun, 17 May 2020 16:06:26 +0000 (12:06 -0400)]
window: Use toplevel begin_move/resize api

The GdkSurface api for this is going away.

5 years agoMerge branch 'ebassi/ci-extends' into 'master'
Emmanuele Bassi [Sun, 17 May 2020 16:43:24 +0000 (16:43 +0000)]
Merge branch 'ebassi/ci-extends' into 'master'

ci: Use extends instead of YAML anchors

See merge request GNOME/gtk!1908

5 years agogdk: Add gdk_toplevel_begin_move/resize
Matthias Clasen [Sun, 17 May 2020 15:45:37 +0000 (11:45 -0400)]
gdk: Add gdk_toplevel_begin_move/resize

For now, these are wrappers around the surface apis,
but they are going to replace them, since this operation
is only available on toplevels.

5 years agomigration guide: Update paragraph about monitors
Benjamin Otte [Sun, 17 May 2020 16:05:07 +0000 (18:05 +0200)]
migration guide: Update paragraph about monitors

Clarify the new handling of monitors via a listmodel of GdkMonitor
instead of int monitor_num.

5 years agowindowhandle: Apply surface transform before passing coords to GDK
Timm Bäder [Sun, 17 May 2020 13:28:16 +0000 (15:28 +0200)]
windowhandle: Apply surface transform before passing coords to GDK

Otherwise coordinates are incorrect and the window can jump around after
starting a drag.

5 years agoinspector: Apply toplevel transform before snapshotting overlays
Timm Bäder [Wed, 13 May 2020 18:25:22 +0000 (20:25 +0200)]
inspector: Apply toplevel transform before snapshotting overlays

5 years agogl renderer: Apply scaled clip when rendering offscreen clipped child
Timm Bäder [Sun, 17 May 2020 06:53:47 +0000 (08:53 +0200)]
gl renderer: Apply scaled clip when rendering offscreen clipped child

5 years agoshortcutmanager: Fix private header include guard
Timm Bäder [Sun, 17 May 2020 07:34:31 +0000 (09:34 +0200)]
shortcutmanager: Fix private header include guard

5 years agoshortcutcontroller: Don't return a shortcut stope as GdkModifierType
Timm Bäder [Sun, 17 May 2020 07:53:23 +0000 (09:53 +0200)]
shortcutcontroller: Don't return a shortcut stope as GdkModifierType

5 years agowindow: Use TRUE/FALSE for boolean values
Timm Bäder [Sun, 17 May 2020 12:06:07 +0000 (14:06 +0200)]
window: Use TRUE/FALSE for boolean values

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Timm Bäder [Sun, 17 May 2020 13:08:26 +0000 (13:08 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #1619

See merge request GNOME/gtk!1921

5 years agoUpdate Turkish translation
Emin Tufan Çetin [Sun, 17 May 2020 11:42:10 +0000 (11:42 +0000)]
Update Turkish translation

5 years agoApply surface transform in more places
Matthias Clasen [Sun, 17 May 2020 06:22:29 +0000 (02:22 -0400)]
Apply surface transform in more places

With these fixes, GtkSwitch now works in the presence
of surface transforms.

5 years agoinspector: Take surface transform into account
Matthias Clasen [Sun, 17 May 2020 06:10:56 +0000 (02:10 -0400)]
inspector: Take surface transform into account

5 years agogl renderer: Fix an uninitialized value
Timm Bäder [Sat, 16 May 2020 21:34:25 +0000 (23:34 +0200)]
gl renderer: Fix an uninitialized value

5 years agowindowhandle: Take surface transform into account
Matthias Clasen [Sun, 17 May 2020 06:05:32 +0000 (02:05 -0400)]
windowhandle: Take surface transform into account

5 years agowidget: Fix gtk_widget_get_surface_allocation
Matthias Clasen [Sun, 17 May 2020 06:04:22 +0000 (02:04 -0400)]
widget: Fix gtk_widget_get_surface_allocation

As the name implies, this should be surface-relative
coordinates, so it needs to take the surface transform
into account.

5 years agotextview: Fix context menu placement
Matthias Clasen [Sun, 17 May 2020 06:03:41 +0000 (02:03 -0400)]
textview: Fix context menu placement

Take the surface transform into account for
positioning the context menu.

5 years agodisplay: Remove unneeded getters
Benjamin Otte [Sun, 17 May 2020 03:58:20 +0000 (05:58 +0200)]
display: Remove unneeded getters

Applications can use the listmodel instead.

5 years agotooltip: Fix positioning
Matthias Clasen [Sun, 17 May 2020 05:22:02 +0000 (01:22 -0400)]
tooltip: Fix positioning

There are a few more places where we were forgetting
to apply the surface->native transform. With these
changes, tooltips are positioned correctly when
the toplevel has padding applied.

Fixes: #1619
5 years agodisplay: Remove the monitor signals
Benjamin Otte [Sun, 17 May 2020 03:47:07 +0000 (05:47 +0200)]
display: Remove the monitor signals

Applications can listen to GdkDisplay:monitors::items-changed if they
want to track monitor changes.

5 years agox11: Directly notify surfaces of monitor changes
Benjamin Otte [Sun, 17 May 2020 03:35:14 +0000 (05:35 +0200)]
x11: Directly notify surfaces of monitor changes

Do not use signals.

5 years agomonitor: Add gdk_monitor_set_geometry()
Benjamin Otte [Sun, 17 May 2020 03:23:16 +0000 (05:23 +0200)]
monitor: Add gdk_monitor_set_geometry()

Make it replace gdk_monitor_set_size() and gdk_monitor_set_position()
which used to be called in pairs anyway.

5 years agox11: Remove unused change tracking
Benjamin Otte [Sun, 17 May 2020 03:10:19 +0000 (05:10 +0200)]
x11: Remove unused change tracking

Change tracking now works automatically via GdkMonitor.

5 years agowidget-factory: Cosmetics
Matthias Clasen [Sun, 17 May 2020 01:54:14 +0000 (21:54 -0400)]
widget-factory: Cosmetics

Add a frame around the white background in the background
selection dialog. Otherwise, it is not really visible.

5 years agox11: Remove XDamage dependency
Benjamin Otte [Sun, 17 May 2020 00:14:16 +0000 (02:14 +0200)]
x11: Remove XDamage dependency

It's not used.

5 years agoMerge branch 'wip/baedert/for-master' into 'master'
Matthias Clasen [Sat, 16 May 2020 23:35:51 +0000 (23:35 +0000)]
Merge branch 'wip/baedert/for-master' into 'master'

Wip/baedert/for master

Closes #2601

See merge request GNOME/gtk!1918

5 years agoci: Allow using "latest" as the image version
Emmanuele Bassi [Sat, 16 May 2020 23:32:22 +0000 (00:32 +0100)]
ci: Allow using "latest" as the image version

Just like the documentation says.

5 years agoci: Use extends instead of YAML anchors
Emmanuele Bassi [Fri, 15 May 2020 12:21:45 +0000 (13:21 +0100)]
ci: Use extends instead of YAML anchors

The `extends` keyword is more readable than YAML's weird anchor syntax,
and we don't have too many anchors in our job definitions anyway.

5 years agox11: Remove gdk_x11_register_standard_event_type()
Benjamin Otte [Sat, 16 May 2020 23:02:17 +0000 (01:02 +0200)]
x11: Remove gdk_x11_register_standard_event_type()

It's not used anymore since GdkX11Display::xevent exists.

5 years agosurface: Remove gdk_surface_is_viewable()
Benjamin Otte [Sat, 16 May 2020 22:41:44 +0000 (00:41 +0200)]
surface: Remove gdk_surface_is_viewable()

It returns the same value as gdk_surface_get_mapped(), so use that
instead.