• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

 device_mouse_x_to_gui changed in last update?

gnysek

Member
I'm using gui scaling, and because of that there were some problems with mouse_x position on gui, so I've made my own script which returns proper position. But, after last update it looks, that device_mouse_x_to_gui returns wrong position (mouse is moved 20% left).

Since there's no info about what is changed/fixed in latest version except two options and DnD, I need to ask you first, did you also noticed problem with that function between last runtime?
 

gnysek

Member
In fact it looks, that this function now takes scaling into account and return proper values, so it returns same value, which my script was returning before. Maybe that this function is fixed (or made to work better and as you suspect), and removing my "scaling fix" resolved my problem :)
 
Top