THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. A new Flyspray task has been opened. Details are below.
User who did this - Heinrich (heithe) Attached to Project - awesome Summary - minimize button for client titlebar - patch included Task Type - Feature Request Category - awful Status - Unconfirmed Assigned To - Operating System - All Severity - Very Low Priority - Normal Reported Version - git/master Due in Version - Undecided Due Date - Undecided Details - I know this can easily be added in the users rc.lua but I think a better place would be the titlebar.lua where the other general buttons (maximize, close, ..) are created. What do you think? --- diff --git a/lib/awful/titlebar.lua.in b/lib/awful/titlebar.lua.in index b4e867b..3c62018 100644 --- a/lib/awful/titlebar.lua.in +++ b/lib/awful/titlebar.lua.in @@ -250,6 +250,12 @@ function titlebar.widget.maximizedbutton(c) return widget end +--- Create a new minimize button for a client. +-- @param c The client for which the button is wanted. +function titlebar.widget.minimizebutton(c) + return titlebar.widget.button(c, "minimize", function() return "" end, function(c) c.minimized = true end) +end + --- Create a new closing button for a client. -- @param c The client for which the button is wanted. function titlebar.widget.closebutton(c) --- More information can be found at the following URL: https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1193 You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above. -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.