diff options
author | Bert Münnich <be.muennich@gmail.com> | 2012-10-29 18:25:17 +0100 |
---|---|---|
committer | Bert Münnich <be.muennich@gmail.com> | 2012-10-29 18:36:48 +0100 |
commit | 4a5d5d26aa8c66ef9c4e64cc355c63888b04d4e3 (patch) | |
tree | ff6ef317d752c3b75e61e63a80d2e78cf21505af /window.h | |
parent | 65d5d4469610a375d9fb9a5b7b269aaad98334e0 (diff) | |
download | nsxiv-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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*); |