aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-xlib.h
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-06-05 05:49:24 -0400
committerJesse Luehrs <doy@tozt.net>2016-06-05 05:49:24 -0400
commit31d3606bc41d746cc48c889a788c429dd9850ed5 (patch)
tree74291f8897ec7bcaf07c485bfb0c1f99061c7e63 /src/window-xlib.h
parent7abf73063d2d6c48a5f31182ef843368e5575244 (diff)
downloadrunes-31d3606bc41d746cc48c889a788c429dd9850ed5.tar.gz
runes-31d3606bc41d746cc48c889a788c429dd9850ed5.zip
don't acquire the selection until we have something selected
clicking in a terminal window shouldn't be sufficient to remove an existing selection from another window (although it should clear the selection in its own window)
Diffstat (limited to 'src/window-xlib.h')
-rw-r--r--src/window-xlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window-xlib.h b/src/window-xlib.h
index 6518a1c..dbf15ad 100644
--- a/src/window-xlib.h
+++ b/src/window-xlib.h
@@ -17,6 +17,7 @@ struct runes_window {
unsigned int multi_clicks;
void *multi_click_timer_event;
+ unsigned int owns_selection: 1;
unsigned int visual_bell_is_ringing: 1;
unsigned int delaying: 1;
};