We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f2097e commit a26c7f8Copy full SHA for a26c7f8
src/ewmhlib/_ewmhlib.py
@@ -1068,8 +1068,8 @@ def getName(self) -> Optional[str]:
1068
res: Optional[Union[List[int], List[str]]] = getPropertyValue(ret, display=self.display)
1069
if res:
1070
return str(res[0])
1071
- ret: Optional[Xlib.protocol.request.GetProperty] = self.getProperty(Window.LEGACY_NAME)
1072
- res: Optional[Union[List[int], List[str]]] = getPropertyValue(ret, display=self.display)
+ ret = self.getProperty(Window.LEGACY_NAME)
+ res = getPropertyValue(ret, display=self.display)
1073
1074
1075
return None
0 commit comments