diff options
Diffstat (limited to 'desktop/browser.h')
-rw-r--r-- | desktop/browser.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/desktop/browser.h b/desktop/browser.h index ddc7edc00..c77a5d13f 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -25,8 +25,7 @@ struct gui_window; struct history; /** Browser window data. */ -struct browser_window -{ +struct browser_window { /** Page currently displayed, or 0. Must have status READY or DONE. */ struct content *current_content; /** Page being loaded, or 0. */ @@ -51,9 +50,12 @@ struct browser_window /** Start time of fetching loading_content. */ clock_t time0; - /** Fragment identifier for current_content */ + /** Fragment identifier for current_content. */ char *frag_id; + /** Current drag status. */ + enum { DRAGGING_NONE, DRAGGING_VSCROLL, DRAGGING_HSCROLL } drag_type; + /** Box currently being scrolled, or 0. */ struct box *scrolling_box; /** Mouse position last scroll movement. */ |