Merge lp:~nobuto/notify-osd/fix_dnd_is_screensaver_inhibited into lp:notify-osd
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Iain Lane on 2015-10-13 | ||||
| Approved revision: | 489 | ||||
| Merged at revision: | 494 | ||||
| Proposed branch: | lp:~nobuto/notify-osd/fix_dnd_is_screensaver_inhibited | ||||
| Merge into: | lp:notify-osd | ||||
| Diff against target: |
178 lines (+62/-44) 4 files modified
debian/changelog (+7/-0) src/dnd.c (+52/-41) src/dnd.h (+1/-1) tests/test-dnd.c (+2/-2) |
||||
| To merge this branch: | bzr merge lp:~nobuto/notify-osd/fix_dnd_is_screensaver_inhibited | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Iain Lane | 2015-04-08 | Approve on 2015-10-13 | |
|
Review via email:
|
|||
Description of the Change
This merge proposal fixes LP: #1440825.
However the dnd_is_
[1] https:/
[2] https:/
I'm not sure which is the right way. A cleaner way to inhibit notifications(e.g. example org.freedesktop
| Lars Karlitski (larsu) wrote : | # |
| Marco Trevisan (Treviño) (3v1n0) wrote : | # |
> I'm not sure. Inhibiting the session from going idle doesn't necessarily mean
> "don't show notifications" to me...
Yeah, I agree. But still this is what was supposed to happen before (so not sure we should resume it).
However, it is even true that 99% of apps that inhibit the screensaver are media-players which might use this strategy.
Do we have a list of apps using this API?
Having an inhibit "notifications" (API is extendible) would be nicer, though.
Also, I'm not sure whether unity does support this currently (in case we've to fix it).
| Marco Trevisan (Treviño) (3v1n0) wrote : | # |
> Also, I'm not sure whether unity does support this currently (in case we've to
> fix it).
Ok, it seems unity works fine when inhibited, but this is not checked when the screensaver is launched by logind or manually (but that's not idle).
| Iain Lane (laney) wrote : | # |
I tried it, it works good - the code seems fine. Let's get this in for wily.
Thanks!


I'm not sure. Inhibiting the session from going idle doesn't necessarily mean "don't show notifications" to me...