| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Public headers need to be listed in gtk/meson.build.
This was overlooked when I added the controller.
|
| |
|
| |
|
|
|
|
|
| |
We can use the new motion event controller that
was introduced for this purpose.
|
|
|
|
| |
We can just use a multipress gesture for this purpose.
|
|
|
|
| |
We can use the new motion event controller for this.
|
|
|
|
| |
This lets us avoid legacy event signals here.
|
|
|
|
|
| |
This can serve as a replacement for the legacy
event signals for enter/leave/motion notify.
|
|
|
|
|
|
| |
This is an attempt to see how much work is needed to
reproduce entry icons by just putting an entry and images
in a box, with some css glue.
|
| |
|
|
|
|
|
| |
You don't start a dnd operation with a device, you start it with an
event.
|
|
|
|
| |
Nobody ever does that and special cases are evil.
|
|
|
|
| |
It was unused.
|
|
|
|
| |
Replace the motion_notify handler by a drag gesture.
|
|
|
|
|
|
| |
This makes drag icons set from icon names come out
at a size that it large enough to not disappear under
the drag cursor.
|
|
|
|
|
|
| |
This lets us use the new icon-size machinery to
ensure we don't have tiny drag icons when using
named icons.
|
|
|
|
|
|
|
| |
Instead, pass the actions as part of gdk_drag_begin() and insist DND is
always managed.
A new side effect is that gdk_drag_begin() can now return %NULL.
|
|
|
|
| |
We only use the pointer.
|
|
|
|
|
| |
This way, we don't need root coordinates when computing the dnd start
position.
|
|
|
|
|
| |
There's no need to call it from GTK anymore, because we pass the device
to gdk_drag_begin().
|
|
|
|
| |
At least wait until we've received the previous one.
|
|
|
|
|
| |
There's only one that's ever used, so delete the others and rename this
one to gdk_drag_begin().
|
|
|
|
| |
It is a bit odd to drag nothing around, so set an icon.
|
|
|
|
|
| |
We don't have a plan to make this work, so lets not
talk about it in the docs.
|
|
|
|
|
|
|
| |
We were allocating the progress bar to the full size
of the entry. This made entry icons loose their cursors,
since they were 'covered' by the progress bar, even though
it doesn't draw anything there.
|
|
|
|
|
|
|
|
| |
We need to notify ATK the description changed when the tooltip text associated
with the widget changes and gtk_widget_accessible_get_description() would use
it as the description.
https://bugzilla.gnome.org/show_bug.cgi?id=779009
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes stuttering in animations that rely on the regularity of
gdk_frame_clock_get_frame_time.
https://bugzilla.gnome.org/show_bug.cgi?id=787665
BEFORE
gdkgears:
58 FPS and visibly stuttering
gnome-maps on a 59.95Hz monitor:
"paint" g_get_monotonic_time +17278μs, gdk_frame_clock_get_frame_time +17278μs
"paint" g_get_monotonic_time +17449μs, gdk_frame_clock_get_frame_time +17426μs
"paint" g_get_monotonic_time +17620μs, gdk_frame_clock_get_frame_time +17600μs
AFTER
gdkgears:
60 FPS and smoother
gnome-maps on a 59.95Hz monitor:
"paint" g_get_monotonic_time +18228μs, gdk_frame_clock_get_frame_time +16680μs
"paint" g_get_monotonic_time +15010μs, gdk_frame_clock_get_frame_time +16680μs
"paint" g_get_monotonic_time +17134μs, gdk_frame_clock_get_frame_time +16680μs
|
|
|
|
|
|
|
| |
The argument is ignored by anything but X11.
It's treated like suggested_action == MOVE.
So do that in gtk_drag_finish(), too.
|
|
|
|
|
|
|
|
|
|
| |
This is the replacement for selection usage.
Backend implementations for X11 (missing support for backwards compat
formats like COMPOUND_TEXT) and Wayland are included.
GTK code should be adapted to use gdk_drop_read_*() functions instead
of gtk_drag_get_data().
|
|
|
|
| |
The return value is transfer full, not transfer none.
|
|
|
|
|
|
| |
This is the parts of dc50e0637ffa8bc7a369d00a5d8e7656d03c3781 that
should have been committed but were reverted in
b5c62cf86fe37e05ce2a0ae050df2a229457676b to unbreak the build.
|
|
|
|
|
|
| |
Also turn it into a readable, construct-only property.
Every GDK object should have this. (Apart from GdkDisplay, obviously.)
|
|
|
|
|
|
| |
It's where we include all our external dependencies.
This way, we don't have to include it in all headers again and again.
|
|
|
|
|
|
|
|
| |
The fix is twofold. First, when checking that a corner is resizable, we must
check the constraints on both edges. Second, when checking either edge we
must include both perpendicular sides in order to allow those to be
resizable when the constraint does not allow resizing the edge being
checked.
|
|
|
|
|
| |
This way resize areas are correctly positioned right outside the visible
window edge on all sides.
|
|
|
|
|
| |
This is necessary to bring back the L-shaped resize corners. On all edges
(not corners) the handle width is determined by the border size.
|
| |
|
|
|
|
|
|
|
|
|
| |
When looking for the cursor to apply, start from the innermost
widget and go up. This is the right behavior for cases like
entry icons. The top-down order we were using so far is the
right behavior for cases like global wait cursors. Since we
have entry icons in gtk, but not global wait cursors, lets
pick the other order for now.
|
|
|
|
| |
This is done unconditionally for all widgets these days.
|
| |
|
| |
|
|
|
|
|
|
| |
Color matrix nodes as the child of other color matrix nodes can happen
quite frequently as a result of CSS. To ease the renderer
implementations, collapse chains of color matrix nodes into one.
|
|
|
|
| |
glib warns about these now.
|
|
|
|
| |
This is necessary to ensure we get the right cursor.
|
|
|
|
|
|
|
| |
As per commit 942e904 this changed causing a regression that
seems to be visible only when scale > 2.
https://bugzilla.gnome.org/show_bug.cgi?id=791363
|
|
|
|
|
|
| |
g_object_ref now returns the type of the object that was
passed. Introduce cast as necessary to avoid warnings due
to this.
|
| |
|
|
|
|
|
| |
I had overlooked ui files. We should really
validate those during build.
|
|
|
|
|
|
|
|
|
| |
If we fail to connect to the session bus, it would be a bit silly to
immediately try and use that NULL connection.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://bugzilla.gnome.org/show_bug.cgi?id=668590
|
|
|
|
|
|
| |
It is about all window buttons, so rename it to ::show-title-buttons.
https://bugzilla.gnome.org/show_bug.cgi?id=779862
|