Permalink
Browse files

squash somewhere

Don't re-write left/top in fullscreen since that is only way of
knowing normal window size.
  • Loading branch information...
1 parent 2e2db91 commit 8b33140b4cedc2884a61760e90011cb3162805a3 @elupus committed Sep 23, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 xbmc/windowing/X11/WinSystemX11.cpp
@@ -788,8 +788,11 @@ void CWinSystemX11::RefreshWindowState()
m_nWidth = attr.width;
m_nHeight = attr.height;
- m_nLeft = attr.x;
- m_nTop = attr.y;
+ if(!m_bFullScreen)
+ {
+ m_nLeft = attr.x;
+ m_nTop = attr.y;
+ }
m_wm_controlled = attr.override_redirect == 0 && m_wm_name;
}

0 comments on commit 8b33140

Please sign in to comment.