Skip to content

Commit

Permalink
#56 this function must return an int
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jun 7, 2022
1 parent 5047f07 commit d4a2c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/x11/bindings/randr_bindings.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ cdef class RandRBindingsInstance(X11CoreBindingsInstance):
mode = XRRCreateMode(self.display, window, new_mode)
log("XRRCreateMode returned %#x" % mode)
if mode<=0:
return None
return 0
self._added_modes[name] = int(mode)
#now add it to the output:
output = self.get_current_output()
Expand Down

0 comments on commit d4a2c74

Please sign in to comment.