aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-10-15 02:40:33 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-10-15 02:40:33 (GMT)
commit9bd64010135e26f97fa4d4d551737847fedfbcdd (patch)
treede54d9641c4923b153d3d79ccc25ac414e22574b /src/Screen.cc
parent7380a1f8f2292f0cbc00bdb8d2e7fc0ded84f816 (diff)
downloadfluxbox-9bd64010135e26f97fa4d4d551737847fedfbcdd.zip
fluxbox-9bd64010135e26f97fa4d4d551737847fedfbcdd.tar.bz2
ignore XRandr events that don't actually change the screen size
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc20
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