diff options
author | Bert <ber.t@gmx.com> | 2011-02-16 16:47:12 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-02-16 16:47:12 +0100 |
commit | 7b497406136dabcce280bae3886a88ee77ebc1e7 (patch) | |
tree | ec183d7ff703de99d5f3e9eb1b65c0d11a046774 /window.c | |
parent | e8ed491ba9f2fe6df8f071e7c59e0174bb307a1b (diff) |
First things for thumbnail mode
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -211,6 +211,14 @@ void win_toggle_fullscreen(win_t *win) { SubstructureNotifyMask, &ev); } +Pixmap win_create_pixmap(win_t *win) { + if (!win) + return 0; + + return XCreatePixmap(win->env.dpy, win->xwin, THUMB_SIZE, THUMB_SIZE, + win->env.depth); +} + void win_clear(win_t *win) { win_env_t *e; XGCValues gcval; |