mirror of
https://github.com/nikdoof/oblogout.git
synced 2025-12-22 06:49:25 +00:00
Now uses the opacity settings from the config file as part of the Cairo
rendering.
This commit is contained in:
@@ -145,7 +145,7 @@ class OpenboxLogout():
|
||||
cr.paint()
|
||||
|
||||
(width, height) = widget.get_size()
|
||||
cr.set_source_rgba(0, 0, 0, .5)
|
||||
cr.set_source_rgba(0, 0, 0, float(self.opacity)/100)
|
||||
|
||||
cr.rectangle(0, 0, width, height)
|
||||
cr.fill()
|
||||
|
||||
Reference in New Issue
Block a user