Re: [PATCH] ui/gtk: Properly apply x/y scale when rendering GL area

2025-05-10 Thread Weifeng Liu
Hi Marc-André, I am WIP on a patch set including a successor of this one as well as other fixes, doc and refactoring regarding scale handling. Hopefully the patch set would make scale handling into good shape. I will send the patch set out ASAP. Best regards, Weifeng On Mon, 2025-04-28 at 15:23

Re: [PATCH] ui/gtk: Properly apply x/y scale when rendering GL area

2025-05-10 Thread Weifeng Liu
Hi Marc-André, I am WIP on a patch set including a successor of this one as well as other fixes, doc and refactoring regarding scale handling. Hopefully the patch set would make scale handling into good shape. I will send the patch set out ASAP. Best regards, Weifeng On Mon, 2025-04-28 at 15:23

Re: [PATCH] ui/gtk: Properly apply x/y scale when rendering GL area

2025-04-28 Thread Marc-André Lureau
Hi On Sat, Apr 19, 2025 at 1:51 PM Weifeng Liu wrote: > > On startup, scale_x and scale_y were set to 1 that didn't reflect the > real situation of the scan-out, resulting in incorrect cursor > coordinates to be sent when moving the mouse pointer. Simply updating > the scales before rendering the

Re: [PATCH] ui/gtk: Properly apply x/y scale when rendering GL area

2025-04-25 Thread liuweife
Sorry, just realized that I forgot to cc Marc-André :D. Here is a description of the issue this patch is trying to solve: -- How to reproduce the issue -- Launch the guest with gtk backed virtual display using command like IMAGE_FOLDER=$HOME/worksp

[PATCH] ui/gtk: Properly apply x/y scale when rendering GL area

2025-04-19 Thread Weifeng Liu
On startup, scale_x and scale_y were set to 1 that didn't reflect the real situation of the scan-out, resulting in incorrect cursor coordinates to be sent when moving the mouse pointer. Simply updating the scales before rendering the image fixes this issue. Cc: hikalium Cc: Alexander Orzechowski