Meta – 13
Description: Reference for Meta-13

### Namespace

# Meta – 13

The Mutter display server, window manager and compositor library

Version | 13
Authors | Mutter Development Team
License | GPL-2.0-or-later
Website | https://blogs.gnome.org/shell-dev/
Source | https://gitlab.gnome.org/GNOME/mutter/

#### Build

pkg-config files | `libmutter-13`

#### Dependencies

GObject—2.0 | The base type system library
| Browse documentation

#### Related libraries

Gdk | The GTK windowing system abstraction
| Browse documentation
Gtk | The GTK toolkit
| Browse documentation

#### Additional documentation

- Classes Hierarchy

#### Classes

Backend | Handles monitor config, modesetting, cursor sprites, … since: 13
Background | This class handles tracking and painting the root window background. since: 13
BackgroundActor | This class handles tracking and painting the root window background. since: 13
BackgroundContent | This class handles tracking and painting the root window background. since: 13
BackgroundGroup | Container for background actors. since: 13
BackgroundImage | Represents a loaded or loading background image. since: 13
BackgroundImageCache | Caches loading of textures for backgrounds. since: 13
Barrier | Pointer barriers. since: 13
Compositor | Compositor API. since: 13
Context | since: 13
CursorTracker | Mutter cursor tracking helper. Originally only tracking the cursor image, now more of a “core pointer abstraction” since: 13
Display | Mutter display representation. since: 13
Dnd | since: 13
IdleMonitor | Mutter idle counter (similar to X’s IDLETIME) since: 13
Laters | since: 13
LaunchContext | since: 13
MonitorManager | A manager for multiple monitors. since: 13
MultiTexture | since: 13
Plugin | Entry point for plugins. since: 13
RemoteAccessController | since: 13
RemoteAccessHandle | since: 13
Selection | since: 13
SelectionSource | since: 13
SelectionSourceMemory | since: 13
ShadowFactory | Create window shadows. since: 13
ShapedTexture | A ClutterContent which draws a shaped texture. since: 13
SoundPlayer | since: 13
Stage | since: 13
StartupNotification | since: 13
StartupSequence | since: 13
WaylandClient | since: 13
WaylandCompositor | since: 13
Window | A display-agnostic abstraction for a window. since: 13
WindowActor | An actor representing a top-level window in the scene graph. since: 13
WindowGroup | since: 13
Workspace | Workspaces. since: 13
WorkspaceManager | since: 13
X11Display | Mutter X display handler. since: 13

#### Interfaces

CloseDialog | since: 13
InhibitShortcutsDialog | since: 13

#### Structs

BarrierEvent | since: 13
ButtonLayout | since: 13
Edge | since: 13
Frame | since: 13
FrameBorder | since: 13
FrameBorders | since: 13
Group | Mutter window groups. since: 13
KeyBinding | since: 13
PluginInfo | since: 13
Settings | since: 13
Shadow | Holds a shadow texture along with information about how to apply that texture to draw a window texture. since: 13
ShadowParams | Information about how to draw a particular style of shadow. since: 13
Strut | since: 13
WindowShape | Represents a 9-sliced region with borders on all sides that are unscaled, and a constant central region that is scaled. since: 13

#### Enumerations

ButtonFunction | Function a window button can have. since: 13
CloseDialogResponse | since: 13
CompEffect | Indicates the appropriate effect to show the user for `meta_compositor_show_window()` and `meta_compositor_hide_window()` since: 13
CompositorType | since: 13
Cursor | since: 13
DisplayCorner | since: 13
DisplayDirection | since: 13
EdgeType | since: 13
ExitCode | since: 13
FrameType | since: 13
GrabOp | since: 13
Gravity | since: 13
InhibitShortcutsDialogResponse | since: 13
KeyBindingAction | since: 13
LaterType | since: 13
LocaleDirection | since: 13
MonitorSwitchConfigType | since: 13
MotionDirection | since: 13
MultiTextureFormat | since: 13
PadDirection | since: 13
PadFeatureType | since: 13
PowerSaveChangeReason | since: 13
Preference | since: 13
SelectionType | since: 13
ShadowMode | since: 13
Side | since: 13
SizeChange | since: 13
StackLayer | Layers a window can be in. These MUST be in the order of stacking. since: 13
TabList | since: 13
TabShowType | since: 13
WindowClientType | since: 13
WindowMenuType | Menu the compositor should display for a given window. since: 13
WindowType | since: 13

#### Bitfields

BackendCapabilities | since: 13
BarrierDirection | since: 13
BarrierFlags | since: 13
DebugPaintFlag | since: 13
DebugTopic | since: 13
Direction | since: 13
KeyBindingFlags | since: 13
KeyboardA11yFlags | Keyboard accessibility features. since: 13
MaximizeFlags | since: 13
VirtualModifier | since: 13

#### Callbacks

IdleMonitorWatchFunc | since: 13
KeyHandlerFunc | since: 13
PrefsChangedFunc | since: 13
WindowForeachFunc | since: 13
X11DisplayEventFunc | since: 13

