aboutsummaryrefslogtreecommitdiffstats
path: root/matchbox/core/mb-wm-debug.h
blob: 490dda0231916138362a92b784cf570e181137ee (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
/*
 *  Matchbox Window Manager II - A lightweight window manager not for the
 *                               desktop.
 *
 *  Authored By Matthew Allum <mallum@o-hand.com>
 *
 *  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