multimonitor for osk

This commit is contained in:
end-4
2024-04-05 17:36:22 +07:00
parent f1c3c27e7e
commit f8d84d6068
9 changed files with 22 additions and 34 deletions
+3 -3
View File
@@ -2,12 +2,12 @@ import Widget from 'resource:///com/github/Aylur/ags/widget.js';
import SessionScreen from "./sessionscreen.js";
import PopupWindow from '../.widgethacks/popupwindow.js';
export default () => PopupWindow({ // On-screen keyboard
name: 'session',
export default (id = '') => PopupWindow({ // On-screen keyboard
name: `session${id}`,
visible: false,
keymode: 'exclusive',
layer: 'overlay',
exclusivity: 'ignore',
anchor: ['top', 'bottom', 'left', 'right'],
child: SessionScreen(),
child: SessionScreen({ id: id }),
})