| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This is the replacement for GtkDragSource and the GtkWidget drag source
signals.
|
|
|
|
|
| |
That way, headers can use the gesture type without having to include
gtkgesture.h
|
| |
|
|
|
|
|
| |
Everything else is done using GtkSnapshot now, including renaming the
draw_layer vfunc to snapshot_layer.
|
|
|
|
|
|
| |
Makes it more obvious what we actually want.
Related: #1134
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
I always switch them up...
|
|
|
|
|
| |
The int was floor()ing the x/y coordinates of glyphs, which could cause
significant repositioning of glyphs when text was scaled via the MVP.
|
|
|
|
| |
Remove a few references to no-longer-existing APIs.
|
|\
| |
| |
| |
| | |
Dnd cleanups
See merge request GNOME/gtk!228
|
| |
| |
| |
| |
| | |
This function is never called, so drop it, its vfunc,
and all the backend implementations.
|
| |
| |
| |
| |
| | |
Don't mention dnd protocols, and do mention the new,
split objects.
|
| | |
|
| |
| |
| |
| |
| | |
Rename gdkdnd-wayland.c to gdkdrag-wayland.c to go along
with gdkdrop-wayland.c.
|
| |
| |
| |
| |
| | |
Nothing was using the foreign_dnd_surface anymore, so no
need to create it in the first place.
|
| |
| |
| |
| |
| | |
The only user of this field was the x11 backend, and it
turns out that it does not need to store the value at all.
|
| |
| |
| |
| |
| | |
In preparation for moving the suggested action
to the x11 backend, split the setter off.
|
| |
| |
| |
| |
| | |
The suggested action is not set or used in the win32
information, so don't put it in logs either.
|
| |
| |
| |
| | |
Its not needed.
|
| |
| |
| |
| | |
To go along the GdkDrop::actions property.
|
| |
| |
| |
| |
| |
| | |
Change GdkDrag::action to GdkDrag::selected-action, which is
more clearly different from actions, and follows the existing
name of the struct field and getter.
|
| |
| |
| |
| | |
We don't need it.
|
| |
| |
| |
| | |
Otherwise, we wont have one.
|
| |
| |
| |
| |
| |
| |
| | |
This lets us drop the ::action-changed signal for the
property change notification. But, can just as well move
the signal class handers which just update the cursor
to the ::action setter. No need to do this in the backends.
|
| |
| |
| |
| | |
GdkDragWayland.suggested_action was entirely unused, so drop it.
|
| |
| |
| |
| |
| | |
Now that the coordiate-less variant is gone,
rename this back to the shorter gtk_drag_begin.
|
|\ \
| |/
|/|
| |
| | |
GtkIMContextSimple: Fix Wayland build when X11 support is disabled
See merge request GNOME/gtk!234
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | | |
Showing those background images as 16×16 icons doesn't look very nice.
|
| | |
| | |
| | |
| | |
| | | |
Since these are particularly expensive to render and we have a pretty
big one used in every client-side decorated window.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some of the _diff implementations did a whole bunch of work just to
throw it away afterwards and invalidate the entire union of the two
render nodes, most notably the two clip nodes. Fix this to only call
gsk_render_node_diff_impossible if the previous if-condition is FALSE
and not always.
|
| | | |
|
| | |
| | |
| | |
| | | |
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
|
| | | |
|
| | | |
|