Debian Codegraph @

src/picom.h

raw symbols SCIP
1 // SPDX-License-Identifier: MIT
2 // Copyright (c) 2011-2013, Christopher Jeffrey
3 // Copyright (c) 2018 Yuxuan Shui <[email protected]>
4
5 // Throw everything in here.
6 // !!! DON'T !!!
7
8 // === Includes ===
9
10 #include <X11/Xutil.h>
11 #include <locale.h>
12 #include <stdbool.h>
13 #include <stdlib.h>
14 #include <xcb/xproto.h>
15
16 #include <picom/types.h>
17
18 #include "c2.h"
19 #include "common.h"
20 #include "config.h"
21 #include "log.h" // XXX clean up
22 #include "wm/win.h"
23 #include "x.h"
24
25 // == Functions ==
26 // TODO(yshui) move static inline functions that are only used in picom.c, into picom.c
27
28 void root_damaged(session_t *ps);
29
30 void queue_redraw(session_t *ps);
31
32 void configure_root(session_t *ps);
33
34 void quit(session_t *ps);
35
36 xcb_window_t session_get_target_window(session_t *);
37
38 uint8_t session_redirection_mode(session_t *ps);
39
40 #ifdef CONFIG_DBUS
41 struct cdbus_data *session_get_cdbus(struct session *);
42 #else
43 static inline struct cdbus_data *session_get_cdbus(session_t *ps attr_unused) {
44 return NULL;
45 }
46 #endif