Commit 1b5a4d88 authored by Mike Perry's avatar Mike Perry
Browse files

Bug 5729: Let's leave a little more room for desktop decorations.

parent b86512f4
......@@ -4183,7 +4183,7 @@ function torbutton_set_window_size(bWin) {
+" inner: "+bWin.innerWidth+"x"+bWin.innerHeight+
" in state "+window.windowState+" Have "+availWidth.value+"x"+availHeight.value);
var maxHeight = availHeight.value - (window.outerHeight - bWin.innerHeight) - 1;
var maxHeight = availHeight.value - (window.outerHeight - bWin.innerHeight) - 51;
var maxWidth = availWidth.value - (window.outerWidth - bWin.innerWidth);
torbutton_log(3, "Got max dimensions: "+maxWidth+"x"+maxHeight);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment