Commit b11360cc authored by Jiri (George) Lebl's avatar Jiri (George) Lebl Committed by George Lebl

The screen code was wankered, it wanted HAVE_GTK_MULTIHEAD to be defined


Thu May 27 13:42:39 2004  George Lebl <jirka@5z.com>

	* gui/modules/dwellmouselistener.c, gui/modules/keymouselistener.c:
	  The screen code was wankered, it wanted HAVE_GTK_MULTIHEAD to be
	  defined to work properly and otherwise it confused bonobo which
	  is completely moronic (I mean bonobo is moronic) by using slightly
	  different (but perfectly legal) DISPLAY env var.
parent fd955b67
Thu May 27 13:42:39 2004 George Lebl <jirka@5z.com>
* gui/modules/dwellmouselistener.c, gui/modules/keymouselistener.c:
The screen code was wankered, it wanted HAVE_GTK_MULTIHEAD to be
defined to work properly and otherwise it confused bonobo which
is completely moronic (I mean bonobo is moronic) by using slightly
different (but perfectly legal) DISPLAY env var.
Wed May 26 18:23:14 2004 George Lebl <jirka@5z.com>
* daemon/auth.c, daemon/display.c, daemon/gdm.[ch], daemon/misc.[ch],
......
......@@ -98,7 +98,6 @@ BindingDirection get_binding_direction(char c);
static gchar *
screen_exec_display_string (GdkScreen *screen, const char *old)
{
#ifdef HAVE_GTK_MULTIHEAD
GString *str;
const gchar *old_display;
gchar *retval;
......@@ -122,12 +121,6 @@ screen_exec_display_string (GdkScreen *screen, const char *old)
g_string_free (str, FALSE);
return retval;
#else
if (old)
return g_strdup (old);
else
return g_strdup ("DISPLAY=:0.0");
#endif
}
/**
......
......@@ -107,7 +107,6 @@ free_gesture (Gesture *gesture)
static gchar *
screen_exec_display_string (GdkScreen *screen, const char *old)
{
#ifdef HAVE_GTK_MULTIHEAD
GString *str;
const gchar *old_display;
gchar *retval;
......@@ -131,12 +130,6 @@ screen_exec_display_string (GdkScreen *screen, const char *old)
g_string_free (str, FALSE);
return retval;
#else
if (old)
return g_strdup (old);
else
return g_strdup ("DISPLAY=:0.0");
#endif
}
static void create_event_watcher ()
......
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