From 4a5d5d26aa8c66ef9c4e64cc355c63888b04d4e3 Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Mon, 29 Oct 2012 18:25:17 +0100 Subject: 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 --- window.h | 1 + 1 file changed, 1 insertion(+) (limited to 'window.h') 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*); -- cgit v1.2.3-70-g09d2