I accidentally resized tor browser.
How to change back to default size without restart?
I accidentally resized tor browser.
How to change back to default size without restart?
If you're on Linux you can use wmctrl. You may need to install it first. You can use a command like:
wmctrl -r Tor -e 0,0,0,1000,600
See man wmctrl for more on how to use it. In the example, "Tor" is a substring that should find and isolate your window (unless it appears in more than one). 1000,600 appears to be the default window geometry, but may vary based on platform and screen resolution.
The simplest way is opening a new plain window, e.g. using Ctrl+N.
Then, you can place the old window above the new one in one corner and resize it to fit the corner on the other side. This is very easy with "sticky" window borders (configurable depending on the used desktop environment).
Afterwards, you can close the plain window again.
Based on @crsi answer, I tried Ctrl + N.
And once the new window opened (with default size/location I believe), I closed the OLD window.
Then visited some link in the new window. Then closed the new window as well.
Restarted TOR and now the current new window is of the same size as that of last time closed (then - new) window.
So, it appears that Tor remembers last used window size/location.
This way we don't need to resize anymore.