I'm having some trouble with my resolution on LCD screen and Teamviewer. I have installed the necessary drivers for my LCD screen (https://www.waveshare.com/wiki/3.5inch_RPi_LCD_(B)) which works fine on the LCD display. But when I remote into my pi using Teamviewer, the display is also locked to that low resolution.
I have edited the /boot/config.txt and changed the frame buffer to something more sensible (1280x780 for example). Now when I use Teamviewer the resolution is fine, but on the pi LCD screen it is showing it stretched out to seemingly correct size but only to a small central window on the LCD display (loads of white space around it).
Is there a solution to have it display correctly on the LCD screen but also to max resolution while remoting in using Teamviewer?
Any help is much appreciated!