Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalmat committed Sep 19, 2023
2 parents caa98e1 + 1e1263a commit cf06152
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ewmhlib/_ewmhlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,10 @@ def getName(self) -> Optional[str]:
return str(res[0])
ret = self.getProperty(Window.LEGACY_NAME)
res = getPropertyValue(ret, display=self.display)
if res:
return str(res[0])
ret = self.getProperty(Window.LEGACY_NAME)
res = getPropertyValue(ret, display=self.display)
if res:
return str(res[0])
return None
Expand Down

0 comments on commit cf06152

Please sign in to comment.