Skip to content

Commit

Permalink
Merge pull request #189 from wmww/fix-187
Browse files Browse the repository at this point in the history
gtk-priv: fix bug and update
  • Loading branch information
wmww authored Sep 1, 2024
2 parents 52ed5b6 + bfc567d commit 07653ce
Show file tree
Hide file tree
Showing 11 changed files with 638 additions and 16 deletions.
6 changes: 5 additions & 1 deletion gtk-priv/h/gdk_wayland_pointer_data_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
typedef struct _GdkWaylandPointerData GdkWaylandPointerData;

// Version ID 0
// Valid for GTK v3.22.0 - v3.24.40 (unreleased)
// Valid for GTK v3.22.0 - v3.24.44 (unreleased)
struct _GdkWaylandPointerData_v3_22_0
{
GdkWindow *focus;
Expand Down Expand Up @@ -134,6 +134,10 @@ int gdk_wayland_pointer_data_priv_get_version_id() {
case 24037:
case 24038:
case 24039:
case 24040:
case 24041:
case 24042:
case 24043:
break;

default:
Expand Down
6 changes: 5 additions & 1 deletion gtk-priv/h/gdk_wayland_pointer_frame_data_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
typedef struct _GdkWaylandPointerFrameData GdkWaylandPointerFrameData;

// Version ID 0
// Valid for GTK v3.22.0 - v3.24.40 (unreleased)
// Valid for GTK v3.22.0 - v3.24.44 (unreleased)
struct _GdkWaylandPointerFrameData_v3_22_0
{
GdkEvent *event;
Expand Down Expand Up @@ -124,6 +124,10 @@ int gdk_wayland_pointer_frame_data_priv_get_version_id() {
case 24037:
case 24038:
case 24039:
case 24040:
case 24041:
case 24042:
case 24043:
break;

default:
Expand Down
6 changes: 5 additions & 1 deletion gtk-priv/h/gdk_wayland_seat_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ struct _GdkWaylandSeat_v3_22_16
// - struct gtk_primary_selection_device *primary_data_device;
// + struct gtk_primary_selection_device *gtk_primary_data_device;
// + struct zwp_primary_selection_device_v1 *zwp_primary_data_device_v1;
// Valid for GTK v3.24.24 - v3.24.40 (unreleased)
// Valid for GTK v3.24.24 - v3.24.44 (unreleased)
struct _GdkWaylandSeat_v3_24_24
{
GdkSeat parent_instance;
Expand Down Expand Up @@ -349,6 +349,10 @@ int gdk_wayland_seat_priv_get_version_id() {
case 24037:
case 24038:
case 24039:
case 24040:
case 24041:
case 24042:
case 24043:
break;

default:
Expand Down
6 changes: 5 additions & 1 deletion gtk-priv/h/gdk_wayland_tablet_data_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
typedef struct _GdkWaylandTabletData GdkWaylandTabletData;

// Version ID 0
// Valid for GTK v3.22.0 - v3.24.40 (unreleased)
// Valid for GTK v3.22.0 - v3.24.44 (unreleased)
struct _GdkWaylandTabletData_v3_22_0
{
struct zwp_tablet_v2 *wp_tablet;
Expand Down Expand Up @@ -132,6 +132,10 @@ int gdk_wayland_tablet_data_priv_get_version_id() {
case 24037:
case 24038:
case 24039:
case 24040:
case 24041:
case 24042:
case 24043:
break;

default:
Expand Down
6 changes: 5 additions & 1 deletion gtk-priv/h/gdk_wayland_touch_data_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
typedef struct _GdkWaylandTouchData GdkWaylandTouchData;

// Version ID 0
// Valid for GTK v3.22.0 - v3.24.40 (unreleased)
// Valid for GTK v3.22.0 - v3.24.44 (unreleased)
struct _GdkWaylandTouchData_v3_22_0
{
uint32_t id;
Expand Down Expand Up @@ -123,6 +123,10 @@ int gdk_wayland_touch_data_priv_get_version_id() {
case 24037:
case 24038:
case 24039:
case 24040:
case 24041:
case 24042:
case 24043:
break;

default:
Expand Down
6 changes: 5 additions & 1 deletion gtk-priv/h/gdk_window_impl_class_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ struct _GdkWindowImplClass_v3_22_0
// Version ID 1
// Diff from previous version:
// + gboolean (* titlebar_gesture) (GdkWindow *window, GdkTitlebarGesture gesture);
// Valid for GTK v3.24.35 - v3.24.40 (unreleased)
// Valid for GTK v3.24.35 - v3.24.44 (unreleased)
struct _GdkWindowImplClass_v3_24_35
{
GObjectClass parent_class;
Expand Down Expand Up @@ -310,6 +310,10 @@ int gdk_window_impl_class_priv_get_version_id() {
case 24037:
case 24038:
case 24039:
case 24040:
case 24041:
case 24042:
case 24043:
break;

default:
Expand Down
6 changes: 5 additions & 1 deletion gtk-priv/h/gdk_window_impl_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
typedef struct _GdkWindowImpl GdkWindowImpl;

// Version ID 0
// Valid for GTK v3.22.0 - v3.24.40 (unreleased)
// Valid for GTK v3.22.0 - v3.24.44 (unreleased)
struct _GdkWindowImpl_v3_22_0
{
GObject parent;
Expand Down Expand Up @@ -118,6 +118,10 @@ int gdk_window_impl_priv_get_version_id() {
case 24037:
case 24038:
case 24039:
case 24040:
case 24041:
case 24042:
case 24043:
break;

default:
Expand Down
6 changes: 5 additions & 1 deletion gtk-priv/h/gdk_window_impl_wayland_class_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct _GdkWindowImplWaylandClass_v3_22_0
// Diff from previous version:
// - struct _GdkWindowImplClass_v3_22_0 parent_class;
// + struct _GdkWindowImplClass_v3_24_35 parent_class;
// Valid for GTK v3.24.35 - v3.24.40 (unreleased)
// Valid for GTK v3.24.35 - v3.24.44 (unreleased)
struct _GdkWindowImplWaylandClass_v3_24_35
{
struct _GdkWindowImplClass_v3_24_35 parent_class;
Expand Down Expand Up @@ -128,6 +128,10 @@ int gdk_window_impl_wayland_class_priv_get_version_id() {
case 24037:
case 24038:
case 24039:
case 24040:
case 24041:
case 24042:
case 24043:
break;

default:
Expand Down
Loading

0 comments on commit 07653ce

Please sign in to comment.