summaryrefslogtreecommitdiff
path: root/src/compositor/meta-window-actor-x11.h
blob: 86b80034d0a0445380df0701856cdd3056405121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
 * Copyright (C) 2018 Endless, Inc.
 *
 * 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:
 *     Georges Basile Stavracas Neto <gbsneto@gnome.org>
 */

#ifndef META_WINDOW_ACTOR_X11_H
#define META_WINDOW_ACTOR_X11_H

#include "compositor/meta-window-actor-private.h"

#define META_TYPE_WINDOW_ACTOR_X11 (meta_window_actor_x11_get_type())
G_DECLARE_FINAL_TYPE (MetaWindowActorX11,
                      meta_window_actor_x11,
                      META, WINDOW_ACTOR_X11,
                      MetaWindowActor)

void meta_window_actor_x11_process_x11_damage (MetaWindowActorX11 *actor_x11,
                                               XDamageNotifyEvent *event);

gboolean meta_window_actor_x11_should_unredirect (MetaWindowActorX11 *actor_x11);

void meta_window_actor_x11_set_unredirected (MetaWindowActorX11 *actor_x11,
                                             gboolean            unredirected);

void meta_window_actor_x11_update_shape (MetaWindowActorX11 *actor_x11);

void meta_window_actor_x11_process_damage (MetaWindowActorX11 *actor_x11,
                                           XDamageNotifyEvent *event);

#endif /* META_WINDOW_ACTOR_X11_H */