mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-02 06:03:47 +00:00
0501c5d8c4
When the second instance is launched it receives an activation token per environment variable We need to pass that token to the first instance so that it can use it to raise itself Also properly use startup ids for this on X11 instead of relying on forceActiveWindow, which is a hack
12 lines
368 B
CMake
12 lines
368 B
CMake
/* Defines if force the use DRM in okular */
|
|
#define OKULAR_FORCE_DRM ${_OKULAR_FORCE_DRM}
|
|
|
|
/* Defines if the purpose framework is available */
|
|
#define PURPOSE_FOUND ${PURPOSE_FOUND}
|
|
|
|
/* Defines whether the malloc_trim method from malloc.h is available */
|
|
#cmakedefine01 HAVE_MALLOC_TRIM
|
|
|
|
/* Defines whether we are building with X11 support */
|
|
#cmakedefine01 HAVE_X11
|