Skip to content

Commit

Permalink
Be explicit when looking for libXpresent
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Mar 22, 2022
1 parent aca7729 commit 569e04b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mate-tweak
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ class MateTweak:
try:
ldd = subprocess.Popen('ldd /usr/bin/marco', shell=True, stdout=subprocess.PIPE)
for line in ldd.stdout:
if "present" in str(line):
if "libXpresent" in str(line):
compositor = "Xpresent"
break
except:
Expand Down

0 comments on commit 569e04b

Please sign in to comment.