summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-09-05 15:35:34 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-09-05 15:35:34 +0000
commit0401d52f514f992b3830af5fe246f61aa002ed2e (patch)
treeda06cf8f739686c11b3a76bacd5a1c7eba879a25 /desktop
parent34fe2531f28b0871a77f629de8c3ee54fb5ad065 (diff)
downloadnetsurf-0401d52f514f992b3830af5fe246f61aa002ed2e.tar.gz
netsurf-0401d52f514f992b3830af5fe246f61aa002ed2e.tar.bz2
Remove gui_window_frame_resize_start() functions.
svn path=/trunk/netsurf/; revision=12738
Diffstat (limited to 'desktop')
-rw-r--r--desktop/frames.c10
-rw-r--r--desktop/gui.h1
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);