qdesk 1.0.7 → 1.0.8

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/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(`[binding ${chord}] Switched to "${binding.name}"`);
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}"`);
@@ -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
- hasWarnedGammaFailure = true;
126
- console.warn("[warn] Gamma ramp unsupported on this display/driver, trying Magnification fallback.");
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qdesk",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",