<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add window-less "xdg-screensaver suspend""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98616">98616</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Add window-less "xdg-screensaver suspend"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Portland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>xdg-utils
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>portland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rrt@sc3d.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Sometimes an application, such as caffeine-indicator, which allows the user
manually to inhibit the screensaver, does not have a window to use with
xdg-screensaver suspend.

In such a case, or even in others, it would be convenient to use a process as
the "locking entity".

Suggestion:

xdg-screensaver suspend # note: no window ID

should start a process that suspends the screensaver, and resumes it on SIGHUP,
SIGINT, or anything else it can catch.

Indeed, for most modern desktops, even kill -9'ing the process will not leave
the screensaver inhibited, as the "resume" action is a no-op.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>