Screen resolution change with projector connected through HDMI messing with touchscreen input

Hi,

First of all I have to admit that I’m fairly new to Linux and I try to slowly get the hang of it. Most tasks I have to do on Linux work just fine or even better than with Windows 11. But I have one major problem on my daily job I can’t figure out for the life of me.

I’m using a Thinkpad X1 Yoga with Fedora 40 and I’m experiencing a problem when I connect this computer to a projector through a HDMI cable.

My normal screen resolution is 16:10 (1920x1200) but as soon as I connect the cable it switches to 16:9 (1920x1080). I did not experience this problem with W11 so I guess the projector is not the problem. The option for 16:10 dissapears from the menu in the settings.

This wouldn’t be a problem so far but my touchscreen and my pen input are not accurate anymore. For example when I write on the bottom of the screen, my writing is shifted to the center of the screen by quiet a margin and vice versa when I write on the top part of the (touch)screen. Only in the middle the input appears where it should.

I was looking for a way to prevent the automatic change to 16:9 or a way to adjust the touchscreen accordingly. I already changed the resolution of the projector to 16:10 (1920x1200) but to no avail.

I hope I explained my problem well enough.

Any help would be greatly appreciated!

Have a nice day and thank you in advance for your help

Additional information:

xrandr
Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 300mm x 190mm
   1920x1080     59.88*+
   1440x1080     59.87  
   1400x1050     59.86  
   1280x1024     59.76  
   1280x960      59.79  
   1152x864      59.78  
   1024x768      59.68  
   800x600       59.86  
   640x480       59.38  
   320x240       59.52  
   1680x1050     59.85  
   1440x900      59.89  
   1280x800      59.81  
   1152x720      59.75  
   960x600       59.63  
   928x580       59.88  
   800x500       59.50  
   768x480       59.38  
   720x480       59.71  
   640x400       59.20  
   320x200       58.96  
   1600x900      59.82  
   1368x768      59.71  
   1280x720      59.86  
   1024x576      59.90  
   864x486       59.45  
   720x400       59.55  
   640x350       59.77  
HDMI-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 700mm x 400mm
   1920x1080     59.96*+
   1440x1080     59.99  
   1400x1050     59.98  
   1280x1024     59.89  
   1280x960      59.94  
   1152x864      59.96  
   1024x768      59.92  
   800x600       59.86  
   640x480       59.38  
   320x240       59.52  
   1680x1050     59.95  
   1440x900      59.89  
   1280x800      59.81  
   1152x720      59.97  
   960x600       59.63  
   928x580       59.88  
   800x500       59.50  
   768x480       59.90  
   720x480       59.71  
   640x400       59.95  
   320x200       58.96  
   1600x900      59.95  
   1368x768      59.88  
   1280x720      59.86  
   1024x576      59.90  
   864x486       59.92  
   720x400       59.55  
   640x350       59.77