Skip to content

Commit 0eb6a40

Browse files
committed
randr: change_output_property: Drop invalid arguments "format", "nUnits" and
add missing argument "value".
1 parent 6ced14a commit 0eb6a40

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Xlib/ext/randr.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -553,16 +553,15 @@ class ChangeOutputProperty(rq.Request):
553553
rq.List('value', rq.Card8Obj),
554554
)
555555

556-
def change_output_property(self, output, property, type, format, mode, nUnits):
556+
def change_output_property(self, output, property, type, mode, value):
557557
return ChangeOutputProperty(
558558
display=self.display,
559559
opcode=self.display.get_extension_major(extname),
560560
output=output,
561561
property=property,
562562
type=type,
563-
format=format,
564563
mode=mode,
565-
nUnits=nUnits,
564+
value=value,
566565
)
567566

568567

0 commit comments

Comments
 (0)