summaryrefslogtreecommitdiff
path: root/src/composite.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@gnugeneration.com>2016-09-09 14:20:28 -0700
committerGitHub <noreply@github.com>2016-09-09 14:20:28 -0700
commita1aba8e0fe5c94ebf04258b609666c92b756954f (patch)
treefe9792b77766e31728b1d2d04d2461858ef45443 /src/composite.h
parente99f5ac1293a0ae1f498bc4c73c4c04e4edb8665 (diff)
parent8ef5fccc1ad2f5acb5530a438de631153e4ad945 (diff)
Merge pull request #6 from vcaputo/clean_house
House cleaning
Diffstat (limited to 'src/composite.h')
-rw-r--r--src/composite.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/composite.h b/src/composite.h
new file mode 100644
index 0000000..fb4f623
--- /dev/null
+++ b/src/composite.h
@@ -0,0 +1,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