diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2018-02-24 14:53:23 -0600 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2018-02-25 21:56:26 -0600 |
commit | 88d8293fb4ba150a5f19d58d133b5db93d9dcfa5 (patch) | |
tree | f9e3cce2feda5565049c5d99012e8bd84144b8a2 /st.h | |
parent | 05c66cb37d9ff278a3e0c45682c4b5e7945deb42 (diff) |
Move win-agnostic parts of draw/drawregion to st.c
Introduces three functions to encapsulate X-specific behavior:
* xdrawline: draws a portion of a single line (used by drawregion)
* xbegindraw: called to prepare for drawing (will be useful for e.g.
Wayland) and returns true if drawing should happen
* xfinishdraw: called to finish drawing (used by draw)
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Diffstat (limited to 'st.h')
-rw-r--r-- | st.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -131,6 +131,7 @@ typedef union { void die(const char *, ...); void redraw(void); +void draw(void); void iso14755(const Arg *); void printscreen(const Arg *); |