aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.hh')
-rw-r--r--src/Screen.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index a503285..d42fea0 100644
--- a/src/Screen.hh
+++ b/src/Screen.hh
@@ -406,6 +406,10 @@ public:
406 int numHeads() const { return m_xinerama_num_heads; } 406 int numHeads() const { return m_xinerama_num_heads; }
407 407
408 void initXinerama(); 408 void initXinerama();
409 void clearHeads();
410 /// clean up xinerama
411 void clearXinerama();
412
409 /** 413 /**
410 * Determines head number for a position 414 * Determines head number for a position
411 * @param x position in pixels on the screen 415 * @param x position in pixels on the screen
@@ -590,7 +594,7 @@ private:
590 int m_xinerama_num_heads; 594 int m_xinerama_num_heads;
591 int m_xinerama_center_x, m_xinerama_center_y; 595 int m_xinerama_center_x, m_xinerama_center_y;
592 596
593 HeadArea *m_head_areas; 597 std::vector<HeadArea *> m_head_areas;
594 598
595 struct XineramaHeadInfo { 599 struct XineramaHeadInfo {
596 int x, y, width, height; 600 int x, y, width, height;