THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened. Details are below. User who did this - Adam (g4c9z)
Attached to Project - awesome
Summary - awesome should close all applications before exiting
Task Type - Feature Request
Category - Core
Status - Unconfirmed
Assigned To - Operating System - Linux
Severity - Medium
Priority - Normal
Reported Version - git/master
Due in Version - Undecided
Due Date - Undecided
Details - When awesome.quit() is called, windows are forced-closed, which means 
if you were
editing a text file and had unsaved changes, etc., these changes would be lost.
I think it would be nicer if the window manager attempted to close each window
first, just as if the window had been closed manually, so that if the app wants
to ask the user for confirmation before exiting, it can.  Then it should exit 
only when all windows have actually been closed.

There should probaby be another API function which does this, or at least the default 
"quit" option in rc.lua should do it.  The code to close all windows is fairly 
straightforward:

for i, c in pairs(awful.client.visible(nil)) do
        c:kill()
end

However, I'm not sure how to wait until all windows have been closed before 
calling awesome.quit().

I'm using version 3.3.4, which isn't an option in the "Reported version".


More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=738

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 [email protected].

Reply via email to