| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Minor rewordings here and there, strip nonpublic
functions of doc comments, deemphasize logical/physical
devices.
|
|
|
|
|
| |
We don't want to tell what they are, and the distinction is now less
clear. Remove the adjective from the function name.
|
|
|
|
|
| |
We no longer use <!-- --> for plurals, gtk-doc is smart
enough to detect them without that.
|
|
|
|
|
| |
There's GdkSeat::tool-added and ::tool-removed, but there's no
API to query the known tools. Add this call.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Events are refcounted structs, and we generally don't
pass these as const.
|
|
|
|
|
| |
They were being applied to the callback function, not the data that is passed
to that function.
|
|
|
|
|
|
| |
We are no longer using free-standing grabs
in GTK. The replacement is the autohide
functionality of popup surfaces.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Another round of + removal.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Mostly these are internal things, but the major public change is
that event.window is now event.surface.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
And a helper function to lookup a tool from the seat. Those are
tracker per-seat, and may be shared across devices.
|
| |
|
|
|
|
| |
An either without an or doesn't add anything.
|
| |
|
|
|
|
| |
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=759785
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759857
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|