summaryrefslogtreecommitdiff
path: root/gdk/gdkseat.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop gdkintl.hMatthias Clasen2022-09-231-1/+1
| | | | | This header was merely including gi18n-lib.h. Just do that directly.
* Remove all nicks and blurbs from param specsSophie Herold2022-05-111-3/+1
| | | | | | | | Those property features don't seem to be in use anywhere. They are redundant since the docs cover the same information and more. They also created unnecessary translation work. Closes #4904
* gdk: Remove gdkinternals.hBenjamin Otte2021-09-241-1/+0
|
* docs: fix broken linksBilal Elmoussaoui2021-05-271-1/+1
|
* gdk: Clean up docs syntaxMatthias Clasen2021-05-221-1/+1
| | | | Replace leftover gtk-doc syntax (#Type) with backquotes.
* seat: Add property annotationsMatthias Clasen2021-03-111-2/+2
| | | | Connect properties, getters, and setters with annotations.
* docs: Rework the gdk docsMatthias Clasen2021-03-111-78/+67
| | | | Convert links, make things more concise.
* seat: improve api to take into account the tool typeIgnacio Casal Quinteiro2021-01-071-4/+5
| | | | | Otherwise if we have several tools with the same serial and hardware id we might match the wrong tool.
* gdk: Documentation touchupsMatthias Clasen2020-08-131-9/+9
| | | | | | Minor rewordings here and there, strip nonpublic functions of doc comments, deemphasize logical/physical devices.
* gdk: Rename gdk_seat_get_physical_devices() to gdk_seat_get_devices()Carlos Garnacho2020-07-301-5/+5
| | | | | We don't want to tell what they are, and the distinction is now less clear. Remove the adjective from the function name.
* gdk: Small doc fixupMatthias Clasen2020-07-281-1/+1
| | | | | We no longer use <!-- --> for plurals, gtk-doc is smart enough to detect them without that.
* gdk: Add gdk_seat_get_tools() API callCarlos Garnacho2020-07-291-1/+36
| | | | | There's GdkSeat::tool-added and ::tool-removed, but there's no API to query the known tools. Add this call.
* gdk: Drop gdk_seat_get_logical_pointers()Carlos Garnacho2020-06-231-28/+0
| | | | | | Events come from hardware devices and are handled by controllers, there's no need to use logical pointers, nor to peek them. Drop this unused API.
* Rename master and slave deviceEmmanuele Bassi2020-06-181-21/+25
| | | | | | We already use the "logical/virtual" and "physical" names in the documentation, there's no reason to use loaded terms just because X11 uses them.
* Strip const from GdkEventMatthias Clasen2020-02-211-1/+1
| | | | | Events are refcounted structs, and we generally don't pass these as const.
* Fix incorrect use of GIR closure annotations.Robert Ancell2020-01-131-2/+2
| | | | | They were being applied to the callback function, not the data that is passed to that function.
* Remove gdk_seat_grabMatthias Clasen2019-12-291-0/+1
| | | | | | We are no longer using free-standing grabs in GTK. The replacement is the autohide functionality of popup surfaces.
* Minor typos in the Documentation (a/an)Дилян Палаузов2019-08-251-1/+1
|
* gtk: rely on default marshallersChristian Hergert2019-05-301-4/+4
| | | | | | | | | | Similar to previous removals of g_cclosure_marshal_VOID__VOID we can remove other marshallers for which are a simple G_TYPE_NONE with single parameter. In those cases, GLib will setup both a c_marshaller and va_marshaller for us. Before this commit, we would not get a va_marshaller because the c_marshaller is set. Related to GNOME/Initiatives#10
* seat: Add a sanity checkMatthias Clasen2019-05-011-0/+1
| | | | | | | | | | | apis that takes multiple display-relative objects should make sure that they are all from the same display, or hard-to-track-down badness will happen later on. Add such a check for the surface and device arguments of gdk_seat_grab. This helped in tracking down critical warnings from combo boxes in the inspector.
* docs: Its just GTK nowMatthias Clasen2019-02-241-4/+4
| | | | Another round of + removal.
* x11: make the tool lookup dependent on the hw id as wellPeter Hutterer2018-12-181-2/+3
| | | | | | | | | Tools on the same physical item have the same serial number, so the eraser and the pen part of a single pen share that serial number. With the current lookup code, we'll always return whichever tool comes first into proximity. Change the code to use the hw id in addition to the serial number, this way we can differ between two tools.
* GdkSurface: Rename lots of stuff from window->surfaceAlexander Larsson2018-03-201-10/+10
| | | | | Mostly these are internal things, but the major public change is that event.window is now event.surface.
* GdkWindow -> GdkSurface initial type renameAlexander Larsson2018-03-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This renames the GdkWindow class and related classes (impl, backend subclasses) to surface. Additionally it renames related types: GdkWindowAttr, GdkWindowPaint, GdkWindowWindowClass, GdkWindowType, GdkWindowTypeHint, GdkWindowHints, GdkWindowState, GdkWindowEdge This is an automatic conversion using the below commands: git sed -f g GdkWindowWindowClass GdkSurfaceSurfaceClass git sed -f g GdkWindow GdkSurface git sed -f g "gdk_window\([ _\(\),;]\|$\)" "gdk_surface\1" # Avoid hitting gdk_windowing git sed -f g "GDK_WINDOW\([ _\(]\|$\)" "GDK_SURFACE\1" # Avoid hitting GDK_WINDOWING git sed "GDK_\([A-Z]*\)IS_WINDOW\([_ (]\|$\)" "GDK_\1IS_SURFACE\2" git sed GDK_TYPE_WINDOW GDK_TYPE_SURFACE git sed -f g GdkPointerWindowInfo GdkPointerSurfaceInfo git sed -f g "BROADWAY_WINDOW" "BROADWAY_SURFACE" git sed -f g "broadway_window" "broadway_surface" git sed -f g "BroadwayWindow" "BroadwaySurface" git sed -f g "WAYLAND_WINDOW" "WAYLAND_SURFACE" git sed -f g "wayland_window" "wayland_surface" git sed -f g "WaylandWindow" "WaylandSurface" git sed -f g "X11_WINDOW" "X11_SURFACE" git sed -f g "x11_window" "x11_surface" git sed -f g "X11Window" "X11Surface" git sed -f g "WIN32_WINDOW" "WIN32_SURFACE" git sed -f g "win32_window" "win32_surface" git sed -f g "Win32Window" "Win32Surface" git sed -f g "QUARTZ_WINDOW" "QUARTZ_SURFACE" git sed -f g "quartz_window" "quartz_surface" git sed -f g "QuartzWindow" "QuartzSurface" git checkout NEWS* po-properties
* The big versioning cleanupMatthias Clasen2018-02-061-24/+0
| | | | | | | Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
* Document more structsMatthias Clasen2017-12-261-0/+7
|
* gdk: Add gdk_seat_get_master_pointers()Carlos Garnacho2017-12-071-0/+26
| | | | | | | | | | | Traditionally (and on most backends) there's a single master pointer driven by all pointing devices. The notable exception is Wayland though, where master pointing devices are created per capability in the case of pointer/touch, and one for each drawing tablet. This function call makes it easy to access all these. https://bugzilla.gnome.org/show_bug.cgi?id=790920
* gdk: Add GdkSeat::tool-added/removed signalsCarlos Garnacho2016-04-061-0/+70
| | | | | And a helper function to lookup a tool from the seat. Those are tracker per-seat, and may be shared across devices.
* gdk: Reword some docsMatthias Clasen2016-03-201-13/+12
|
* Remove redundant words from docsMatthias Clasen2016-02-251-2/+2
| | | | An either without an or doesn't add anything.
* gdkseat: remove return from gdk_seat_ungrabAlberts Muktupāvels2016-01-121-1/+1
|
* Fix the annotation for gdk_seat_get_slavesMatthias Clasen2016-01-111-1/+1
| | | | Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=759785
* GdkSeat: Fix annotation of gdk_seat_grab()Rico Tzschichholz2016-01-101-2/+2
|
* GdkSeat: Use g_intern_static_string() for signal namesCarlos Garnacho2015-12-251-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759857
* gdk: Add GdkSeatCarlos Garnacho2015-12-151-0/+391
https://bugzilla.gnome.org/show_bug.cgi?id=759309