dtmilano / AndroidViewClient

Android ViewServer and ADB client
Apache License 2.0
1.62k stars 345 forks source link

Window resize fix (for orientation changes) #282

Closed rook828 closed 4 years ago

rook828 commented 4 years ago

Manually setting the TK window geometry when the orientation changes was causing display issues, resulting in failure to extend the window horizontally and the window taking up extra space.

This fix removes manual geometry setting and allows the window manager to compute the correct window size based off the size of the menu bar and canvas, which in turn bases its size off of the scaled screenshot.