Source

beamer / beamerthemetree.sty

Diff from to

beamerthemetree.sty

 
                                 % Frametitles
 \useframetitletemplate{%
-  {\leftskip-\Geom@lmargin\advance\leftskip by0.3cm%
-   \rightskip-\Geom@rmargin plus 1fil\advance\rightskip by0.3cm\leavevmode
+  {\leftskip-\beamer@leftmargin\advance\leftskip by0.3cm%
+   \rightskip-\beamer@rightmargin plus1fil\advance\rightskip by0.3cm\leavevmode
     \color{structure}
     \Large\insertframetitle\par}%
   }
 
+
   
                                 % Sections in headline
 \usesectionheadtemplate