[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-frameworks-devel
Subject: D9510: [server] Add a method IdleInterface::simulateUserActivity
From: Martin_Flöser <noreply () phabricator ! kde ! org>
Date: 2017-12-26 19:25:34
Message-ID: differential-rev-PHID-DREV-n2yjc6eg6t54epjzfioh-req () phabricator ! kde ! org
[Download RAW message or body]
graesslin created this revision.
graesslin added reviewers: Frameworks, Plasma, KWin.
Restricted Application added projects: Plasma on Wayland, Frameworks.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
So far only the client was able to simulate user activity. This new
method allows the server to also simulate user activity on all created
idle timeouts. This is required by KWin to prevent idle timeouts when
the user interacts through KDE Connect's virtual touchpad. In that
situation the mouse pointer is used without updating the input time
stamp as it doesn't come from "real" input devices and thus the idle
timeout prevention is not activated.
REPOSITORY
R127 KWayland
BRANCH
idle-timeout-simulate-user-activity
REVISION DETAIL
https://phabricator.kde.org/D9510
AFFECTED FILES
autotests/client/test_idle.cpp
src/server/idle_interface.cpp
src/server/idle_interface.h
To: graesslin, #frameworks, #plasma, #kwin
Cc: plasma-devel, leezu, ZrenBot, ngraham, alexeymin, progwolff, lesliezhai, \
ali-mohamed, jensreuterberg, abetts, eliasp, sebas, apol, mart, hein
[Attachment #3 (unknown)]
<table><tr><td style="">graesslin created this revision.<br />graesslin added \
reviewers: Frameworks, Plasma, KWin.<br />Restricted Application added projects: \
Plasma on Wayland, Frameworks.<br />Restricted Application added a subscriber: \
plasma-devel. </td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px \
8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; \
background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); \
display: inline-block; border: 1px solid rgba(71,87,120,.2);" \
href="https://phabricator.kde.org/D9510" rel="noreferrer">View \
Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>So far \
only the client was able to simulate user activity. This new<br /> method allows the \
server to also simulate user activity on all created<br /> idle timeouts. This is \
required by KWin to prevent idle timeouts when<br /> the user interacts through KDE \
Connect's virtual touchpad. In that<br /> situation the mouse pointer is used \
without updating the input time<br /> stamp as it doesn't come from \
"real" input devices and thus the idle<br /> timeout prevention is not \
activated.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R127 \
KWayland</div></div></div><br \
/><div><strong>BRANCH</strong><div><div>idle-timeout-simulate-user-activity</div></div></div><br \
/><div><strong>REVISION DETAIL</strong><div><a \
href="https://phabricator.kde.org/D9510" \
rel="noreferrer">https://phabricator.kde.org/D9510</a></div></div><br \
/><div><strong>AFFECTED FILES</strong><div><div>autotests/client/test_idle.cpp<br /> \
src/server/idle_interface.cpp<br /> src/server/idle_interface.h</div></div></div><br \
/><div><strong>To: </strong>graesslin, Frameworks, Plasma, KWin<br /><strong>Cc: \
</strong>plasma-devel, leezu, ZrenBot, ngraham, alexeymin, progwolff, lesliezhai, \
ali-mohamed, jensreuterberg, abetts, eliasp, sebas, apol, mart, hein<br /></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic