aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-02-10 06:13:25 +0100
committerdec05eba <dec05eba@protonmail.com>2024-02-10 06:13:25 +0100
commitc4ba5672b746ed13f87a37085df6e2657f509e0a (patch)
tree20eedf6daf7f6c01560587d91b86509abbdb18ff /src
parentb8843395acd03520b7630b6a1dc19f151f42382d (diff)
Wayland: handle eDP for rotation
Diffstat (limited to 'src')
-rw-r--r--src/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index f98527f..a464d52 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -158,6 +158,8 @@ static int get_connector_type_by_name(const char *name) {
return 2;
else if(len >= 12 && strncmp(name, "DisplayPort-", 12) == 0)
return 3;
+ else if(len >= 4 && strncmp(name, "eDP-", 4) == 0)
+ return 4;
else
return -1;
}