diff options
Diffstat (limited to 'src/ScreenPlacement.cc')
-rw-r--r-- | src/ScreenPlacement.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ScreenPlacement.cc b/src/ScreenPlacement.cc index 73ddfa2..29c8b5f 100644 --- a/src/ScreenPlacement.cc +++ b/src/ScreenPlacement.cc | |||
@@ -99,7 +99,7 @@ bool ScreenPlacement::placeWindow(const FluxboxWindow &win, int head, | |||
99 | bool placed = false; | 99 | bool placed = false; |
100 | try { | 100 | try { |
101 | placed = m_strategy->placeWindow(win, head, place_x, place_y); | 101 | placed = m_strategy->placeWindow(win, head, place_x, place_y); |
102 | } catch (std::bad_cast cast) { | 102 | } catch (std::bad_cast & cast) { |
103 | // This should not happen. | 103 | // This should not happen. |
104 | // If for some reason we change the PlacementStrategy in Screen | 104 | // If for some reason we change the PlacementStrategy in Screen |
105 | // from ScreenPlacement to something else then we might get | 105 | // from ScreenPlacement to something else then we might get |