View | Details | Raw Unified | Return to bug 53620
Collapse All | Expand All

(-)unlockDialog.js (+11 lines)
Lines 14-19 Link Here
14
import * as Main from './main.js';
14
import * as Main from './main.js';
15
import * as MessageTray from './messageTray.js';
15
import * as MessageTray from './messageTray.js';
16
import * as SwipeTracker from './swipeTracker.js';
16
import * as SwipeTracker from './swipeTracker.js';
17
import * as InputSourceManager from './status/keyboard.js';
17
import {formatDateWithCFormatString} from '../misc/dateUtils.js';
18
import {formatDateWithCFormatString} from '../misc/dateUtils.js';
18
import * as AuthPrompt from '../gdm/authPrompt.js';
19
import * as AuthPrompt from '../gdm/authPrompt.js';
19
20
Lines 34-39 Link Here
34
    Signals: {'wake-up-screen': {}},
35
    Signals: {'wake-up-screen': {}},
35
}, class NotificationsBox extends St.BoxLayout {
36
}, class NotificationsBox extends St.BoxLayout {
36
    _init() {
37
    _init() {
38
        const inputSourceManager = InputSourceManager.getInputSourceManager();
39
40
        try {
41
            if (inputSourceManager.currentSource.index != 0) {
42
                inputSourceManager.inputSources[0].activate(true);
43
            }
44
        } catch (e) {
45
            globalThis.console.warn(e);
46
        }
47
37
        super._init({
48
        super._init({
38
            orientation: Clutter.Orientation.VERTICAL,
49
            orientation: Clutter.Orientation.VERTICAL,
39
            name: 'unlockDialogNotifications',
50
            name: 'unlockDialogNotifications',

Return to bug 53620