Add all displays follow mode option, v2.0.2

This commit is contained in:
wheaney 2025-03-06 19:45:26 -08:00
parent 076c94a8d0
commit 7630a8b5c3
19 changed files with 239 additions and 98 deletions

View File

@ -1 +1 @@
2.0.1
2.0.2

View File

@ -118,6 +118,13 @@ export const DeviceDataStream = GObject.registerClass({
GObject.ParamFlags.READWRITE,
false
),
'legacy-follow-mode': GObject.ParamSpec.boolean(
'legacy-follow-mode',
'Legacy follow mode',
'Whether the legacy follow mode is enabled',
GObject.ParamFlags.READWRITE,
false
),
'debug-no-device': GObject.ParamSpec.boolean(
'debug-no-device',
'Debug without device',
@ -191,7 +198,7 @@ export const DeviceDataStream = GObject.registerClass({
const version = dataViewUint8(dataView, VERSION);
const enabled = dataViewUint8(dataView, ENABLED) !== 0 && version === DATA_LAYOUT_VERSION && validData;
let imuData = dataViewFloatArray(dataView, IMU_QUAT_DATA);
let smoothFollowEnabled = dataViewUint8(dataView, SMOOTH_FOLLOW_ENABLED) !== 0;
let smoothFollowEnabled = !this.legacy_follow_mode && dataViewUint8(dataView, SMOOTH_FOLLOW_ENABLED) !== 0;
let smoothFollowOrigin = dataViewFloatArray(dataView, SMOOTH_FOLLOW_ORIGIN_DATA);
const imuResetState = enabled && validData && imuData[0] === 0.0 && imuData[1] === 0.0 && imuData[2] === 0.0 && imuData[3] === 1.0;
const customBannerEnabled = dataViewUint8(dataView, CUSTOM_BANNER_ENABLED) !== 0;

View File

@ -76,6 +76,7 @@ export default class BreezyDesktopExtension extends Extension {
this.settings.bind('use-optimal-monitor-config',this._monitor_manager, 'use-optimal-monitor-config', Gio.SettingsBindFlags.DEFAULT);
this.settings.bind('headset-as-primary', this._monitor_manager, 'headset-as-primary', Gio.SettingsBindFlags.DEFAULT);
this.settings.bind('disable-physical-displays', this._monitor_manager, 'disable-physical-displays', Gio.SettingsBindFlags.DEFAULT);
this.settings.bind('legacy-follow-mode', Globals.data_stream, 'legacy-follow-mode', Gio.SettingsBindFlags.DEFAULT);
this.settings.bind('debug-no-device', Globals.data_stream, 'debug-no-device', Gio.SettingsBindFlags.DEFAULT);
this._breezy_desktop_running_connection = Globals.data_stream.connect('notify::breezy-desktop-running',

View File

@ -199,6 +199,15 @@
Disable physical displays when XR effect is enabled
</description>
</key>
<key name="legacy-follow-mode" type="b">
<default>
false
</default>
<summary>Legacy follow mode</summary>
<description>
Enable legacy follow mode
</description>
</key>
<key name="developer-mode" type="b">
<default>
false

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-06 15:32-0800\n"
"POT-Creation-Date: 2025-03-06 19:45-0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -27,33 +27,33 @@ msgstr ""
msgid "This feature is not currently supported for your device."
msgstr ""
#: src/connecteddevice.py:125
#: src/connecteddevice.py:127
msgid "Set Focused Display Distance"
msgstr ""
#: src/connecteddevice.py:126
#: src/connecteddevice.py:128
msgid "Use a closer value so the display zooms in when you look at it."
msgstr ""
#: src/connecteddevice.py:133
#: src/connecteddevice.py:135
msgid "Set All Displays Distance"
msgstr ""
#: src/connecteddevice.py:134
#: src/connecteddevice.py:136
msgid "Use a farther value so the displays are zoomed out when you look away."
msgstr ""
#: src/connecteddevice.py:232
#: src/connecteddevice.py:234
msgid ""
"Unable to add virtual displays on this machine. xdg-desktop-portal is "
"required."
msgstr ""
#: src/connecteddevice.py:266
#: src/connecteddevice.py:268
msgid "Focused display"
msgstr ""
#: src/connecteddevice.py:272
#: src/connecteddevice.py:274
msgid "All displays"
msgstr ""
@ -427,6 +427,14 @@ msgstr ""
msgid "Enables double-tap to recenter and triple-tap to recalibrate."
msgstr ""
#: src/gtk/connected-device.ui:606
msgid "All displays follow mode"
msgstr ""
#: src/gtk/connected-device.ui:607
msgid "Follow mode moves all displays, not just the focused one."
msgstr ""
#: src/gtk/display-distance-dialog.ui:9
msgid "Show full range"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-06 15:32-0800\n"
"POT-Creation-Date: 2025-03-06 19:45-0800\n"
"PO-Revision-Date: 2024-08-02 20:54-0700\n"
"Last-Translator: <wayne@xronlinux.com>\n"
"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
@ -29,36 +29,36 @@ msgstr ""
msgid "This feature is not currently supported for your device."
msgstr "Diese Funktion wird von Ihrem Gerät derzeit nicht unterstützt."
#: src/connecteddevice.py:125
#: src/connecteddevice.py:127
#, fuzzy
msgid "Set Focused Display Distance"
msgstr "Display-Entfernung"
#: src/connecteddevice.py:126
#: src/connecteddevice.py:128
msgid "Use a closer value so the display zooms in when you look at it."
msgstr ""
#: src/connecteddevice.py:133
#: src/connecteddevice.py:135
#, fuzzy
msgid "Set All Displays Distance"
msgstr "Display-Entfernung"
#: src/connecteddevice.py:134
#: src/connecteddevice.py:136
msgid "Use a farther value so the displays are zoomed out when you look away."
msgstr ""
#: src/connecteddevice.py:232
#: src/connecteddevice.py:234
msgid ""
"Unable to add virtual displays on this machine. xdg-desktop-portal is "
"required."
msgstr ""
#: src/connecteddevice.py:266
#: src/connecteddevice.py:268
#, fuzzy
msgid "Focused display"
msgstr "Display-Entfernung"
#: src/connecteddevice.py:272
#: src/connecteddevice.py:274
#, fuzzy
msgid "All displays"
msgstr "Gebogenes Display"
@ -454,6 +454,15 @@ msgstr ""
msgid "Enables double-tap to recenter and triple-tap to recalibrate."
msgstr ""
#: src/gtk/connected-device.ui:606
#, fuzzy
msgid "All displays follow mode"
msgstr "Gebogenes Display"
#: src/gtk/connected-device.ui:607
msgid "Follow mode moves all displays, not just the focused one."
msgstr ""
#: src/gtk/display-distance-dialog.ui:9
msgid "Show full range"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-06 15:32-0800\n"
"POT-Creation-Date: 2025-03-06 19:45-0800\n"
"PO-Revision-Date: 2024-08-02 20:55-0700\n"
"Last-Translator: <wayne@xronlinux.com>\n"
"Language-Team: Spanish <es@tp.org.es>\n"
@ -28,36 +28,36 @@ msgstr ""
msgid "This feature is not currently supported for your device."
msgstr "Esta función no es compatible con tu dispositivo en este momento."
#: src/connecteddevice.py:125
#: src/connecteddevice.py:127
#, fuzzy
msgid "Set Focused Display Distance"
msgstr "Distancia de la pantalla"
#: src/connecteddevice.py:126
#: src/connecteddevice.py:128
msgid "Use a closer value so the display zooms in when you look at it."
msgstr ""
#: src/connecteddevice.py:133
#: src/connecteddevice.py:135
#, fuzzy
msgid "Set All Displays Distance"
msgstr "Distancia de la pantalla"
#: src/connecteddevice.py:134
#: src/connecteddevice.py:136
msgid "Use a farther value so the displays are zoomed out when you look away."
msgstr ""
#: src/connecteddevice.py:232
#: src/connecteddevice.py:234
msgid ""
"Unable to add virtual displays on this machine. xdg-desktop-portal is "
"required."
msgstr ""
#: src/connecteddevice.py:266
#: src/connecteddevice.py:268
#, fuzzy
msgid "Focused display"
msgstr "Distancia de la pantalla"
#: src/connecteddevice.py:272
#: src/connecteddevice.py:274
#, fuzzy
msgid "All displays"
msgstr "Pantalla curvada"
@ -454,6 +454,15 @@ msgstr ""
msgid "Enables double-tap to recenter and triple-tap to recalibrate."
msgstr ""
#: src/gtk/connected-device.ui:606
#, fuzzy
msgid "All displays follow mode"
msgstr "Pantalla curvada"
#: src/gtk/connected-device.ui:607
msgid "Follow mode moves all displays, not just the focused one."
msgstr ""
#: src/gtk/display-distance-dialog.ui:9
msgid "Show full range"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-06 15:32-0800\n"
"POT-Creation-Date: 2025-03-06 19:45-0800\n"
"PO-Revision-Date: 2024-08-02 20:54-0700\n"
"Last-Translator: <wayne@xronlinux.com>\n"
"Language-Team: French <traduc@traduc.org>\n"
@ -31,36 +31,36 @@ msgstr ""
"Cette fonctionnalité n'est actuellement pas prise en charge par votre "
"appareil."
#: src/connecteddevice.py:125
#: src/connecteddevice.py:127
#, fuzzy
msgid "Set Focused Display Distance"
msgstr "Distance d'affichage"
#: src/connecteddevice.py:126
#: src/connecteddevice.py:128
msgid "Use a closer value so the display zooms in when you look at it."
msgstr ""
#: src/connecteddevice.py:133
#: src/connecteddevice.py:135
#, fuzzy
msgid "Set All Displays Distance"
msgstr "Distance d'affichage"
#: src/connecteddevice.py:134
#: src/connecteddevice.py:136
msgid "Use a farther value so the displays are zoomed out when you look away."
msgstr ""
#: src/connecteddevice.py:232
#: src/connecteddevice.py:234
msgid ""
"Unable to add virtual displays on this machine. xdg-desktop-portal is "
"required."
msgstr ""
#: src/connecteddevice.py:266
#: src/connecteddevice.py:268
#, fuzzy
msgid "Focused display"
msgstr "Distance d'affichage"
#: src/connecteddevice.py:272
#: src/connecteddevice.py:274
#, fuzzy
msgid "All displays"
msgstr "Affichage incurvé"
@ -457,6 +457,15 @@ msgstr ""
msgid "Enables double-tap to recenter and triple-tap to recalibrate."
msgstr ""
#: src/gtk/connected-device.ui:606
#, fuzzy
msgid "All displays follow mode"
msgstr "Affichage incurvé"
#: src/gtk/connected-device.ui:607
msgid "Follow mode moves all displays, not just the focused one."
msgstr ""
#: src/gtk/display-distance-dialog.ui:9
msgid "Show full range"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-06 15:32-0800\n"
"POT-Creation-Date: 2025-03-06 19:45-0800\n"
"PO-Revision-Date: 2024-08-02 21:14-0700\n"
"Last-Translator: <wayne@xronlinux.com>\n"
"Language-Team: Italian <tp@lists.linux.it>\n"
@ -29,36 +29,36 @@ msgstr ""
msgid "This feature is not currently supported for your device."
msgstr "Questa funzione non è attualmente supportata sul tuo dispositivo."
#: src/connecteddevice.py:125
#: src/connecteddevice.py:127
#, fuzzy
msgid "Set Focused Display Distance"
msgstr "Distanza del display"
#: src/connecteddevice.py:126
#: src/connecteddevice.py:128
msgid "Use a closer value so the display zooms in when you look at it."
msgstr ""
#: src/connecteddevice.py:133
#: src/connecteddevice.py:135
#, fuzzy
msgid "Set All Displays Distance"
msgstr "Distanza del display"
#: src/connecteddevice.py:134
#: src/connecteddevice.py:136
msgid "Use a farther value so the displays are zoomed out when you look away."
msgstr ""
#: src/connecteddevice.py:232
#: src/connecteddevice.py:234
msgid ""
"Unable to add virtual displays on this machine. xdg-desktop-portal is "
"required."
msgstr ""
#: src/connecteddevice.py:266
#: src/connecteddevice.py:268
#, fuzzy
msgid "Focused display"
msgstr "Distanza del display"
#: src/connecteddevice.py:272
#: src/connecteddevice.py:274
#, fuzzy
msgid "All displays"
msgstr "Display curvo"
@ -456,6 +456,15 @@ msgstr ""
msgid "Enables double-tap to recenter and triple-tap to recalibrate."
msgstr ""
#: src/gtk/connected-device.ui:606
#, fuzzy
msgid "All displays follow mode"
msgstr "Display curvo"
#: src/gtk/connected-device.ui:607
msgid "Follow mode moves all displays, not just the focused one."
msgstr ""
#: src/gtk/display-distance-dialog.ui:9
msgid "Show full range"
msgstr ""

View File

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-06 15:32-0800\n"
"POT-Creation-Date: 2025-03-06 19:45-0800\n"
"PO-Revision-Date: 2024-08-02 20:55-0700\n"
"Last-Translator: <wayne@xronlinux.com>\n"
"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
@ -31,36 +31,36 @@ msgstr "メガネを3Dモードに切り替え、表示の幅を2倍にします
msgid "This feature is not currently supported for your device."
msgstr "現在接続されているデバイスはこの機能に対応していません。"
#: src/connecteddevice.py:125
#: src/connecteddevice.py:127
#, fuzzy
msgid "Set Focused Display Distance"
msgstr "ディスプレイ距離"
#: src/connecteddevice.py:126
#: src/connecteddevice.py:128
msgid "Use a closer value so the display zooms in when you look at it."
msgstr ""
#: src/connecteddevice.py:133
#: src/connecteddevice.py:135
#, fuzzy
msgid "Set All Displays Distance"
msgstr "ディスプレイ距離"
#: src/connecteddevice.py:134
#: src/connecteddevice.py:136
msgid "Use a farther value so the displays are zoomed out when you look away."
msgstr ""
#: src/connecteddevice.py:232
#: src/connecteddevice.py:234
msgid ""
"Unable to add virtual displays on this machine. xdg-desktop-portal is "
"required."
msgstr ""
#: src/connecteddevice.py:266
#: src/connecteddevice.py:268
#, fuzzy
msgid "Focused display"
msgstr "ディスプレイ距離"
#: src/connecteddevice.py:272
#: src/connecteddevice.py:274
#, fuzzy
msgid "All displays"
msgstr "曲面ディスプレイ"
@ -454,6 +454,15 @@ msgstr ""
msgid "Enables double-tap to recenter and triple-tap to recalibrate."
msgstr ""
#: src/gtk/connected-device.ui:606
#, fuzzy
msgid "All displays follow mode"
msgstr "曲面ディスプレイ"
#: src/gtk/connected-device.ui:607
msgid "Follow mode moves all displays, not just the focused one."
msgstr ""
#: src/gtk/display-distance-dialog.ui:9
msgid "Show full range"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-06 15:32-0800\n"
"POT-Creation-Date: 2025-03-06 19:45-0800\n"
"PO-Revision-Date: 2024-08-16 10:26-0700\n"
"Last-Translator: <wayne@xronlinux.com>\n"
"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
@ -28,33 +28,33 @@ msgstr ""
msgid "This feature is not currently supported for your device."
msgstr ""
#: src/connecteddevice.py:125
#: src/connecteddevice.py:127
msgid "Set Focused Display Distance"
msgstr ""
#: src/connecteddevice.py:126
#: src/connecteddevice.py:128
msgid "Use a closer value so the display zooms in when you look at it."
msgstr ""
#: src/connecteddevice.py:133
#: src/connecteddevice.py:135
msgid "Set All Displays Distance"
msgstr ""
#: src/connecteddevice.py:134
#: src/connecteddevice.py:136
msgid "Use a farther value so the displays are zoomed out when you look away."
msgstr ""
#: src/connecteddevice.py:232
#: src/connecteddevice.py:234
msgid ""
"Unable to add virtual displays on this machine. xdg-desktop-portal is "
"required."
msgstr ""
#: src/connecteddevice.py:266
#: src/connecteddevice.py:268
msgid "Focused display"
msgstr ""
#: src/connecteddevice.py:272
#: src/connecteddevice.py:274
msgid "All displays"
msgstr ""
@ -428,6 +428,14 @@ msgstr ""
msgid "Enables double-tap to recenter and triple-tap to recalibrate."
msgstr ""
#: src/gtk/connected-device.ui:606
msgid "All displays follow mode"
msgstr ""
#: src/gtk/connected-device.ui:607
msgid "Follow mode moves all displays, not just the focused one."
msgstr ""
#: src/gtk/display-distance-dialog.ui:9
msgid "Show full range"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-06 15:32-0800\n"
"POT-Creation-Date: 2025-03-06 19:45-0800\n"
"PO-Revision-Date: 2024-08-19 09:39-0700\n"
"Last-Translator: <wayne@xronlinux.com>\n"
"Language-Team: Brazilian Portuguese <ldpbr-"
@ -30,36 +30,36 @@ msgstr ""
msgid "This feature is not currently supported for your device."
msgstr "Este recurso não é atualmente suportado para o seu dispositivo."
#: src/connecteddevice.py:125
#: src/connecteddevice.py:127
#, fuzzy
msgid "Set Focused Display Distance"
msgstr "Distância da tela"
#: src/connecteddevice.py:126
#: src/connecteddevice.py:128
msgid "Use a closer value so the display zooms in when you look at it."
msgstr ""
#: src/connecteddevice.py:133
#: src/connecteddevice.py:135
#, fuzzy
msgid "Set All Displays Distance"
msgstr "Distância da tela"
#: src/connecteddevice.py:134
#: src/connecteddevice.py:136
msgid "Use a farther value so the displays are zoomed out when you look away."
msgstr ""
#: src/connecteddevice.py:232
#: src/connecteddevice.py:234
msgid ""
"Unable to add virtual displays on this machine. xdg-desktop-portal is "
"required."
msgstr ""
#: src/connecteddevice.py:266
#: src/connecteddevice.py:268
#, fuzzy
msgid "Focused display"
msgstr "Distância da tela"
#: src/connecteddevice.py:272
#: src/connecteddevice.py:274
#, fuzzy
msgid "All displays"
msgstr "Tela curva"
@ -452,6 +452,15 @@ msgstr ""
msgid "Enables double-tap to recenter and triple-tap to recalibrate."
msgstr ""
#: src/gtk/connected-device.ui:606
#, fuzzy
msgid "All displays follow mode"
msgstr "Tela curva"
#: src/gtk/connected-device.ui:607
msgid "Follow mode moves all displays, not just the focused one."
msgstr ""
#: src/gtk/display-distance-dialog.ui:9
msgid "Show full range"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-06 15:32-0800\n"
"POT-Creation-Date: 2025-03-06 19:45-0800\n"
"PO-Revision-Date: 2024-08-17 09:39-0700\n"
"Last-Translator: <wayne@xronlinux.com>\n"
"Language-Team: Russian <gnu@d07.ru>\n"
@ -29,36 +29,36 @@ msgstr ""
msgid "This feature is not currently supported for your device."
msgstr "Эта функция в настоящее время не поддерживается для вашего устройства."
#: src/connecteddevice.py:125
#: src/connecteddevice.py:127
#, fuzzy
msgid "Set Focused Display Distance"
msgstr "Расстояние дисплея"
#: src/connecteddevice.py:126
#: src/connecteddevice.py:128
msgid "Use a closer value so the display zooms in when you look at it."
msgstr ""
#: src/connecteddevice.py:133
#: src/connecteddevice.py:135
#, fuzzy
msgid "Set All Displays Distance"
msgstr "Расстояние дисплея"
#: src/connecteddevice.py:134
#: src/connecteddevice.py:136
msgid "Use a farther value so the displays are zoomed out when you look away."
msgstr ""
#: src/connecteddevice.py:232
#: src/connecteddevice.py:234
msgid ""
"Unable to add virtual displays on this machine. xdg-desktop-portal is "
"required."
msgstr ""
#: src/connecteddevice.py:266
#: src/connecteddevice.py:268
#, fuzzy
msgid "Focused display"
msgstr "Расстояние дисплея"
#: src/connecteddevice.py:272
#: src/connecteddevice.py:274
#, fuzzy
msgid "All displays"
msgstr "Изогнутый дисплей"
@ -452,6 +452,15 @@ msgstr ""
msgid "Enables double-tap to recenter and triple-tap to recalibrate."
msgstr ""
#: src/gtk/connected-device.ui:606
#, fuzzy
msgid "All displays follow mode"
msgstr "Изогнутый дисплей"
#: src/gtk/connected-device.ui:607
msgid "Follow mode moves all displays, not just the focused one."
msgstr ""
#: src/gtk/display-distance-dialog.ui:9
msgid "Show full range"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-06 15:32-0800\n"
"POT-Creation-Date: 2025-03-06 19:45-0800\n"
"PO-Revision-Date: 2024-08-16 10:31-0700\n"
"Last-Translator: <wayne@xronlinux.com>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
@ -29,36 +29,36 @@ msgstr ""
msgid "This feature is not currently supported for your device."
msgstr "Din enhet stöder inte den här funktionen för tillfället."
#: src/connecteddevice.py:125
#: src/connecteddevice.py:127
#, fuzzy
msgid "Set Focused Display Distance"
msgstr "Avstånd till skärmen"
#: src/connecteddevice.py:126
#: src/connecteddevice.py:128
msgid "Use a closer value so the display zooms in when you look at it."
msgstr ""
#: src/connecteddevice.py:133
#: src/connecteddevice.py:135
#, fuzzy
msgid "Set All Displays Distance"
msgstr "Avstånd till skärmen"
#: src/connecteddevice.py:134
#: src/connecteddevice.py:136
msgid "Use a farther value so the displays are zoomed out when you look away."
msgstr ""
#: src/connecteddevice.py:232
#: src/connecteddevice.py:234
msgid ""
"Unable to add virtual displays on this machine. xdg-desktop-portal is "
"required."
msgstr ""
#: src/connecteddevice.py:266
#: src/connecteddevice.py:268
#, fuzzy
msgid "Focused display"
msgstr "Avstånd till skärmen"
#: src/connecteddevice.py:272
#: src/connecteddevice.py:274
#, fuzzy
msgid "All displays"
msgstr "Böjd skärm"
@ -449,6 +449,15 @@ msgstr ""
msgid "Enables double-tap to recenter and triple-tap to recalibrate."
msgstr ""
#: src/gtk/connected-device.ui:606
#, fuzzy
msgid "All displays follow mode"
msgstr "Böjd skärm"
#: src/gtk/connected-device.ui:607
msgid "Follow mode moves all displays, not just the focused one."
msgstr ""
#: src/gtk/display-distance-dialog.ui:9
msgid "Show full range"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-06 15:32-0800\n"
"POT-Creation-Date: 2025-03-06 19:45-0800\n"
"PO-Revision-Date: 2024-08-17 10:08-0700\n"
"Last-Translator: <wayne@xronlinux.com>\n"
"Language-Team: Ukrainian <trans-uk@lists.fedoraproject.org>\n"
@ -28,36 +28,36 @@ msgstr "Переключає окуляри в режим «бок о бок»
msgid "This feature is not currently supported for your device."
msgstr "Ця функція наразі не підтримується на вашому пристрої."
#: src/connecteddevice.py:125
#: src/connecteddevice.py:127
#, fuzzy
msgid "Set Focused Display Distance"
msgstr "Відстань дисплея"
#: src/connecteddevice.py:126
#: src/connecteddevice.py:128
msgid "Use a closer value so the display zooms in when you look at it."
msgstr ""
#: src/connecteddevice.py:133
#: src/connecteddevice.py:135
#, fuzzy
msgid "Set All Displays Distance"
msgstr "Відстань дисплея"
#: src/connecteddevice.py:134
#: src/connecteddevice.py:136
msgid "Use a farther value so the displays are zoomed out when you look away."
msgstr ""
#: src/connecteddevice.py:232
#: src/connecteddevice.py:234
msgid ""
"Unable to add virtual displays on this machine. xdg-desktop-portal is "
"required."
msgstr ""
#: src/connecteddevice.py:266
#: src/connecteddevice.py:268
#, fuzzy
msgid "Focused display"
msgstr "Відстань дисплея"
#: src/connecteddevice.py:272
#: src/connecteddevice.py:274
#, fuzzy
msgid "All displays"
msgstr "Викривлений дисплей"
@ -450,6 +450,15 @@ msgstr ""
msgid "Enables double-tap to recenter and triple-tap to recalibrate."
msgstr ""
#: src/gtk/connected-device.ui:606
#, fuzzy
msgid "All displays follow mode"
msgstr "Викривлений дисплей"
#: src/gtk/connected-device.ui:607
msgid "Follow mode moves all displays, not just the focused one."
msgstr ""
#: src/gtk/display-distance-dialog.ui:9
msgid "Show full range"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-06 15:32-0800\n"
"POT-Creation-Date: 2025-03-06 19:45-0800\n"
"PO-Revision-Date: 2024-08-02 20:55-0700\n"
"Last-Translator: <wayne@xronlinux.com>\n"
"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
@ -26,36 +26,36 @@ msgstr "切换到并排模式,并将显示宽度翻倍。"
msgid "This feature is not currently supported for your device."
msgstr "您的设备目前不支援此功能。"
#: src/connecteddevice.py:125
#: src/connecteddevice.py:127
#, fuzzy
msgid "Set Focused Display Distance"
msgstr "显示距离"
#: src/connecteddevice.py:126
#: src/connecteddevice.py:128
msgid "Use a closer value so the display zooms in when you look at it."
msgstr ""
#: src/connecteddevice.py:133
#: src/connecteddevice.py:135
#, fuzzy
msgid "Set All Displays Distance"
msgstr "显示距离"
#: src/connecteddevice.py:134
#: src/connecteddevice.py:136
msgid "Use a farther value so the displays are zoomed out when you look away."
msgstr ""
#: src/connecteddevice.py:232
#: src/connecteddevice.py:234
msgid ""
"Unable to add virtual displays on this machine. xdg-desktop-portal is "
"required."
msgstr ""
#: src/connecteddevice.py:266
#: src/connecteddevice.py:268
#, fuzzy
msgid "Focused display"
msgstr "显示距离"
#: src/connecteddevice.py:272
#: src/connecteddevice.py:274
#, fuzzy
msgid "All displays"
msgstr "曲面显示"
@ -440,6 +440,15 @@ msgstr ""
msgid "Enables double-tap to recenter and triple-tap to recalibrate."
msgstr ""
#: src/gtk/connected-device.ui:606
#, fuzzy
msgid "All displays follow mode"
msgstr "曲面显示"
#: src/gtk/connected-device.ui:607
msgid "Follow mode moves all displays, not just the focused one."
msgstr ""
#: src/gtk/display-distance-dialog.ui:9
msgid "Show full range"
msgstr ""

View File

@ -56,6 +56,7 @@ class ConnectedDevice(Gtk.Box):
text_scaling_scale = Gtk.Template.Child()
text_scaling_adjustment = Gtk.Template.Child()
enable_multi_tap_switch = Gtk.Template.Child()
legacy_follow_mode_switch = Gtk.Template.Child()
monitor_wrapping_scheme_menu = Gtk.Template.Child()
monitor_spacing_scale = Gtk.Template.Child()
monitor_spacing_adjustment = Gtk.Template.Child()
@ -102,6 +103,7 @@ class ConnectedDevice(Gtk.Box):
self.settings.bind('use-highest-refresh-rate', self.use_highest_refresh_rate_switch, 'active', Gio.SettingsBindFlags.DEFAULT)
# self.settings.bind('fast-sbs-mode-switching', self.fast_sbs_mode_switch, 'active', Gio.SettingsBindFlags.DEFAULT)
self.settings.bind('look-ahead-override', self.movement_look_ahead_adjustment, 'value', Gio.SettingsBindFlags.DEFAULT)
self.settings.bind('legacy-follow-mode', self.legacy_follow_mode_switch, 'active', Gio.SettingsBindFlags.DEFAULT)
self.settings.bind('monitor-spacing', self.monitor_spacing_adjustment, 'value', Gio.SettingsBindFlags.DEFAULT)
self.settings.bind('viewport-offset-x', self.viewport_offset_x_adjustment, 'value', Gio.SettingsBindFlags.DEFAULT)
self.settings.bind('viewport-offset-y', self.viewport_offset_y_adjustment, 'value', Gio.SettingsBindFlags.DEFAULT)

View File

@ -601,6 +601,17 @@
</child>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">All displays follow mode</property>
<property name="subtitle" translatable="yes">Follow mode moves all displays, not just the focused one.</property>
<child>
<object class="GtkSwitch" id="legacy_follow_mode_switch">
<property name="valign">3</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>

View File

@ -101,6 +101,11 @@ class BreezydesktopWindow(Gtk.ApplicationWindow):
else:
self.main_content.append(self.connected_device)
self.connected_device.set_device_name(state_manager.connected_device_name)
self.set_resizable(True)
self.set_default_size(1, 1)
return False
def _on_license_button_clicked(self, widget):
dialog = LicenseDialog()