mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-20 06:05:16 +00:00
Fix a regression that broke setting background_opacity via remote control
Fixes #1895
This commit is contained in:
parent
eafd8af937
commit
4a851701e9
2 changed files with 4 additions and 1 deletions
|
|
@ -26,6 +26,9 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
|
|||
"so-called" monospace fonts such as Nimbus Mono that have non-programming
|
||||
ligatures.
|
||||
|
||||
- Fix a regression that broke setting background_opacity via remote control
|
||||
(:iss:`1895`)
|
||||
|
||||
|
||||
0.14.3 [2019-07-29]
|
||||
---------------------
|
||||
|
|
|
|||
|
|
@ -999,7 +999,7 @@ def cmd_set_background_opacity(global_opts, opts, args):
|
|||
def set_background_opacity(boss, window, payload):
|
||||
if not boss.opts.dynamic_background_opacity:
|
||||
raise OpacityError('You must turn on the dynamic_background_opacity option in kitty.conf to be able to set background opacity')
|
||||
windows = windows_for_payload(payload)
|
||||
windows = windows_for_payload(boss, window, payload)
|
||||
for os_window_id in {w.os_window_id for w in windows}:
|
||||
boss._set_os_window_background_opacity(os_window_id, payload['opacity'])
|
||||
# }}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue