summaryrefslogtreecommitdiff
path: root/src/dwb.h
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2012-01-04 00:02:33 +0100
committerportix <portix@gmx.net>2012-01-04 00:02:33 +0100
commitc791677ae407fa756d53e34b2ca704e4ed870e9f (patch)
treed88506c997125e221cf39ccfd293ffc79dfe8a43 /src/dwb.h
parent126f3131ec5635c7c244c0887d54c6772c7ed059 (diff)
downloaddwb-c791677ae407fa756d53e34b2ca704e4ed870e9f.zip
Rapid hint mode
Diffstat (limited to 'src/dwb.h')
-rw-r--r--src/dwb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dwb.h b/src/dwb.h
index edb73fe9..13b0149d 100644
--- a/src/dwb.h
+++ b/src/dwb.h
@@ -253,7 +253,10 @@ typedef enum {
HINT_T_URL = 4,
HINT_T_CLIPBOARD = 5,
HINT_T_PRIMARY = 6,
+ HINT_T_RAPID = 7,
+ HINT_T_RAPID_NW = 8,
} HintType;
+#define HINT_NOT_RAPID (dwb.state.hint_type != HINT_T_RAPID && dwb.state.hint_type != HINT_T_RAPID_NW)
typedef enum {
BAR_VIS_TOP = 1<<0,
@@ -324,6 +327,7 @@ typedef enum {
SET_URL = 1<<4,
OPEN_VIA_HINTS = 1<<5,
OPEN_EXPLICIT = 1<<6,
+ OPEN_BACKGROUND = 1<<7,
} Open;
enum {
@@ -748,6 +752,7 @@ void dwb_glist_prepend_unique(GList **, char *);
Navigation * dwb_navigation_from_webkit_history_item(WebKitWebHistoryItem *);
gboolean dwb_update_hints(GdkEventKey *);
+DwbStatus dwb_show_hints(Arg *);
gboolean dwb_search(Arg *);
void dwb_submit_searchengine(void);
void dwb_save_searchengine(void);