summaryrefslogtreecommitdiff
path: root/src/composite.h
blob: fb4f6236ac872feff42c9d3481e828427054a98e (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
#ifndef _COMPOSITE_H
#define _COMPOSITE_H

#include <X11/Xlib.h>
#include <X11/extensions/Xdamage.h>
#include <X11/extensions/Xfixes.h>

typedef struct _vwm_t vwm_t;
typedef struct _vwm_xwindow_t vwm_xwindow_t;

void vwm_composite_xwin_create(vwm_t *vwm, vwm_xwindow_t *xwin);
void vwm_composite_xwin_destroy(vwm_t *vwm, vwm_xwindow_t *xwin);
void vwm_composite_damage_add(vwm_t *vwm, XserverRegion damage);
void vwm_composite_damage_win(vwm_t *vwm, vwm_xwindow_t *xwin);
void vwm_composite_handle_configure(vwm_t *vwm, vwm_xwindow_t *xwin, XWindowAttributes *new_attrs);
void vwm_composite_handle_map(vwm_t *vwm, vwm_xwindow_t *xwin);
void vwm_composite_damage_event(vwm_t *vwm, XDamageNotifyEvent *ev);
void vwm_composite_damage_win(vwm_t *vwm, vwm_xwindow_t *xwin);
void vwm_composite_paint_all(vwm_t *vwm);
void vwm_composite_invalidate_root(vwm_t *vwm);
void vwm_composite_repaint_needed(vwm_t *vwm);
void vwm_composite_toggle(vwm_t *vwm);

#endif
© All Rights Reserved