wayland/surface: Make meta_wayland_transaction_ensure_entry non-static
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1880>
This commit is contained in:
parent
9ed6a3dffb
commit
26346a06ee
@ -41,7 +41,7 @@ struct _MetaWaylandTransaction
|
||||
GHashTable *entries;
|
||||
};
|
||||
|
||||
typedef struct _MetaWaylandTransactionEntry
|
||||
struct _MetaWaylandTransactionEntry
|
||||
{
|
||||
/* Next committed transaction with entry for the same surface */
|
||||
MetaWaylandTransaction *next_transaction;
|
||||
@ -52,7 +52,7 @@ typedef struct _MetaWaylandTransactionEntry
|
||||
gboolean has_sub_pos;
|
||||
int x;
|
||||
int y;
|
||||
} MetaWaylandTransactionEntry;
|
||||
};
|
||||
|
||||
static MetaWaylandTransactionEntry *
|
||||
meta_wayland_transaction_get_entry (MetaWaylandTransaction *transaction,
|
||||
@ -301,7 +301,7 @@ meta_wayland_transaction_commit (MetaWaylandTransaction *transaction)
|
||||
meta_wayland_transaction_maybe_apply (transaction);
|
||||
}
|
||||
|
||||
static MetaWaylandTransactionEntry *
|
||||
MetaWaylandTransactionEntry *
|
||||
meta_wayland_transaction_ensure_entry (MetaWaylandTransaction *transaction,
|
||||
MetaWaylandSurface *surface)
|
||||
{
|
||||
|
@ -25,6 +25,9 @@
|
||||
|
||||
void meta_wayland_transaction_commit (MetaWaylandTransaction *transaction);
|
||||
|
||||
MetaWaylandTransactionEntry *meta_wayland_transaction_ensure_entry (MetaWaylandTransaction *transaction,
|
||||
MetaWaylandSurface *surface);
|
||||
|
||||
void meta_wayland_transaction_add_placement_op (MetaWaylandTransaction *transaction,
|
||||
MetaWaylandSurface *surface,
|
||||
MetaWaylandSubsurfacePlacementOp *op);
|
||||
|
@ -55,6 +55,7 @@ typedef struct _MetaWaylandSurface MetaWaylandSurface;
|
||||
typedef struct _MetaWaylandSurfaceState MetaWaylandSurfaceState;
|
||||
|
||||
typedef struct _MetaWaylandTransaction MetaWaylandTransaction;
|
||||
typedef struct _MetaWaylandTransactionEntry MetaWaylandTransactionEntry;
|
||||
|
||||
typedef struct _MetaWaylandOutput MetaWaylandOutput;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user