2022-07-10 11:44:34 +00:00
|
|
|
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2022 Dor Askayo
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
|
|
* 02111-1307, USA.
|
|
|
|
*
|
|
|
|
* Written by:
|
|
|
|
* Dor Askayo <dor.askayo@gmail.com>
|
|
|
|
*/
|
|
|
|
|
2023-07-21 13:37:20 +00:00
|
|
|
#pragma once
|
2022-07-10 11:44:34 +00:00
|
|
|
|
|
|
|
#include <glib-object.h>
|
|
|
|
|
|
|
|
#include "clutter/clutter-mutter.h"
|
2022-07-02 19:51:13 +00:00
|
|
|
#include "meta/meta-window-actor.h"
|
2022-07-10 11:44:34 +00:00
|
|
|
|
|
|
|
struct _MetaCompositorViewClass
|
|
|
|
{
|
|
|
|
GObjectClass parent_class;
|
|
|
|
};
|
|
|
|
|
|
|
|
#define META_TYPE_COMPOSITOR_VIEW (meta_compositor_view_get_type ())
|
2022-07-15 09:06:12 +00:00
|
|
|
G_DECLARE_DERIVABLE_TYPE (MetaCompositorView, meta_compositor_view,
|
|
|
|
META, COMPOSITOR_VIEW, GObject)
|
2022-07-10 11:44:34 +00:00
|
|
|
|
|
|
|
MetaCompositorView *meta_compositor_view_new (ClutterStageView *stage_view);
|
|
|
|
|
2022-07-02 19:51:13 +00:00
|
|
|
void meta_compositor_view_update_top_window_actor (MetaCompositorView *compositor_view,
|
|
|
|
GList *window_actors);
|
|
|
|
|
|
|
|
MetaWindowActor *meta_compositor_view_get_top_window_actor (MetaCompositorView *compositor_view);
|
|
|
|
|
2022-07-10 11:44:34 +00:00
|
|
|
ClutterStageView *meta_compositor_view_get_stage_view (MetaCompositorView *compositor_view);
|