#### Functions

accelerator_name | Convert an accelerator keyval and modifier mask into a string parsable by `meta_parse_accelerator`. since: 13
add_clutter_debug_flags | since: 13
add_debug_paint_flag | since: 13
add_verbose_topic | Ensure log messages for the given topic `topic` will be printed. since: 13
bug | since: 13
clutter_init | since: 13
create_context | Create a context. since: 13
disable_unredirect_for_display | Disables unredirection, can be useful in situations where having unredirected windows is undesirable like when recording a video. since: 13
enable_unredirect_for_display | Enables unredirection which reduces the overhead for apps like games. since: 13
exit | since: 13
external_binding_name_for_action | since: 13
fatal | since: 13
focus_stage_window | since: 13
g_utf8_strndup | since: 13
get_clutter_debug_flags | since: 13
get_debug_paint_flags | since: 13
get_feedback_group_for_display | since: 13
get_locale_direction | since: 13
get_stage_for_display | since: 13
get_top_window_group_for_display | since: 13
get_window_actors | since: 13
get_window_group_for_display | since: 13
is_restart | Returns `TRUE` if this instance of Mutter comes from Mutter restarting itself (for example to enable/disable stereo.) since: 13
is_topic_enabled | since: 13
is_verbose | since: 13
is_wayland_compositor | since: 13
keybindings_set_custom_handler | Allows users to register a custom handler for a builtin key binding. since: 13
log | since: 13
pop_no_msg_prefix | since: 13
prefs_add_listener | since: 13
prefs_bell_is_audible | since: 13
prefs_change_workspace_name | since: 13
prefs_get_action_double_click_titlebar | since: 13
prefs_get_action_middle_click_titlebar | since: 13
prefs_get_action_right_click_titlebar | since: 13
prefs_get_attach_modal_dialogs | since: 13
prefs_get_auto_maximize | since: 13
prefs_get_auto_raise | since: 13
prefs_get_auto_raise_delay | since: 13
prefs_get_button_layout | since: 13
prefs_get_center_new_windows | since: 13
prefs_get_check_alive_timeout | since: 13
prefs_get_compositing_manager | since: 13
prefs_get_cursor_size | since: 13
prefs_get_cursor_theme | since: 13
prefs_get_disable_workarounds | since: 13
prefs_get_drag_threshold | since: 13
prefs_get_draggable_border_width | since: 13
prefs_get_dynamic_workspaces | since: 13
prefs_get_edge_tiling | since: 13
prefs_get_focus_change_on_pointer_rest | since: 13
prefs_get_focus_mode | since: 13
prefs_get_focus_new_windows | since: 13
prefs_get_force_fullscreen | since: 13
prefs_get_gnome_accessibility | since: 13
prefs_get_gnome_animations | since: 13
prefs_get_keybinding_action | since: 13
prefs_get_keybinding_label | since: 13
prefs_get_mouse_button_menu | since: 13
prefs_get_mouse_button_mods | since: 13
prefs_get_mouse_button_resize | since: 13
prefs_get_num_workspaces | since: 13
prefs_get_raise_on_click | since: 13
prefs_get_show_fallback_app_menu | since: 13
prefs_get_visual_bell | since: 13
prefs_get_visual_bell_type | since: 13
prefs_get_workspace_name | since: 13
prefs_get_workspaces_only_on_primary | since: 13
prefs_remove_listener | since: 13
prefs_set_force_fullscreen | since: 13
prefs_set_num_workspaces | since: 13
prefs_set_show_fallback_app_menu | since: 13
push_no_msg_prefix | since: 13
remove_clutter_debug_flags | since: 13
remove_debug_paint_flag | since: 13
remove_verbose_topic | Stop printing log messages for the given topic `topic`. since: 13
restart | Starts the process of restarting the compositor. since: 13
topic_to_string | since: 13
unsigned_long_equal | since: 13
unsigned_long_hash | since: 13
warning | since: 13
x11_error_trap_pop | since: 13
x11_error_trap_pop_with_return | since: 13
x11_error_trap_push | since: 13

#### Function Macros

PLUGIN_DECLARE | since: 13
PLUGIN_DECLARE_WITH_CODE | since: 13
topic | since: 13
verbose | since: 13
XFree | since: 13

#### Constants

CURRENT_TIME | since: 13
DEFAULT_ICON_NAME | since: 13
ICON_HEIGHT | since: 13
ICON_WIDTH | since: 13
MINI_ICON_HEIGHT | since: 13
MINI_ICON_WIDTH | since: 13
PRIORITY_BEFORE_REDRAW | since: 13
PRIORITY_PREFS_NOTIFY | since: 13
PRIORITY_REDRAW | since: 13
PRIORITY_RESIZE | since: 13
VIRTUAL_CORE_KEYBOARD_ID | since: 13
VIRTUAL_CORE_POINTER_ID | since: 13