Skip to content
  • Martin Flöser's avatar
    Add interactive position selection to screenshot screen under cursor · f9f7b84c
    Martin Flöser authored
    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.
    
    Reviewers: #kwin, #plasma_on_wayland, bgupta
    
    Subscribers: plasma-devel, kwin
    
    Tags: #plasma_on_wayland, #kwin
    
    Differential Revision: https://phabricator.kde.org/D3475
    f9f7b84c