initialisation problem with xinerama enabled but not active - caused crash
This commit is contained in:
parent
51f7970f74
commit
7891106ca3
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// $Id: Screen.cc,v 1.175 2003/05/20 11:03:10 rathnor Exp $
|
||||
// $Id: Screen.cc,v 1.176 2003/05/22 01:17:15 rathnor Exp $
|
||||
|
||||
|
||||
#include "Screen.hh"
|
||||
|
@ -2549,6 +2549,7 @@ void BScreen::initXinerama() {
|
|||
if (!XineramaIsActive(display)) {
|
||||
m_xinerama_avail = false;
|
||||
m_xinerama_headinfo = 0;
|
||||
m_xinerama_num_heads = 0;
|
||||
return;
|
||||
}
|
||||
m_xinerama_avail = true;
|
||||
|
|
Loading…
Reference in a new issue