summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* iconhelper: Queue resize on invalidationwip/otte/gadgetBenjamin Otte2015-12-151-0/+4
| | | | | | | | 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.
* entry: Turn icons into gadgetsBenjamin Otte2015-12-151-111/+83
|
* spinbutton: Port the buttons to gadgetsBenjamin Otte2015-12-151-122/+48
|
* iconhelper: Finish gadget conversionBenjamin Otte2015-12-152-0/+79
| | | | Implement missing vfuncs
* rendericon: Restore cairo matrix after renderingBenjamin Otte2015-12-151-1/+4
|
* iconhelper: Handle invalidationBenjamin Otte2015-12-154-91/+47
| | | | | | When CSS, direction or scale factor change, handle the invalidation inside the iconhelper. This way the widgets using them don't have to.
* iconhelper: Use the gadget's nodeBenjamin Otte2015-12-151-24/+17
| | | | | | ... instead of looking at the widget's style context. This removes all calls to the style context.
* iconhelper: Require passing a cssnode to the constructorBenjamin Otte2015-12-159-14/+29
| | | | Note that we don't use it yet.
* iconhelper: Use the gadget's owner propertyBenjamin Otte2015-12-151-24/+17
| | | | Don't keep the owner widget ourselves.
* iconhelper: Turn into gadgetBenjamin Otte2015-12-152-9/+10
| | | | | This is just the basic conversion to inheriting from GTK_TYPE_CSS_GADGET.
* image: Port to gadgetsMatthias Clasen2015-12-151-84/+124
|
* box: Port to gadgetsBenjamin Otte2015-12-151-64/+138
|
* container: Split out a functionBenjamin Otte2015-12-153-23/+32
| | | | | Computing the clip for all children is something I want to do in other places.
* switch: Port to gadgetsBenjamin Otte2015-12-151-177/+167
|
* gadget: Add GtkCssCustomGadgetBenjamin Otte2015-12-153-1/+271
| | | | The thing you use when you want to custom-do everything.
* gadget: Add the concept of a "gadget"Benjamin Otte2015-12-153-0/+669
| | | | | | 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.
* css: Add min-width/height CSS propertiesBenjamin Otte2015-12-152-0/+30
|
* treeview: Reposition dnd button css node properlyBenjamin Otte2015-12-151-16/+17
| | | | | After the drag ends, the button node went to the wrong place and then looked like a regular button. Fix that.
* inspector: Fix quick-fixBenjamin Otte2015-12-151-17/+12
| | | | | | 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.
* cssnode: Clear cache if reusing styleBenjamin Otte2015-12-151-0/+6
| | | | | | 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.
* Updated POTFILES.inPiotr Drąg2015-12-152-0/+2
|
* win32: Use GdkSeatDefault to implement GdkSeatCarlos Garnacho2015-12-153-0/+29
|
* quartz: Use GdkSeatDefault to implement GdkSeatCarlos Garnacho2015-12-153-2/+24
|
* broadway: Use GdkSeatDefault to Implement GdkSeatCarlos Garnacho2015-12-152-0/+17
|
* wayland: Improve creation of windowing surface rolesCarlos Garnacho2015-12-153-41/+34
| | | | | | | | 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
* wayland: Replace deprecated functionsCarlos Garnacho2015-12-151-2/+2
| | | | | | We can just gdk_seat_ungrab() here. https://bugzilla.gnome.org/show_bug.cgi?id=759309
* gdk: Deprecate GdkDeviceManager and gdk_device_grab/ungrab()Carlos Garnacho2015-12-156-5/+16
| | | | | | GdkSeat is now the preferred way to deal with input devices and grabs. https://bugzilla.gnome.org/show_bug.cgi?id=759309
* wayland: Emit cancelled on touchpoint used on window dragging/movingCarlos Garnacho2015-12-151-3/+16
| | | | | | | | 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
* wayland: Unset "pointer emulating" touch on wl_touch.cancelCarlos Garnacho2015-12-151-5/+14
| | | | | | And emit the corresnponding leave event on its master pointer. https://bugzilla.gnome.org/show_bug.cgi?id=759309
* gdk: Manage GDK_TOUCH_CANCEL events on gdk_windowing_got_event()Carlos Garnacho2015-12-151-2/+4
| | | | | | | 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
* wayland: Make gdk_wayland_device_get_focus() work on touchCarlos Garnacho2015-12-151-5/+10
| | | | | | So we can figure out the focus for the master device. https://bugzilla.gnome.org/show_bug.cgi?id=759309
* GdkDisplay: Add ::seat-added/removed signalsCarlos Garnacho2015-12-151-0/+40
| | | | | | These will be emitted as seats come and go. https://bugzilla.gnome.org/show_bug.cgi?id=759309
* wayland: Add GdkSeat implementationCarlos Garnacho2015-12-156-44/+375
| | | | | | | | | | | | 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
* GtkTreeView: Use gdk_seat_grab()Carlos Garnacho2015-12-151-11/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759309
* GtkNotebook: Use gdk_seat_grab()Carlos Garnacho2015-12-151-6/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759309
* GtkEntryCompletion: Use gdk_seat_grab()Carlos Garnacho2015-12-151-18/+24
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759309
* GtkComboBox: Use gdk_seat_grab()Carlos Garnacho2015-12-151-44/+15
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759309
* GtkMenu: Use gdk_seat_grab()Carlos Garnacho2015-12-152-62/+21
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759309
* GtkCellRendererAccel: Use gdk_seat_grab()Carlos Garnacho2015-12-151-31/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759309
* GtkButton: Use gdk_seat_grab()Carlos Garnacho2015-12-151-9/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759309
* x11: Use GdkSeatDefault to implement GdkSeatCarlos Garnacho2015-12-152-2/+113
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759309
* x11: Use gdk_event_set_device() consistentlyCarlos Garnacho2015-12-151-14/+13
| | | | | Move the variable definitions above the function, and use those throughout all branches of the event handling switch.
* GdkEvent: Add GdkSeat getter and internal setterCarlos Garnacho2015-12-154-0/+43
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759309
* GdkDisplay: Add GdkSeat gettersCarlos Garnacho2015-12-154-0/+98
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759309
* GdkDevice: Add GdkSeat property and getterCarlos Garnacho2015-12-154-0/+65
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759309
* gdk: Add GdkSeatDefaultCarlos Garnacho2015-12-153-0/+399
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759309
* gdk: Add GdkSeatCarlos Garnacho2015-12-159-0/+601
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759309
* x11: Use client pointer as default core pointer for gtk+2 APICarlos Garnacho2015-12-151-28/+3
| | | | | | There is no need to fiddle with the master devices list. https://bugzilla.gnome.org/show_bug.cgi?id=759323
* wayland: recursively search for the settings schema.Lucas Baudin2015-12-141-1/+1
| | | | | | | | | 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
* Updated Slovak translationDušan Kazik2015-12-141-160/+194
|