| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Otherwise the stack gets parented to the wrong widget and the contents
are never drawn.
|
|
|
|
| |
The stack is already visible.
|
|\
| |
| |
| |
| | |
gtkcssprovider: remove gtk_css_provider_get_default
See merge request GNOME/gtk!256
|
| |
| |
| |
| |
| |
| |
| | |
This function is unused since cdc6e8272020 commit and does not
contain fallback style.
https://gitlab.gnome.org/GNOME/gtk/issues/1226
|
| |
| |
| |
| |
| |
| | |
We don't need to ship the deprecated old stock-id named
icons and the drag cursors - we don't use them from resources
anyway.
|
| |
| |
| |
| | |
We don't want to see those either.
|
| |
| |
| |
| |
| |
| |
| |
| | |
We don't want to see any fallback rendering.
The current check was still letting some fallback
combinations through.
Based on work by Julian Sparber.
|
| |
| |
| |
| |
| | |
We don't need to handle GDK_CONFIGURE here, so make the
compiler not warn about it.
|
|/
|
|
|
|
|
| |
This is more reliable than using text-style Emoji
which may not be present.
Based on work by Julian Sparber.
|
|
|
|
|
|
|
|
| |
Since the function is usually called from GtkWidget::drag-{begin,end} handlers,
taking a GdkDrop does not work, especially given that
::drag-action-requested is emitted without checking the type.
Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1220
|
|
|
|
| |
Use the proper gtkdoc syntax for signals.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
If the passed-in store locations for the baselines are NULL anyway, we
don't need to check the reported baselines for correctness.
|
|
|
|
|
| |
Clips don't exist anymore and this flag is unused outside of the style
property definitions in gtkcssstylepropertyimpl.c
|
|
|
|
| |
clips don't exist anymore.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous attempt at removing configure events entirely
was causing some dialogs not to show up under Wayland.
Presumably due to ordering issues with emitting ::size-change
out of the backend.
Instead, keep configure events in the event queue, but handle
them on the gdk side. This keeps the ordering intact, while
still removing configure events from the api. The dialogs
show up now.
|
|
|
|
| |
This reverts commit a8926c9d873ce968353a2eb1d3930c4f1ac79c94.
|
|
|
|
|
| |
'withdrawn' is an X11-centric concept, and the function
can just as well be replaced by gdk_surface_hide.
|
|
|
|
|
|
| |
We are really inconsistent about generating these,
and they are not actually used in GTK+. Instead,
add a boolean GdkSurface::mapped property.
|
|
|
|
|
| |
Replace expose events with a GdkSurface::expose signal.
This is part of the move to use events only for input.
|
|
|
|
|
| |
Replace configure events with a GdkSurface::size-changed signal.
This is part of the move to use events only for input.
|
|
|
|
|
| |
This will be done differently, using xdg-popup instead
of subsurfaces, so no point in keeping this.
|
| |
|
|
|
|
|
| |
Everything else is done using GtkSnapshot now, including renaming the
draw_layer vfunc to snapshot_layer.
|
|
|
|
|
|
|
|
|
| |
The opaque region is only set when the background color is opaque. So
we need to do something about it when the background color changes.
However, in the case where a size allocation is going to happen, we
already do this update in size_allocate(), so in that case avoid doing
it twice.
|
| |
|
|
|
|
| |
Makes the GUADEC talk not crash that I'm supposed to give in 20 minutes.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of instantly invalidating, we now cache the old render node and
do the update in an idle handler.
While that gives us a 1 frame delay, it avoids all the tricky things
like queueing resizes while resizing or queueing draws while drawing.
The only remaining issue (and a *big* one at that) is that a nested
widget paintable will now cause the widget to snapshot its previous
render node when creating a new one. And that one will snapshot its
previous render node, and that one will...
And nothing so far breaks this recursion.
|
|
|
|
|
| |
Now that the coordiate-less variant is gone,
rename this back to the shorter gtk_drag_begin.
|
|\
| |
| |
| |
| |
| |
| | |
HighContrast: Restore expander size
Closes #1046
See merge request GNOME/gtk!167
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Expanders used to be 16px high. With the move from the gtk2 rendering
to gtk3 rendering they shrunk to 12px, making them hard to see, because
it's now the icon which is 16px high and the icon contains transparent
borders.
This makes the HighContrast theme use 24px icons instead, to restore
16px expanders. This may expander some containers a bit.
Closes #1046
|
| |
| |
| |
| |
| |
| |
| | |
Rather than hard-coding this, get it from CSS. That way, themes will be
able to set larger expanders than a fixed 16 px, e.g. for accessibility.
See https://gitlab.gnome.org/GNOME/gtk/merge_requests/167
|
| | |
|
| | |
|
| |
| |
| |
| | |
This reverts commit 622a150bb4a83afba909c051a4baf12a88868e62.
|
| |
| |
| |
| | |
To properly replace the old "show layout borders" option.
|
| |
| |
| |
| |
| |
| | |
This is still fallout from the bin_window removal. We aren't moving the
GdkWindow/GdkSurface anymore so we have to account for the scrolling
ourselves.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Since those are widgets and widgets need to be size-allocate'd properly,
we need to queue an allocate, as well as actually add the hadjustment's
value to the column x position.
Fixes #1202
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
The purpose of a searchbar is to start a search on visible widgets when
a key is pressed. Starting a search on e.g. a stack page that is not
visible at all is not very useful.
|
| | |
|
| |
| |
| |
| | |
It's equivalent to the highlight_widget being !NULL.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
We can as well query the current value of the flag using
gtk_style_context_has_class.
|
| | |
|