<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - spice client doesn't inhibit screensaver properly"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=34793#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - spice client doesn't inhibit screensaver properly"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=34793">bug 34793</a>
              from <span class="vcard"><a class="email" href="mailto:freedesktop-bugzilla@dm.cobite.com" title="David Mansfield <freedesktop-bugzilla@dm.cobite.com>"> <span class="fn">David Mansfield</span></a>
</span></b>
        <pre>I've been pointed (correctly) to this bug from the list.  My issue adds another
wrinkle.  I run spice full-screen on one monitor (actually two) but the other
monitor is "local".  So inhibiting the screensaver means leaving all that
information visible - indefinitely.

Additionally, since there is no activity being sent to local screensaver, the
minute the mouse moves out of the "spice monitor" the screensaver locks, even
though I typed a key 1 second ago.

Maybe this all works in GNOME, but I use MATE.  I should test it.  Anyway,
since this bug is open, I assume it's still a problem everywhere.

I think two things fix this:

1) "poke" the local screensaver when there is "activity" in the spice window. 
this could be a) every mouse and keyboard event, b) once per "time quantum", or
c)"just-in-time" before local screensaver locks, but I think c) sounds
horrendously difficult for no benefit

2) via the guest agent, integrate with guest screensaver.  when it blanks
and/or locks, release mouse/keyboard grab.  if the local screensaver is ready,
it will immediately lock simultaneously.  Yes, the user will have a double
screen-unlock to deal with. Maybe another agent message could take care of that
and unlock the guest screensaver when local is unlocked, but that is a feature
for another day.

One additionaly thing: the guest agent should lock the guest screensaver on
disconnect.</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>