# HG changeset patch # User Sam Lantinga # Date 1291424125 28800 # Node ID 930614179450b01c162e1673af571cd6a66f23a5 # Parent 0d4756e57224ac45d2e1636b3121f7f3dc5ee97e Patch from Haiku's Google Code-In student Daniel Marth, fixes an off-by-one issue in bwindow. diff -r 0d4756e57224 -r 930614179450 src/video/bwindow/SDL_sysevents.cc --- a/src/video/bwindow/SDL_sysevents.cc Sun Sep 19 08:56:53 2010 -0700 +++ b/src/video/bwindow/SDL_sysevents.cc Fri Dec 03 16:55:25 2010 -0800 @@ -386,9 +386,9 @@ case B_DIRECT_MODIFY: { int32 width = info->window_bounds.right - - info->window_bounds.left + 1; + info->window_bounds.left; int32 height = info->window_bounds.bottom - - info->window_bounds.top + 1; + info->window_bounds.top; SDL_PrivateResize(width, height); break; }