-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathconstants.js
More file actions
21 lines (14 loc) · 553 Bytes
/
constants.js
File metadata and controls
21 lines (14 loc) · 553 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
'use strict';
import * as Config from 'resource:///org/gnome/shell/misc/config.js';
export const shellVersion = parseFloat(Config.PACKAGE_VERSION);
/*
* GdkModifierType
*
* See: https://gitlab.gnome.org/GNOME/gtk/blob/d726ecdb5d1ece870585c7be89eb6355b2482544/gdk/gdkenums.h:L74
*/
export const GDK_SHIFT_MASK = 1 << 0;
export const GDK_CONTROL_MASK = 1 << 2;
export const GDK_ALT_MASK = 1 << 3;
export const GDK_META_MASK = 1 << 28;
/* prefs settings */
export const PREFS_SETTING_AUTORESTORE_SESSIONS = 'autorestore-sessions';