Commit 84f0f2b6 authored by Brian Cameron's avatar Brian Cameron Committed by Brian Cameron

Add errno.h and gdmconfig.h to getvt.h. Fix Xinerama key in slave.c so

2005-11-08  Brian Cameron  <brian.cameron@sun.com>

        * daemon/getvt.c daemon/slave.c: Add errno.h and
          gdmconfig.h to getvt.h.  Fix Xinerama key in
          slave.c so code comiles when Xinerama is enabled.
parent dd1e5573
2005-11-08 Brian Cameron <brian.cameron@sun.com>
* daemon/getvt.c daemon/slave.c: Add errno.h and
gdmconfig.h to getvt.h. Fix Xinerama key in
slave.c so code comiles when Xinerama is enabled.
2005-11-07 Brian Cameron <brian.cameron@sun.com>
* daemon/gdm.h, gui/gdmchooser.c: No longer
......
......@@ -18,20 +18,22 @@
#include "config.h"
#include "gdm.h"
#include "misc.h"
#include "getvt.h"
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <dirent.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "gdm.h"
#include "misc.h"
#include "getvt.h"
#include "gdmconfig.h"
extern int GdmFirstVT;
extern gboolean GdmVTAllocation;
......
......@@ -949,7 +949,7 @@ gdm_screen_init (GdmDisplay *display)
if (screen_num <= gdm_get_value_int (GDM_KEY_XINERAMA_SCREEN))
gdm_set_value_int (GDM_KEY_XINERAMA_SCREEN, 0);
xineramascreen = gdm_get_value_int (GDM_KEY_XINERAMA);
xineramascreen = gdm_get_value_int (GDM_KEY_XINERAMA_SCREEN);
display->screenx = xscreens[xineramascreen].x_org;
display->screeny = xscreens[xineramascreen].y_org;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment