mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-28 04:20:03 +02:00
xsecurelock: when unable to refresh background, do nothing
This commit is contained in:
parent
e54d253f6c
commit
c319ffae21
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ def on_background_change(monitor, f1, f2, event, ctx):
|
||||||
try:
|
try:
|
||||||
new_background = GdkPixbuf.Pixbuf.new_from_file(ctx.background_image)
|
new_background = GdkPixbuf.Pixbuf.new_from_file(ctx.background_image)
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
return
|
||||||
ctx.background = new_background
|
ctx.background = new_background
|
||||||
ctx.window.queue_draw()
|
ctx.window.queue_draw()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue