diff options
author | Tomas Janousek <tomi@nomi.cz> | 2007-07-11 11:54:53 (GMT) |
---|---|---|
committer | Tomas Janousek <tomi@nomi.cz> | 2008-01-27 14:01:14 (GMT) |
commit | 041eacdfd58451d0d561f332e1cb3d17a0970cd1 (patch) | |
tree | 55e87f626ae94cf225e0374b30141a0c26ae7293 /src/Screen.hh | |
parent | 6717a1c805529ea6e1b1c19a591f876c9c8803db (diff) | |
download | fluxbox_pavel-041eacdfd58451d0d561f332e1cb3d17a0970cd1.zip fluxbox_pavel-041eacdfd58451d0d561f332e1cb3d17a0970cd1.tar.bz2 |
Reload the Xinerama layout on RandR signal.
The m_head_areas became a vector, because we need to dynamically change its
size. The functions manipulating struts (which refer to a particular head)
now check whether the head still exists.
Signed-off-by: Tomas Janousek <tomi@nomi.cz>
Diffstat (limited to 'src/Screen.hh')
-rw-r--r-- | src/Screen.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Screen.hh b/src/Screen.hh index a503285..c95e573 100644 --- a/src/Screen.hh +++ b/src/Screen.hh | |||
@@ -590,7 +590,7 @@ private: | |||
590 | int m_xinerama_num_heads; | 590 | int m_xinerama_num_heads; |
591 | int m_xinerama_center_x, m_xinerama_center_y; | 591 | int m_xinerama_center_x, m_xinerama_center_y; |
592 | 592 | ||
593 | HeadArea *m_head_areas; | 593 | std::vector<HeadArea *> m_head_areas; |
594 | 594 | ||
595 | struct XineramaHeadInfo { | 595 | struct XineramaHeadInfo { |
596 | int x, y, width, height; | 596 | int x, y, width, height; |