[Differential] [Request, 304 lines] D3475: Add interactive position selection to screenshot screen under cursor

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Wed Nov 23 15:13:57 UTC 2016


graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland, bgupta.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.

REVISION SUMMARY
  A second interactive selection mode gets added to select a position on
  the screen. This is handled by the same input event filter as for the
  window selection. Just that instead of returning a window, it returns a
  QPoint.
  
  This allows to pick a point on the screen which we need to screenshot
  the screen under the mouse cursor and in future for color picking.
  
  The screenshot effect provides two new dbus methods to (interactively)
  select a screen or fullscreen. This allows spectacle to screenshot the
  (full) screen with still having the user in control.

REPOSITORY
  rKWIN KWin

BRANCH
  screenshot-screen-fullscreen

REVISION DETAIL
  https://phabricator.kde.org/D3475

AFFECTED FILES
  autotests/integration/window_selection_test.cpp
  autotests/mock_effectshandler.h
  effects.cpp
  effects.h
  effects/screenshot/screenshot.cpp
  effects/screenshot/screenshot.h
  input.cpp
  input.h
  libkwineffects/kwineffects.h
  platform.cpp
  platform.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, #kwin, #plasma_on_wayland, bgupta
Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161123/de07d435/attachment.html>


More information about the Plasma-devel mailing list