Skip to content

Commit

Permalink
if a window name doesn't exist, don't die please
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Gallant (Ocelot) authored and Andrew Gallant (Ocelot) committed Aug 27, 2011
1 parent 931e106 commit 4d29e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pagermh/prompt.py
Expand Up @@ -53,7 +53,7 @@ def windows(result_fun, prefix_complete=False, homogenous=False,
if nm < len(names):
nm = names[nm]
if nm in content:
content[nm].append((ewmh.get_wm_name(conn, c).reply(), c))
content[nm].append((ewmh.get_wm_name(conn, c).reply() or '', c))

currentPrompt = Prompt(content, result_fun, prefix_complete, homogenous)

Expand Down

0 comments on commit 4d29e25

Please sign in to comment.