| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
When things change in the iconhelper, queue a resize on the owner widget
so that it automatically resizes.
Only do this for iconhelpers that are used as gadgets though, not for
temporary helpers - and to check this, check if the node is transient.
|
| |
|
| |
|
|
|
|
| |
Implement missing vfuncs
|
| |
|
|
|
|
|
|
| |
When CSS, direction or scale factor change, handle the invalidation
inside the iconhelper.
This way the widgets using them don't have to.
|
|
|
|
|
|
| |
... instead of looking at the widget's style context.
This removes all calls to the style context.
|
|
|
|
| |
Note that we don't use it yet.
|
|
|
|
| |
Don't keep the owner widget ourselves.
|
|
|
|
|
| |
This is just the basic conversion to inheriting from
GTK_TYPE_CSS_GADGET.
|
| |
|
| |
|
|
|
|
|
| |
Computing the clip for all children is something I want to do in other
places.
|
| |
|
|
|
|
| |
The thing you use when you want to custom-do everything.
|
|
|
|
|
|
| |
A gadget is halfway between a widget and a CSS node. It's supposed to
provide the minimum convenicence around CSS nodes until we've figured
out how to integrate them with widgets.
|
| |
|
|
|
|
|
| |
After the drag ends, the button node went to the wrong place and then
looked like a regular button. Fix that.
|
|
|
|
|
|
| |
Constructing GtkCssStyleChange objects without styles is forbidden, so
don't do it. Instead untangle the callback from the actual update
function and call that untangled function directly.
|
|
|
|
|
|
| |
When we reuse styles that didn't change across changes to the source
CSS, make sure we clear the caches. Otherwise child nodes will pick up
styles from the old source CSS.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
We no longer need a grabbed seat, instead we'll just use the default
seat if this happens, not without first warning and recommending
gdk_seat_grab() for the operation.
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
|
|
| |
We can just gdk_seat_ungrab() here.
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
|
|
| |
GdkSeat is now the preferred way to deal with input devices and grabs.
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
|
|
|
|
| |
This allows GDK to unset the grab itself. Also, make sure we unset
the "pointer emulating" touch on the device if this is the
pointer emulating sequence.
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
|
|
| |
And emit the corresnponding leave event on its master pointer.
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
|
|
|
| |
These events must get active/implicit grabs undone, and can be done
on client-side code.
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
|
|
| |
So we can figure out the focus for the master device.
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
|
|
| |
These will be emitted as seats come and go.
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
|
|
|
|
|
|
|
|
| |
GdkWaylandDeviceData conceptually gathers the data that belongs to
a seat, so it's been renamed (although the old typedef stays, plenty
of refactoring is due here...).
The methods in GdkSeatClass have also been implemented, the most
remarkable is ::grab, which ensures the grab is performed on all
the relevant "master" devices.
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
|
| |
Move the variable definitions above the function, and use those
throughout all branches of the event handling switch.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
|
|
| |
There is no need to fiddle with the master devices list.
https://bugzilla.gnome.org/show_bug.cgi?id=759323
|
|
|
|
|
|
|
|
|
| |
On some systems, the gtk settings are not used properly for wayland.
Indeed, g_settings_schema_source_get_default is used, and as the docs says it,
"all lookups performed against the default source should probably be done
recursively.".
https://bugzilla.gnome.org/show_bug.cgi?id=759409
|
| |
|