AttributeError: '_XRRCrtcInfo' object has no attribute 'mode_info'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
disper |
Fix Committed
|
Medium
|
wvengen |
Bug Description
Hey, since it's been a long time since you've released a new version, and the current one (2.3.0) has known bugs with xrandr solved in trunk, I decided to get the current trunk version (revision 92, I think, disper --version says 0.2.3.99).
Anyway, it works pretty well, but I found an easy to fix bug when you execute "disper -S":
File "[...]/
if self._info.
AttributeError: '_XRRCrtcInfo' object has no attribute 'mode_info'
That line, 445, should be:
if self._info.
Because "contents" doesn't contains a "mode_info" parameter, but it has a "mode" one :)
Thanks! It's indeed time to have a new release, though I'll have to finish the new hook/plugin stuff first. But this patch has been committed.