summaryrefslogtreecommitdiff
path: root/gdk/gdkseat.h
Commit message (Collapse)AuthorAgeFilesLines
* gdk: Dissolve gdk-autocleanup.hMatthias Clasen2022-09-231-0/+2
| | | | | | | | | Move the autocleanup declarations into their respective headers. While we are at it, correct the autocleanup declaration for GdkEvent to use gdk_event_unref, not g_object_unref. Oops
* gdkseat: Make gdk_seat_get_tools() publicKjell Ahlstedt2020-10-081-0/+1
| | | | Fixes #3241
* gdk: Rename gdk_seat_get_physical_devices() to gdk_seat_get_devices()Carlos Garnacho2020-07-301-1/+1
| | | | | We don't want to tell what they are, and the distinction is now less clear. Remove the adjective from the function name.
* gdk: Add gdk_seat_get_tools() API callCarlos Garnacho2020-07-291-0/+2
| | | | | 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-4/+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-8/+8
| | | | | | 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.
* Remove GdkSeatGrabPrepareFunc from headersMatthias Clasen2020-02-221-15/+0
| | | | It is not used in public api anymore.
* Remove gdk_seat_grabMatthias Clasen2019-12-291-12/+0
| | | | | | We are no longer using free-standing grabs in GTK. The replacement is the autohide functionality of popup surfaces.
* Use a single compilation symbolEmmanuele Bassi2019-11-271-1/+1
| | | | | | | | | | | | We use a compilation symbol in our build to allow the inclusion of specific headers while building GTK, to avoid the need to include only the global header. Each namespace has its own compilation symbol because we used to have different libraries, and strict symbol visibility between libraries; now that we have a single library, and we can use private symbols across namespaces while building GTK, we should have a single compilation symbol, and simplify the build rules.
* Remove a lot of Since annotationsMatthias Clasen2018-06-251-4/+0
| | | | | 4.0 will represent a clean epoch. We don't want to have lots of noise in the docs about 2.x or 3.x.
* GdkSurface: Rename lots of stuff from window->surfaceAlexander Larsson2018-03-201-5/+5
| | | | | Mostly these are internal things, but the major public change is that event.window is now event.surface.
* GdkWindow -> GdkSurface: File renamesAlexander Larsson2018-03-201-1/+1
| | | | | | | | | | | | | Rename all *window.[ch] source files. This is an automatic operation, done by the following commands: for i in $(git ls-files gdk | grep window); do git mv $i $(echo $i | sed s/window/surface/); git sed -f g $(basename $i) $(basename $i | sed s/window/surface/) ; done git checkout NEWS* po-properties po
* GdkWindow -> GdkSurface initial type renameAlexander Larsson2018-03-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-9/+9
| | | | | | | 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.
* gdk: Add GDK_SEAT_CAPABILITY_TABLET_PADCarlos Garnacho2017-12-071-1/+3
| | | | | | | Tablet pads don't adapt really well to any other capability, so add a distinct one to be able to query those properly. https://bugzilla.gnome.org/show_bug.cgi?id=790920
* gdk: Add gdk_seat_get_master_pointers()Carlos Garnacho2017-12-071-0/+4
| | | | | | | | | | | 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
* GdkSeat: Add G_BEGIN_DECLS and G_END_DECLSKjell Ahlstedt2015-12-221-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759771
* gdk: Add GdkSeatCarlos Garnacho2015-12-151-0/+113
https://bugzilla.gnome.org/show_bug.cgi?id=759309