aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-05-22 01:17:15 (GMT)
committerrathnor <rathnor>2003-05-22 01:17:15 (GMT)
commit7891106ca38096a5c738394cc6252b503de1ea75 (patch)
treea9133aaad850aaebec304ee736ed5f6b4d204bda
parent51f7970f7494710df2d015afca2007ceebbe7b2d (diff)
downloadfluxbox-7891106ca38096a5c738394cc6252b503de1ea75.zip
fluxbox-7891106ca38096a5c738394cc6252b503de1ea75.tar.bz2
initialisation problem with xinerama enabled but not active - caused crash
-rw-r--r--src/Screen.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index f67b63a..753acbe 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Screen.cc,v 1.175 2003/05/20 11:03:10 rathnor Exp $ 25// $Id: Screen.cc,v 1.176 2003/05/22 01:17:15 rathnor Exp $
26 26
27 27
28#include "Screen.hh" 28#include "Screen.hh"
@@ -2549,6 +2549,7 @@ void BScreen::initXinerama() {
2549 if (!XineramaIsActive(display)) { 2549 if (!XineramaIsActive(display)) {
2550 m_xinerama_avail = false; 2550 m_xinerama_avail = false;
2551 m_xinerama_headinfo = 0; 2551 m_xinerama_headinfo = 0;
2552 m_xinerama_num_heads = 0;
2552 return; 2553 return;
2553 } 2554 }
2554 m_xinerama_avail = true; 2555 m_xinerama_avail = true;