Skip to content

Commit

Permalink
#3560 always unpremultiply, even if we have no 'refresh-rate' setting
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jun 28, 2022
1 parent 65e56bc commit f84a5b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xpra/server/mixins/display_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ def apply_refresh_rate(self, ss):
if not vrefresh and getattr(ss, "vrefresh", 0)>0:
vrefresh.append(ss.vrefresh*1000)
if vrefresh:
rrate = min(vrefresh)
rrate = min(vrefresh)//1000
if self.refresh_rate:
rrate = get_refresh_rate_for_value(self.refresh_rate, rrate) // 1000
rrate = get_refresh_rate_for_value(self.refresh_rate, rrate)
log("apply_refresh_rate(%s) vrefresh=%s (from %s)", ss, rrate, vrefresh)
#update all batch configs:
if hasattr(ss, "all_window_sources"):
Expand Down

0 comments on commit f84a5b9

Please sign in to comment.