mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 02:50:41 -05:00
90de521799
Introduce two new clutter backends: MetaClutterBackendX11 and MetaClutterBackendNative. They are so far only wrap ClutterBackendX11 and ClutterBackendEglNative respectively, but the aim is to move things from the original clutter backends when needed. https://bugzilla.gnome.org/show_bug.cgi?id=768976
54 lines
1.5 KiB
C
54 lines
1.5 KiB
C
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
|
|
/* Mutter utilities */
|
|
|
|
/*
|
|
* Copyright (C) 2001 Havoc Pennington
|
|
* Copyright (C) 2005 Elijah Newren
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef META_UTIL_PRIVATE_H
|
|
#define META_UTIL_PRIVATE_H
|
|
|
|
#include <meta/util.h>
|
|
#include <glib/gi18n-lib.h>
|
|
|
|
typedef enum _MetaCompositorType
|
|
{
|
|
#ifdef HAVE_WAYLAND
|
|
META_COMPOSITOR_TYPE_WAYLAND,
|
|
#endif
|
|
META_COMPOSITOR_TYPE_X11,
|
|
} MetaCompositorType;
|
|
|
|
typedef enum _MetaBackendType
|
|
{
|
|
#ifdef HAVE_NATIVE_BACKEND
|
|
META_BACKEND_TYPE_NATIVE,
|
|
#endif
|
|
META_BACKEND_TYPE_X11,
|
|
} MetaBackendType;
|
|
|
|
void meta_set_verbose (gboolean setting);
|
|
void meta_set_debugging (gboolean setting);
|
|
void meta_set_syncing (gboolean setting);
|
|
void meta_set_replace_current_wm (gboolean setting);
|
|
void meta_set_is_wayland_compositor (gboolean setting);
|
|
|
|
#endif
|