Re: [Mesa-dev] [PATCH] intel/tools: fix initial position of window in aubinator viewer

2018-09-11 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 11/09/2018 08:32, Tapani Pälli wrote: Currently position is set before widgets are sized by gtk and calculation can get wrong results where window is positioned offscreen. Patch fixes this by setting aubfile window position as 0,0 only when size_allocate has be

[Mesa-dev] [PATCH] intel/tools: fix initial position of window in aubinator viewer

2018-09-11 Thread Tapani Pälli
Currently position is set before widgets are sized by gtk and calculation can get wrong results where window is positioned offscreen. Patch fixes this by setting aubfile window position as 0,0 only when size_allocate has been called to the widget. Now window is always positioned to 0,0 if imgui.in