Commit 07ff0b80 authored by Claes Sjofors's avatar Claes Sjofors

Ge scroll events transmitted to objects in sub windows

parent ec9fca16
...@@ -597,8 +597,10 @@ int GrowWindow::event_handler( GlowWind *w, glow_eEvent event, int x, int y, dou ...@@ -597,8 +597,10 @@ int GrowWindow::event_handler( GlowWind *w, glow_eEvent event, int x, int y, dou
(y_low + y_low_offs) - scrollbar_width * horizontal_scrollbar); (y_low + y_low_offs) - scrollbar_width * horizontal_scrollbar);
return 1; return 1;
} }
else
return 0;
} }
return 0; break;
case glow_eEvent_ScrollDown: case glow_eEvent_ScrollDown:
if ( !ctx->trace_started) if ( !ctx->trace_started)
return 0; return 0;
...@@ -617,8 +619,10 @@ int GrowWindow::event_handler( GlowWind *w, glow_eEvent event, int x, int y, dou ...@@ -617,8 +619,10 @@ int GrowWindow::event_handler( GlowWind *w, glow_eEvent event, int x, int y, dou
(y_low + y_low_offs) - scrollbar_width * horizontal_scrollbar); (y_low + y_low_offs) - scrollbar_width * horizontal_scrollbar);
return 1; return 1;
} }
else
return 0;
} }
return 0; break;
default: default:
; ;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment