1 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ 2 3 /* 4 * Copyright (C) 2008 Matthew Allum 5 * Copyright (C) 2007 Iain Holmes 6 * Based on xcompmgr - (c) 2003 Keith Packard 7 * xfwm4 - (c) 2005-2007 Olivier Fourdan 8 * 9 * This program is free software; you can redistribute it and/or 10 * modify it under the terms of the GNU General Public License as 11 * published by the Free Software Foundation; either version 2 of the 12 * License, or (at your option) any later version. 13 * 14 * This program is distributed in the hope that it will be useful, but 15 * WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 * General Public License for more details. 18 * 19 * You should have received a copy of the GNU General Public License 20 * along with this program; if not, see <http://www.gnu.org/licenses/>. 21 */ 22 23 #ifndef MUTTER_H_ 24 #define MUTTER_H_ 25 26 #include "clutter/clutter.h" 27 #include "meta/compositor.h" 28 #include "meta/meta-window-actor.h" 29 #include "meta/types.h" 30 31 /* Public compositor API */ 32 META_EXPORT 33 ClutterActor *meta_get_stage_for_display (MetaDisplay *display); 34 35 META_EXPORT 36 GList *meta_get_window_actors (MetaDisplay *display); 37 38 META_EXPORT 39 ClutterActor *meta_get_window_group_for_display (MetaDisplay *display); 40 41 META_EXPORT 42 ClutterActor *meta_get_top_window_group_for_display (MetaDisplay *display); 43 44 META_EXPORT 45 ClutterActor *meta_get_feedback_group_for_display (MetaDisplay *display); 46 47 META_EXPORT 48 void meta_disable_unredirect_for_display (MetaDisplay *display); 49 50 META_EXPORT 51 void meta_enable_unredirect_for_display (MetaDisplay *display); 52 53 META_EXPORT 54 void meta_focus_stage_window (MetaDisplay *display, 55 guint32 timestamp); 56 57 META_EXPORT 58 gboolean meta_stage_is_focused (MetaDisplay *display); 59 60 #endif 61