Reset QT_WAYLAND_DISABLE_WINDOWDECORATION.
This commit is contained in:
parent
f83f4a6a1a
commit
9561b7b02c
@ -420,6 +420,8 @@ def _init_modules(args, crash_handler):
|
||||
log.init.debug("Misc initialization...")
|
||||
if config.get('ui', 'hide-wayland-decoration'):
|
||||
os.environ['QT_WAYLAND_DISABLE_WINDOWDECORATION'] = '1'
|
||||
else:
|
||||
os.environ.pop('QT_WAYLAND_DISABLE_WINDOWDECORATION', None)
|
||||
_maybe_hide_mouse_cursor()
|
||||
objreg.get('config').changed.connect(_maybe_hide_mouse_cursor)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user