summaryrefslogtreecommitdiff
path: root/beos/beos_window.cpp
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2008-10-08 20:55:18 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2008-10-08 20:55:18 +0000
commit8b992259f1e952f3856a6af37224c5db55540580 (patch)
tree54f16336be659e55e7ea9dc511e02ade26a0ac75 /beos/beos_window.cpp
parentc31a54788e70312c7c5d047b3f3f4be31541be51 (diff)
downloadnetsurf-8b992259f1e952f3856a6af37224c5db55540580.tar.gz
netsurf-8b992259f1e952f3856a6af37224c5db55540580.tar.bz2
Fix drawing the selection.
svn path=/trunk/netsurf/; revision=5508
Diffstat (limited to 'beos/beos_window.cpp')
-rw-r--r--beos/beos_window.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/beos/beos_window.cpp b/beos/beos_window.cpp
index b30a80453..30611edb7 100644
--- a/beos/beos_window.cpp
+++ b/beos/beos_window.cpp
@@ -911,6 +911,7 @@ void nsbeos_window_expose_event(BView *view, gui_window *g, BMessage *message)
plot = nsbeos_plotters;
nsbeos_plot_set_scale(g->bw->scale);
+ current_redraw_browser = g->bw;
content_redraw(c, 0, 0,
(view->Bounds().Width() + 1) * scale,
(view->Bounds().Height() + 1) * scale,
@@ -919,6 +920,7 @@ void nsbeos_window_expose_event(BView *view, gui_window *g, BMessage *message)
(int)updateRect.right + 1,
(int)updateRect.bottom + 1,
g->bw->scale, 0xFFFFFF);
+ current_redraw_browser = NULL;
if (g->careth != 0)
nsbeos_plot_caret(g->caretx, g->carety, g->careth);