qdesk 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.js +1 -1
- package/dist/screen-hue.js +7 -5
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -139,7 +139,7 @@ const listener = startListening({
|
|
|
139
139
|
}
|
|
140
140
|
else if (result === "activated") {
|
|
141
141
|
binding.name = getActiveWindowHandleAndName()?.name ?? binding.name; // warm the cache to speed up subsequent switches
|
|
142
|
-
console.log(`[
|
|
142
|
+
console.log(`[switch ${chord}] Switched to "${binding.name}"`);
|
|
143
143
|
}
|
|
144
144
|
else {
|
|
145
145
|
console.warn(`[switch ${chord}] Activation failed for "${binding.name}"`);
|
package/dist/screen-hue.js
CHANGED
|
@@ -22,7 +22,7 @@ const MagInitialize = magnification
|
|
|
22
22
|
const MagSetFullscreenColorEffect = magnification
|
|
23
23
|
? magnification.func("MagSetFullscreenColorEffect", "int", ["void *"])
|
|
24
24
|
: null;
|
|
25
|
-
let hasWarnedGammaFailure = false;
|
|
25
|
+
// let hasWarnedGammaFailure = false;
|
|
26
26
|
let hasWarnedMagFailure = false;
|
|
27
27
|
let magInitialized = false;
|
|
28
28
|
let activeHueBackend = "none";
|
|
@@ -121,10 +121,12 @@ export function setScreenHue(mode) {
|
|
|
121
121
|
activeHueBackend = "gamma";
|
|
122
122
|
return;
|
|
123
123
|
}
|
|
124
|
-
if (!hasWarnedGammaFailure) {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
124
|
+
// if (!hasWarnedGammaFailure) {
|
|
125
|
+
// hasWarnedGammaFailure = true;
|
|
126
|
+
// console.warn(
|
|
127
|
+
// "[warn] Gamma ramp unsupported on this display/driver, trying Magnification fallback.",
|
|
128
|
+
// );
|
|
129
|
+
// }
|
|
128
130
|
if (tryApplyMagnifierHue(mode)) {
|
|
129
131
|
activeHueBackend = "magnifier";
|
|
130
132
|
return;
|