mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-10 03:24:21 +03:00
Delete redundant browser_window_type test.
svn path=/trunk/netsurf/; revision=12716
This commit is contained in:
parent
e1f20d37c5
commit
9856bc0923
@ -1437,8 +1437,7 @@ void gui_window_set_extent(struct gui_window *g, int width, int height)
|
||||
/* the top-level framed window is a total pain. to get it to maximise
|
||||
* to the top of the screen we need to fake it having a suitably large
|
||||
* extent */
|
||||
if (g->bw->children &&
|
||||
(g->bw->browser_window_type == BROWSER_WINDOW_NORMAL)) {
|
||||
if (g->bw->children) {
|
||||
ro_gui_screen_size(&screen_width, &height);
|
||||
if (g->toolbar)
|
||||
height -= ro_toolbar_full_height(g->toolbar);
|
||||
|
Loading…
x
Reference in New Issue
Block a user