We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents caa98e1 + 1e1263a commit cf06152Copy full SHA for cf06152
1 file changed
src/ewmhlib/_ewmhlib.py
@@ -1102,6 +1102,10 @@ def getName(self) -> Optional[str]:
1102
return str(res[0])
1103
ret = self.getProperty(Window.LEGACY_NAME)
1104
res = getPropertyValue(ret, display=self.display)
1105
+ if res:
1106
+ return str(res[0])
1107
+ ret = self.getProperty(Window.LEGACY_NAME)
1108
+ res = getPropertyValue(ret, display=self.display)
1109
if res:
1110
1111
return None
0 commit comments