aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-12-07 13:13:25 +0800
committermarcus <marcus@FreeBSD.org>2009-12-07 13:13:25 +0800
commit0c79167ad9762d4380622a6fc440ccb417efdf6d (patch)
treeeb4fc0f7ccad31ab2f426a94284bb49ad022732b
parent899c1b7fb3ec610e38998ebd9ad622e0ee730b4a (diff)
downloadfreebsd-ports-gnome-0c79167ad9762d4380622a6fc440ccb417efdf6d.tar.gz
freebsd-ports-gnome-0c79167ad9762d4380622a6fc440ccb417efdf6d.tar.zst
freebsd-ports-gnome-0c79167ad9762d4380622a6fc440ccb417efdf6d.zip
This patch was actually meant for gdm-2.26. Remove it.
-rw-r--r--x11/gdm/files/patch-daemon_gdm-session-direct.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/x11/gdm/files/patch-daemon_gdm-session-direct.c b/x11/gdm/files/patch-daemon_gdm-session-direct.c
deleted file mode 100644
index a0a84216cc29..000000000000
--- a/x11/gdm/files/patch-daemon_gdm-session-direct.c
+++ /dev/null
@@ -1,40 +0,0 @@
---- daemon/gdm-session-direct.c.orig 2009-12-02 15:15:33.000000000 +0100
-+++ daemon/gdm-session-direct.c 2009-12-02 15:15:41.000000000 +0100
-@@ -608,6 +608,7 @@
- char **devices;
- int n_devices;
- char *layout;
-+ char *variant;
- char *result;
-
- result = NULL;
-@@ -635,8 +636,26 @@
- "input.xkb.layout",
- NULL);
- }
-- result = g_strdup (layout);
-+
-+ variant = libhal_device_get_property_string (ctx,
-+ devices[0],
-+ "input.x11_options.XkbVariant",
-+ NULL);
-+
-+ if (!variant) {
-+ variant = libhal_device_get_property_string (ctx,
-+ devices[0],
-+ "input.xkb.variant",
-+ NULL);
-+ }
-+
-+ if(layout && variant)
-+ result = g_strdup_printf("%s\t%s", layout, variant);
-+ else
-+ result = g_strdup (layout);
-+
- libhal_free_string (layout);
-+ libhal_free_string (variant);
- }
-
- libhal_free_string_array (devices);
-
-