flacjacket / pywlroots

Python binding to the wlroots library using cffi
University of Illinois/NCSA Open Source License
53 stars 15 forks source link

OutputHeadV1State: Invalid custom_mode setter #170

Closed heuer closed 7 months ago

heuer commented 7 months ago

The property setter is invalid. It does the same as the property getter:


    @custom_mode.setter
    def custom_mode(self):
        width = self._ptr.custom_mode.width
        height = self._ptr.custom_mode.height
        refresh = self._ptr.custom_mode.refresh
        return CustomMode(width, height, refresh)

I'll provide a fix together with #149