/* * Matchbox Window Manager II - A lightweight window manager not for the * desktop. * * Authored By Matthew Allum * * Copyright (c) 2005 OpenedHand Ltd - http://o-hand.com * * SPDX-License-Identifier: GPL-2.0-or-later * */ #ifndef _HAVE_MB_DEBUG_H #define _HAVE_MB_DEBUG_H #if MBWM_WANT_DEBUG typedef enum { MBWM_DEBUG_MISC = 1 << 0, MBWM_DEBUG_CLIENT = 1 << 1, MBWM_DEBUG_PROP = 1 << 2, MBWM_DEBUG_EVENT = 1 << 3, MBWM_DEBUG_PAINT = 1 << 4, MBWM_DEBUG_TRACE = 1 << 5, MBWM_DEBUG_OBJ_REF = 1 << 6, MBWM_DEBUG_OBJ_UNREF = 1 << 7, MBWM_DEBUG_OBJ = MBWM_DEBUG_OBJ_REF | MBWM_DEBUG_OBJ_UNREF, MBWM_DEBUG_XAS = 1 << 8, MBWM_DEBUG_COMPOSITOR = 1 << 9, MBWM_DEBUG_DAMAGE = 1 << 10, } MBWMDebugFlag; extern int mbwm_debug_flags; #endif /* MBWM_WANT_DEBUG */ void mb_wm_debug_init (const char *debug_string); #endif