[API][DecoratedWindow] Add option to avoid destroying the window when the close button is clicked
Bug #1002039 reported by
Victor Martinez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Granite |
Fix Released
|
High
|
Victor Martinez |
Bug Description
In order to achieve better performance and avoid constant redrawing, sometimes it's better to hide a window instead of destroying/
The decorated window API needs an option to hide the window, instead of destroying it, when the close button is clicked. I suggest something like:
public bool hide_on_close { get; set; default = false; }
Related branches
lp:~victored/granite/decorated-window-api-fixes
- xapantu (community): Approve
-
Diff: 217 lines (+67/-63)1 file modifiedlib/Widgets/DecoratedWindow.vala (+67/-63)
Changed in granite: | |
assignee: | nobody → Victor Eduardo (victored) |
status: | Confirmed → In Progress |
Changed in granite: | |
status: | In Progress → Fix Committed |
Changed in granite: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Marking as high-priority since Noise needs it.