gtk2/gdk/wayland
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
..
cursor build: gdk/wayland/cursor depends on wayland-client 2020-02-20 17:07:02 +01:00
protocol Wayland: Implement KDE's SSD protocol 2017-10-26 15:51:56 -04:00
gdkapplaunchcontext-wayland.c Drop gdk_app_launch_context_set_screen 2017-10-30 23:01:34 -04:00
gdkcairocontext-wayland.c cairocontext: Remove fallback implementations 2018-04-24 23:24:55 +02:00
gdkcairocontext-wayland.h wayland: Rewrite Cairo rendering 2018-04-24 23:16:58 +02:00
gdkclipboard-wayland.c gdk: Change some async clipboard api 2019-04-02 15:10:53 +00:00
gdkclipboard-wayland.h wayland: Implement reading the clipboard 2017-12-03 05:46:49 +01:00
gdkcursor-wayland.c wayland: Stop capping cursor scales 2020-03-13 11:13:02 -04:00
gdkdevice-wayland.c Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
gdkdisplay-wayland.c wayland: emit ::enter/leave-monitor 2020-04-13 07:54:31 -04:00
gdkdisplay-wayland.h wayland: Move popups with xdg_popup.reposition 2020-04-08 23:32:47 +02:00
gdkdrag-wayland.c wayland: Stop abusing type hints 2020-03-11 19:35:55 -04:00
gdkdrop-wayland.c gdk: Make gdk_drop_status() take preferred action 2020-03-02 04:43:56 +01:00
gdkeventsource.c Stop exporting check_event_sanity 2020-02-21 00:51:03 -05:00
gdkglcontext-wayland.c Convert all profiler times from nsec to usec 2020-02-12 10:44:17 +01:00
gdkglcontext-wayland.h GdkSurface: Rename lots of stuff from window->surface 2018-03-20 15:14:10 +01:00
gdkkeys-wayland.c keymap: Remove virtual modifier mapping functions 2020-04-06 16:32:03 -04:00
gdkmonitor-wayland.c Relay the xdg_output.name to GdkMonitor 2019-06-24 15:38:36 +01:00
gdkmonitor-wayland.h Relay the xdg_output.name to GdkMonitor 2019-06-24 15:38:36 +01:00
gdkprimary-wayland.c gdk: Change some async dnd api 2019-04-02 15:11:06 +00:00
gdkprimary-wayland.h wayland: Add primary clipboard subclass 2017-12-03 05:46:49 +01:00
gdkprivate-wayland.h wayland: emit ::enter/leave-monitor 2020-04-13 07:54:31 -04:00
gdkseat-wayland.h wayland: Update cursor surface scale when output scale changes 2018-06-28 12:44:22 +02:00
gdksurface-wayland.c Restructure the GdkEvent type hierarchy 2020-04-16 19:54:02 +01:00
gdkvulkancontext-wayland.c drawcontext: Only pass the region that matters 2018-04-24 23:16:58 +02:00
gdkvulkancontext-wayland.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwayland.h GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
gdkwaylanddevice.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwaylanddisplay.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwaylandglcontext.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwaylandmonitor.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwaylandsurface.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
meson.build wayland: Move popups with xdg_popup.reposition 2020-04-08 23:32:47 +02:00
wm-button-layout-translation.c build: Don't turn off critical warnings 2017-10-06 16:03:08 +02:00
wm-button-layout-translation.h gdk: Relicense translate_wm_button_layout_to_gtk() 2017-04-27 21:05:12 +02:00