Skip to content

All your computers and your phone/iPhone, working as one desk. Screens, apps, files, clipboard, calls, texts, notifications, mouse and keyboard, shared between Mac, Windows, Linux , Android, Web and ios / ipados . Free and open source. No account, no cloud, and no shared network needed.

Cursor portals card on Windows and Linux too (#398): the same window.CursorPortalsUI check hid it there

inukaasithb0c41dab5b40
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 574ff600..a2bac60c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -27,9 +27,14 @@ Everyone who sent code, reported a problem or tested is thanked under their vers
Choose a page until one is picked. A tile whose page was removed waits for another the same way.
- **Deck brightness on Windows laptops** (#395): the built-in display is also found through Windows'
own brightness (WMI), which most Windows 11 laptops answer, when the display driver's doesn't.
-- **Multi-device: the Cursor portals card shows on the Mouse page** (#398, #399 by
- [@pengusto](https://github.com/pengusto)), and the Jump to a device card is translated and padded
+- **The Cursor portals card shows on the Mouse page** (#398, #399 by
+ [@pengusto](https://github.com/pengusto)): it was missing in Multi-device on the Mac, and on every
+ Windows and Linux Mouse page. And the Jump to a device card is translated and padded
(#400 by [@pengusto](https://github.com/pengusto)).
+- **Shortcuts from Logi Options+, Stream Deck and other tools keep their modifiers** when they go to
+ another computer from a Mac (#396, #397 by [@hughesyadaddy](https://github.com/hughesyadaddy)).
+- **Windows: the pointer keeps up with fast moves** over the fast input lane when Windows is slow to
+ take each move (#392, #393 by [@hughesyadaddy](https://github.com/hughesyadaddy)).
## 3.3.0
diff --git a/linux/mesh/ui-cursor.js b/linux/mesh/ui-cursor.js
index 07f4530c..f84cbd19 100644
--- a/linux/mesh/ui-cursor.js
+++ b/linux/mesh/ui-cursor.js
@@ -18,7 +18,7 @@ UI.tab({
badge: (s) => (s.kvm.mouse && s.kvm.linked && !s.kvmState.paused ? 'on' : ''),
build(body) {
const { el, api } = UI;
- const portals = window.CursorPortalsUI ? CursorPortalsUI.create() : null; // Cursor portals (shared/ui-cursor-portals.js)
+ const portals = typeof CursorPortalsUI !== "undefined" ? CursorPortalsUI.create() : null; // Cursor portals (shared/ui-cursor-portals.js)
const t = (...args) => I18n.t(...args);
const set = (partial) => api.setKvm(partial);
diff --git a/linux/ui-cursor.js b/linux/ui-cursor.js
index ea4f8b26..f1fa6828 100644
--- a/linux/ui-cursor.js
+++ b/linux/ui-cursor.js
@@ -18,7 +18,7 @@ UI.tab({
badge: (s) => (s.kvm.mouse && s.kvm.linked && !s.kvmState.paused ? 'on' : ''),
build(body) {
const { el, api } = UI;
- const portals = window.CursorPortalsUI ? CursorPortalsUI.create() : null; // Cursor portals (shared/ui-cursor-portals.js)
+ const portals = typeof CursorPortalsUI !== "undefined" ? CursorPortalsUI.create() : null; // Cursor portals (shared/ui-cursor-portals.js)
const t = (...args) => I18n.t(...args);
const set = (partial) => api.setKvm(partial);
// kvm.layout says where the PC is seen from the Mac; the Mac is on the opposite side of the PC.
diff --git a/windows/mesh/ui-cursor.js b/windows/mesh/ui-cursor.js
index 4273e436..d72bf182 100644
--- a/windows/mesh/ui-cursor.js
+++ b/windows/mesh/ui-cursor.js
@@ -18,7 +18,7 @@ UI.tab({
badge: (s) => (s.kvm.mouse && s.kvm.linked && !s.kvmState.paused ? 'on' : ''),
build(body) {
const { el, api } = UI;
- const portals = window.CursorPortalsUI ? CursorPortalsUI.create() : null; // Cursor portals (shared/ui-cursor-portals.js)
+ const portals = typeof CursorPortalsUI !== "undefined" ? CursorPortalsUI.create() : null; // Cursor portals (shared/ui-cursor-portals.js)
const t = (...args) => I18n.t(...args);
const set = (partial) => api.setKvm(partial);
diff --git a/windows/ui-cursor.js b/windows/ui-cursor.js
index eaa0a9fe..32114bbe 100644
--- a/windows/ui-cursor.js
+++ b/windows/ui-cursor.js
@@ -18,7 +18,7 @@ UI.tab({
badge: (s) => (s.kvm.mouse && s.kvm.linked && !s.kvmState.paused ? 'on' : ''),
build(body) {
const { el, api } = UI;
- const portals = window.CursorPortalsUI ? CursorPortalsUI.create() : null; // Cursor portals (shared/ui-cursor-portals.js)
+ const portals = typeof CursorPortalsUI !== "undefined" ? CursorPortalsUI.create() : null; // Cursor portals (shared/ui-cursor-portals.js)
const t = (...args) => I18n.t(...args);
const set = (partial) => api.setKvm(partial);
// kvm.layout says where the PC is seen from the Mac; the Mac is on the opposite side of the PC.