diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/frames.c | 10 | ||||
-rw-r--r-- | desktop/gui.h | 1 |
2 files changed, 8 insertions, 3 deletions
diff --git a/desktop/frames.c b/desktop/frames.c index 5cf82f9d5..a58a9c15b 100644 --- a/desktop/frames.c +++ b/desktop/frames.c @@ -850,8 +850,14 @@ bool browser_window_resize_frames(struct browser_window *bw, browser_mouse_state bw->drag_resize_up = up; bw->drag_resize_down = down; - /* TODO: sort this out: - gui_window_frame_resize_start(bw->window); */ + /* TODO: Tell the front end the valid pointer + * movement range for the drag, so that + * they can clamp pointer. + * + * Probably need a general function for + * this, to be used by all core-managed + * drag ops. + */ *status = messages_get("FrameDrag"); *action = true; diff --git a/desktop/gui.h b/desktop/gui.h index c0118ce74..aac7f1001 100644 --- a/desktop/gui.h +++ b/desktop/gui.h @@ -103,7 +103,6 @@ void gui_window_new_content(struct gui_window *g); bool gui_window_scroll_start(struct gui_window *g); bool gui_window_box_scroll_start(struct gui_window *g, int x0, int y0, int x1, int y1); -bool gui_window_frame_resize_start(struct gui_window *g); void gui_window_save_link(struct gui_window *g, const char *url, const char *title); |