mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-11 21:39:56 +03:00
[project @ 2004-11-22 23:06:49 by rjw]
Stop scroll wheels from moving the toolbar svn path=/import/netsurf/; revision=1370
This commit is contained in:
parent
1105d9c397
commit
9c6094944b
@ -1254,13 +1254,15 @@ bool ro_gui_theme_process_toolbar(struct toolbar *toolbar, int width) {
|
||||
/* Re-attach to the parent
|
||||
*/
|
||||
toolbar->toolbar_current = width;
|
||||
if ((toolbar->reformat_buttons) && (parent) && (old_height != toolbar->height)) {
|
||||
if (toolbar->reformat_buttons) {
|
||||
extent.x1 = 16384;
|
||||
extent.y0 = 0;
|
||||
extent.y1 = toolbar->height;
|
||||
xwimp_set_extent(toolbar->toolbar_handle, &extent);
|
||||
if ((parent) && (old_height != toolbar->height)) {
|
||||
ro_gui_theme_attach_toolbar(toolbar, parent);
|
||||
}
|
||||
}
|
||||
toolbar->reformat_buttons = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user