summaryrefslogtreecommitdiffstats
path: root/include/view-internal.h
diff options
context:
space:
mode:
authorIan Remmler <ian@remmler.org>2016-09-08 15:42:41 -0500
committerDave Davenport <DaveDavenport@users.noreply.github.com>2016-09-08 22:42:41 +0200
commit91e2ecf2128f309d14691373cfec431343f105fd (patch)
tree43293dc884d7bfc4ae85dd8be6945e817a836936 /include/view-internal.h
parente3fb17a843602df47ccf417c051e811e2da60ce1 (diff)
Added click-to-exit option. (#460)
Exit if a mouse button is pressed and released outside of the rofi window.
Diffstat (limited to 'include/view-internal.h')
-rw-r--r--include/view-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/view-internal.h b/include/view-internal.h
index 8d6f2bdd..8c420889 100644
--- a/include/view-internal.h
+++ b/include/view-internal.h
@@ -67,6 +67,8 @@ struct RofiViewState
textbox **modi;
MenuFlags menu_flags;
+ int mouse_seen;
+
// Handlers.
void ( *x11_event_loop )( struct RofiViewState *state, xcb_generic_event_t *ev, xkb_stuff *xkb );
void ( *finalize )( struct RofiViewState *state );