Re: [PATCH 1/4] ui: Use allocated size instead of window size

2021-12-20 Thread Marc-André Lureau
Hi On Sun, Dec 19, 2021 at 6:33 AM Alexander Orzechowski < orzechowski.alexan...@gmail.com> wrote: > In these cases, we only care about the size of the virtual console > itself. Previously, these calculations were made using the size of > the entire window, which would include the size of the vir

[PATCH 1/4] ui: Use allocated size instead of window size

2021-12-18 Thread Alexander Orzechowski
In these cases, we only care about the size of the virtual console itself. Previously, these calculations were made using the size of the entire window, which would include the size of the virtual console plus all the ui elements around it. Signed-off-by: Alexander Orzechowski --- ui/gtk.c | 26