flacjacket / pywlroots

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

OutputHeadV1State: Invalid custom_mode setter #170

Closed heuer closed 4 months ago

heuer commented 5 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