summaryrefslogtreecommitdiffstats
path: root/window.h
diff options
context:
space:
mode:
authorBert Münnich <be.muennich@gmail.com>2012-10-29 18:25:17 +0100
committerBert Münnich <be.muennich@gmail.com>2012-10-29 18:36:48 +0100
commit4a5d5d26aa8c66ef9c4e64cc355c63888b04d4e3 (patch)
treeff6ef317d752c3b75e61e63a80d2e78cf21505af /window.h
parent65d5d4469610a375d9fb9a5b7b269aaad98334e0 (diff)
downloadnsxiv-4a5d5d26aa8c66ef9c4e64cc355c63888b04d4e3.tar.zst
Overhauled window drawing
- Draw onto pixmap as before, but use the same size for the pixmap as for the window, allocate new pixmap after configure requests - Use XCopyArea() instead of XSetWindowBackgroundPixmap(), which now requires handling of Expose events
Diffstat (limited to 'window.h')
-rw-r--r--window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/window.h b/window.h
index c3948cd..5e033e3 100644
--- a/window.h
+++ b/window.h
@@ -66,6 +66,7 @@ void win_open(win_t*);
void win_close(win_t*);
bool win_configure(win_t*, XConfigureEvent*);
+void win_expose(win_t*, XExposeEvent*);
bool win_moveresize(win_t*, int, int, unsigned int, unsigned int);
void win_toggle_fullscreen(win_t*);