Line 0
Link Here
|
|
|
1 |
--- ./src/freebsd/up-backend.c.orig 2010-11-01 12:28:43.000000000 +0100 |
2 |
+++ ./src/freebsd/up-backend.c 2013-01-23 02:42:21.293236052 +0100 |
3 |
@@ -227,7 +227,7 @@ |
4 |
gchar *lid_state; |
5 |
|
6 |
lid_state = up_get_string_sysctl (NULL, "hw.acpi.lid_switch_state"); |
7 |
- if (lid_state && strcmp (lid_state, "NONE")) { |
8 |
+ if (lid_state) { |
9 |
up_daemon_set_lid_is_present (backend->priv->daemon, TRUE); |
10 |
} |
11 |
g_free (lid_state); |