diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 776dd29..8b605e7 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -1868,18 +1868,18 @@ void BScreen::updateSize() { | |||
1868 | // update xinerama layout | 1868 | // update xinerama layout |
1869 | initXinerama(); | 1869 | initXinerama(); |
1870 | 1870 | ||
1871 | // force update geometry | 1871 | // check if window geometry has changed |
1872 | rootWindow().updateGeometry(); | 1872 | if (rootWindow().updateGeometry()) { |
1873 | // reset background | ||
1874 | m_root_theme->reset(); | ||
1873 | 1875 | ||
1874 | // reset background | 1876 | // send resize notify |
1875 | m_root_theme->reset(); | 1877 | m_resize_sig.emit(*this); |
1876 | 1878 | m_workspace_area_sig.emit(*this); | |
1877 | // send resize notify | ||
1878 | m_resize_sig.emit(*this); | ||
1879 | m_workspace_area_sig.emit(*this); | ||
1880 | 1879 | ||
1881 | // move windows out of inactive heads | 1880 | // move windows out of inactive heads |
1882 | clearHeads(); | 1881 | clearHeads(); |
1882 | } | ||
1883 | } | 1883 | } |
1884 | 1884 | ||
1885 | 1885 | ||