Skip to content

Commit

Permalink
Always use snipping area with background under macOs
Browse files Browse the repository at this point in the history
  • Loading branch information
DamirPorobic committed Mar 12, 2019
1 parent 2e71dce commit 5053829
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/backend/imageGrabber/MacImageGrabber.cpp
Expand Up @@ -45,4 +45,10 @@ ImageWithPosition MacImageGrabber::getCursorWithPosition() const
return {};
}

bool MacImageGrabber::isSnippingAreaBackgroundTransparent() const
{
// MacOs doesn't support transparent background
return false;
}


1 change: 1 addition & 0 deletions src/backend/imageGrabber/MacImageGrabber.h
Expand Up @@ -35,6 +35,7 @@ protected slots:
QRect fullScreenRect() const override;
QRect activeWindowRect() const override;
ImageWithPosition getCursorWithPosition() const override;
bool isSnippingAreaBackgroundTransparent() const override;

private:
MacWrapper *mMacWrapper;
Expand Down

0 comments on commit 5053829

Please sign in to comment.