From e4283f6d48b98e764b988b43bbc86b9d52e6ec94 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:54:43 +0200 Subject: Adding upstream version 43.9. Signed-off-by: Daniel Baumann --- src/shell-window-preview-layout.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/shell-window-preview-layout.h (limited to 'src/shell-window-preview-layout.h') diff --git a/src/shell-window-preview-layout.h b/src/shell-window-preview-layout.h new file mode 100644 index 0000000..9376b0d --- /dev/null +++ b/src/shell-window-preview-layout.h @@ -0,0 +1,33 @@ +#ifndef __SHELL_WINDOW_PREVIEW_LAYOUT_H__ +#define __SHELL_WINDOW_PREVIEW_LAYOUT_H__ + +G_BEGIN_DECLS + +#include + +#define SHELL_TYPE_WINDOW_PREVIEW_LAYOUT (shell_window_preview_layout_get_type ()) +G_DECLARE_FINAL_TYPE (ShellWindowPreviewLayout, shell_window_preview_layout, + SHELL, WINDOW_PREVIEW_LAYOUT, ClutterLayoutManager) + +typedef struct _ShellWindowPreviewLayout ShellWindowPreviewLayout; +typedef struct _ShellWindowPreviewLayoutPrivate ShellWindowPreviewLayoutPrivate; + +struct _ShellWindowPreviewLayout +{ + /*< private >*/ + ClutterLayoutManager parent; + + ShellWindowPreviewLayoutPrivate *priv; +}; + +ClutterActor * shell_window_preview_layout_add_window (ShellWindowPreviewLayout *self, + MetaWindow *window); + +void shell_window_preview_layout_remove_window (ShellWindowPreviewLayout *self, + MetaWindow *window); + +GList * shell_window_preview_layout_get_windows (ShellWindowPreviewLayout *self); + +G_END_DECLS + +#endif /* __SHELL_WINDOW_PREVIEW_LAYOUT_H__ */ -- cgit v1.2.3