mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
Fix bug 0002555: "No GC" alert when resizing the window
We don't need to touch the GC when invalidating anyway, so just drop those calls.
This commit is contained in:
parent
8c29c675c4
commit
aedd9b5513
@ -1000,8 +1000,6 @@ beos_window_invalidate_area(struct gui_window *g, const struct rect *rect)
|
||||
return NSERROR_OK;
|
||||
}
|
||||
|
||||
nsbeos_current_gc_set(g->view);
|
||||
|
||||
if (rect != NULL) {
|
||||
//XXX +1 ??
|
||||
g->view->Invalidate(BRect(rect->x0, rect->y0,
|
||||
@ -1010,7 +1008,6 @@ beos_window_invalidate_area(struct gui_window *g, const struct rect *rect)
|
||||
g->view->Invalidate();
|
||||
}
|
||||
|
||||
nsbeos_current_gc_set(NULL);
|
||||
g->view->UnlockLooper();
|
||||
|
||||
return NSERROR_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user