diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/netsurf/browser_window.h | 3 | ||||
-rw-r--r-- | include/netsurf/window.h | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/netsurf/browser_window.h b/include/netsurf/browser_window.h index 98139aa02..75977ace4 100644 --- a/include/netsurf/browser_window.h +++ b/include/netsurf/browser_window.h @@ -109,6 +109,9 @@ enum browser_window_create_flags { * have that option. */ BW_CREATE_UNVERIFIABLE = (1 << 3), + + /** Request foreground opening. */ + BW_CREATE_FOREGROUND = (1 << 4), }; /** flags to browser_window_navigate */ diff --git a/include/netsurf/window.h b/include/netsurf/window.h index 8f14a8c78..a393a3560 100644 --- a/include/netsurf/window.h +++ b/include/netsurf/window.h @@ -66,7 +66,8 @@ typedef enum { typedef enum { GW_CREATE_NONE = 0, /**< New window */ GW_CREATE_CLONE = (1 << 0), /**< Clone existing window */ - GW_CREATE_TAB = (1 << 1) /**< Create tab in same window as existing */ + GW_CREATE_TAB = (1 << 1), /**< Create tab in same window as existing */ + GW_CREATE_FOREGROUND = (1 << 2), /**< Request this window/tab is foregrounded */ } gui_window_create_flags; /** |