diff options
author | Ken Moore <ken@ixsystems.com> | 2017-07-31 13:05:40 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-07-31 13:05:40 -0400 |
commit | 9b2a9129d27e5666c188a4c3488da87cf7bc3a7d (patch) | |
tree | a3624b5cea30606a764806ab8a70f62dfa742904 /src-qt5/desktop-utils/lumina-screenshot/main.cpp | |
parent | Fix up the grav screensaver a bit so it does not crash on close any more. (diff) | |
download | lumina-9b2a9129d27e5666c188a4c3488da87cf7bc3a7d.tar.gz lumina-9b2a9129d27e5666c188a4c3488da87cf7bc3a7d.tar.bz2 lumina-9b2a9129d27e5666c188a4c3488da87cf7bc3a7d.zip |
A few updates for lumina-screenshot:
When selecting a window/area, make the window transparent.
Ensure the single-instance system works for this apps (was not closing new process).
Diffstat (limited to 'src-qt5/desktop-utils/lumina-screenshot/main.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-screenshot/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-screenshot/main.cpp b/src-qt5/desktop-utils/lumina-screenshot/main.cpp index c1d178a2..c5a9e2c5 100644 --- a/src-qt5/desktop-utils/lumina-screenshot/main.cpp +++ b/src-qt5/desktop-utils/lumina-screenshot/main.cpp @@ -15,6 +15,7 @@ int main(int argc, char ** argv) unsetenv("QT_AUTO_SCREEN_SCALE_FACTOR"); LTHEME::LoadCustomEnvSettings(); LSingleApplication a(argc, argv, "l-screenshot"); + if(!a.isPrimaryProcess()){ return 0; } //LuminaThemeEngine theme(&a); a.setApplicationName("Take Screenshot"); |