From 7dba5e9077e19682c4e6e8bfa7d3b017de533c62 Mon Sep 17 00:00:00 2001 From: yves Date: Mon, 22 Apr 2024 11:15:14 +0200 Subject: [PATCH] (OSX) Set name attribute in Monitor --- screeninfo/enumerators/osx.py | 1 + 1 file changed, 1 insertion(+) diff --git a/screeninfo/enumerators/osx.py b/screeninfo/enumerators/osx.py index 6bde210..d1f0911 100644 --- a/screeninfo/enumerators/osx.py +++ b/screeninfo/enumerators/osx.py @@ -25,4 +25,5 @@ def enumerate_monitors() -> T.Iterable[Monitor]: width=int(f.size.width), height=int(f.size.height), is_primary=check_primary(screens, screen), + name=screen.localizedName() )