aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-xlib.h
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-05-06 03:35:29 -0400
committerJesse Luehrs <doy@tozt.net>2016-05-06 03:42:05 -0400
commit44bfe4da5dead378e32bdbd6be11f591a2283d38 (patch)
tree95a1b99ab2c905f4b6b3cb09ff7d0153d2eeb65d /src/window-xlib.h
parentb1ae3f18ef5515433fa64ee00cbd269090b3bfc4 (diff)
downloadrunes-44bfe4da5dead378e32bdbd6be11f591a2283d38.tar.gz
runes-44bfe4da5dead378e32bdbd6be11f591a2283d38.zip
retain selection contents after it is removed
this way, clicking in a terminal doesn't make you stop being able to paste things
Diffstat (limited to 'src/window-xlib.h')
-rw-r--r--src/window-xlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window-xlib.h b/src/window-xlib.h
index 8bc0fb6..4a49340 100644
--- a/src/window-xlib.h
+++ b/src/window-xlib.h
@@ -25,6 +25,8 @@ struct runes_window {
Window border_w;
XIC ic;
XEvent event;
+ char *selection_contents;
+ size_t selection_len;
cairo_t *backend_cr;