gtk2/gdk/x11
Emmanuele Bassi f28aa1ba02 Restructure the GdkEvent type hierarchy
GdkEvent has been a "I-can't-believe-this-is-not-OOP" type for ages,
using a union of sub-types. This has always been problematic when it
comes to implementing accessor functions: either you get generic API
that takes a GdkEvent and uses a massive switch() to determine which
event types have the data you're looking for; or you create namespaced
accessors, but break language bindings horribly, as boxed types cannot
have derived types.

The recent conversion of GskRenderNode (which had similar issues) to
GTypeInstance, and the fact that GdkEvent is now a completely opaque
type, provide us with the chance of moving GdkEvent to GTypeInstance,
and have sub-types for GdkEvent.

The change from boxed type to GTypeInstance is pretty small, all things
considered, but ends up cascading to a larger commit, as we still have
backends and code in GTK trying to access GdkEvent structures directly.
Additionally, the naming of the public getter functions requires
renaming all the data structures to conform to the namespace/type-name
pattern.
2020-04-16 19:54:02 +01:00
..
gdkapplaunchcontext-x11.c Use commas to differentiate between text and filename 2019-07-24 13:51:22 +00:00
gdkasync.c Remove NEED_XIPROTO_H_FOR_XREPLY check 2019-08-21 20:46:30 +02:00
gdkasync.h
gdkcairocontext-x11.c Get rid of GdkSurfaceImpl 2019-05-28 20:25:14 +00:00
gdkcairocontext-x11.h x11: Move implementation of Cairo context backends 2018-04-24 23:16:13 +02:00
gdkclipboard-x11.c x11: Fix release build warnings 2020-01-18 11:49:16 -05:00
gdkclipboard-x11.h
gdkcursor-x11.c Remove primary monitor api 2020-01-30 21:33:37 +01:00
gdkdevice-xi2.c Drop root coordinates from _gdk_device_query_state 2020-03-12 15:30:11 -04:00
gdkdevicemanager-x11.c gdk/x11: Drop GdkDeviceManagerCore 2019-05-15 01:05:29 +02:00
gdkdevicemanager-xi2.c Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
gdkdevicemanagerprivate-core.h GdkWindow -> GdkSurface initial type rename 2018-03-20 11:40:08 +01:00
gdkdisplay-x11.c Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
gdkdisplay-x11.h x11: Get rid of GdkAtom and APIs supporting it. 2020-02-23 01:59:26 +01:00
gdkdrag-x11.c Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
gdkdrop-x11.c gdk: Make gdk_drop_status() take preferred action 2020-03-02 04:43:56 +01:00
gdkeventsource.c Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
gdkeventsource.h
gdkeventtranslator.c x11: change event translator interface 2020-02-21 00:47:51 -05:00
gdkeventtranslator.h x11: change event translator interface 2020-02-21 00:47:51 -05:00
gdkglcontext-x11.c Minor typos in the Documentation (a/an) 2019-08-25 12:52:46 +00:00
gdkglcontext-x11.h GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
gdkkeys-x11.c Rename gdkx11keys.h 2020-04-07 18:12:58 +01:00
gdkkeys-x11.h Rename gdkx11keys.h 2020-04-07 18:12:58 +01:00
gdkmain-x11.c Correct GdkX11 import path in docs and include guards 2019-11-16 01:35:09 -08:00
gdkmonitor-x11.c Move fullscreen-mode to GdkToplevel 2020-03-12 15:30:11 -04:00
gdkmonitor-x11.h
gdkprivate-x11.h x11: emit ::enter/leave-monitor 2020-04-16 16:23:57 +02:00
gdkproperty-x11.c x11: Get rid of GdkAtom and APIs supporting it. 2020-02-23 01:59:26 +01:00
gdkscreen-x11.c x11: Get rid of GdkAtom and APIs supporting it. 2020-02-23 01:59:26 +01:00
gdkscreen-x11.h x11: add support for _GTK_WORKAREAS_Dn 2020-01-29 14:38:08 +02:00
gdkselection-x11.c x11: Get rid of GdkAtom and APIs supporting it. 2020-02-23 01:59:26 +01:00
gdkselectioninputstream-x11.c gdkselectioninputstream-x11: Fix memory leak 2018-09-16 20:08:25 +05:30
gdkselectioninputstream-x11.h
gdkselectionoutputstream-x11.c gdkselectionoutputstream-x11: Fix a memory leak 2019-10-27 14:05:46 +05:30
gdkselectionoutputstream-x11.h
gdksettings.c Add a gtk-overlay-scrolling setting 2019-05-31 14:07:15 +00:00
gdksurface-x11.c Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
gdksurface-x11.h x11: emit ::enter/leave-monitor 2020-04-16 16:23:57 +02:00
gdktextlistconverter-x11.c x11: Get rid of GdkAtom and APIs supporting it. 2020-02-23 01:59:26 +01:00
gdktextlistconverter-x11.h
gdkvisual-x11.c The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkvisual-x11.h
gdkvulkancontext-x11.c drawcontext: Only pass the region that matters 2018-04-24 23:16:58 +02:00
gdkvulkancontext-x11.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkx11applaunchcontext.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkx11device-xi2.h
gdkx11device.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkx11devicemanager-xi2.h
gdkx11devicemanager.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkx11display.h Remove primary monitor api 2020-01-30 21:33:37 +01:00
gdkx11dnd.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkx11glcontext.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkx11monitor.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkx11property.h x11: Get rid of GdkAtom and APIs supporting it. 2020-02-23 01:59:26 +01:00
gdkx11screen.h x11: Get rid of GdkAtom and APIs supporting it. 2020-02-23 01:59:26 +01:00
gdkx11selection.h x11: Get rid of GdkAtom and APIs supporting it. 2020-02-23 01:59:26 +01:00
gdkx11surface.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkx11utils.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkx-autocleanups.h gdk: Make GdkKeymap a private api 2020-04-06 16:32:03 -04:00
gdkx.h gdk: Make GdkKeymap a private api 2020-04-06 16:32:03 -04:00
gdkxftdefaults.c Don't use xsettings or xft defaults in testsuite 2020-02-03 15:11:35 +01:00
gdkxid.c x11: Stop using child surface api 2019-05-28 20:25:13 +00:00
meson.build Do not parse all GDK-X11 source files 2020-04-07 18:06:08 +01:00
MwmUtil.h
xsettings-client.c x11: Don't pass a GdkEvent to xsettings filters 2020-02-21 00:40:52 -05:00
xsettings-client.h x11: Don't pass a GdkEvent to xsettings filters 2020-02-21 00:40:52 -05:00