diff options
| author | Emīls Piņķis <emils@mullvad.net> | 2018-04-19 16:50:38 +0100 |
|---|---|---|
| committer | Emīls Piņķis <emils@mullvad.net> | 2018-04-24 13:16:15 +0100 |
| commit | 42a0fcdda2d60ae86267f91f9c784612c458c52c (patch) | |
| tree | 76b03309307a92b25186ebd245da3c81bea81631 /app/components | |
| parent | 69aed3a0ebb437828a04eb21df5dc4eecd1f2dee (diff) | |
| download | mullvadvpn-42a0fcdda2d60ae86267f91f9c784612c458c52c.tar.xz mullvadvpn-42a0fcdda2d60ae86267f91f9c784612c458c52c.zip | |
Make app window draggable without window decorations on linux
Diffstat (limited to 'app/components')
| -rw-r--r-- | app/components/HeaderBarStyles.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/components/HeaderBarStyles.js b/app/components/HeaderBarStyles.js index 8c744ffcfb..27feb62ca1 100644 --- a/app/components/HeaderBarStyles.js +++ b/app/components/HeaderBarStyles.js @@ -23,6 +23,9 @@ export default { darwin: { paddingTop: 24, }, + linux: { + webkitAppRegion: 'drag', + }, style_defaultDark: { backgroundColor: colors.darkBlue, }, @@ -42,6 +45,7 @@ export default { }, settings_icon: { color: colors.white60, + webkitAppRegion: 'no-drag', }, settings_icon_hover: { color: colors.white, |
