Skip to content

Commit 8dd5fdc

Browse files
committed
Enable GUI event buffering for new Whonix-Workstation qubes
1 parent 58098d7 commit 8dd5fdc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

qubeswhonix/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,15 @@ def on_features_request(self, vm, _event, untrusted_features):
8989

9090
@qubes.ext.handler('domain-load')
9191
def on_domain_load(self, vm, _event):
92-
'''Retroactively add tags to sys-whonix and anon-whonix'''
92+
'''Retroactively add tags to sys-whonix and anon-whonix. Also enable
93+
event buffering.
94+
'''
9395
if hasattr(vm, 'template') and 'whonix-gw' in vm.template.features \
9496
and 'anon-gateway' not in vm.tags:
9597
vm.tags.add('anon-gateway')
9698
if hasattr(vm, 'template') and 'whonix-ws' in vm.template.features \
9799
and 'anon-vm' not in vm.tags:
98100
vm.tags.add('anon-vm')
101+
if hasattr(vm, 'template') and 'whonix-ws' in vm.template.features \
102+
and 'gui-events-max-delay' not in vm.features:
103+
vm.features['gui-events-max-delay'] = 100

0 commit comments

Comments
 (0)