summaryrefslogtreecommitdiffhomepage
path: root/gui/src/main/window-controller.ts
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2021-01-07 16:18:41 +0100
committerOskar Nyberg <oskar@mullvad.net>2021-01-26 09:06:54 +0100
commit420147939bcda37c7f1b0efa673326c59b96147b (patch)
tree218b23b88ca1692dc90dcf17293cecb14809a9be /gui/src/main/window-controller.ts
parent841a4ba05c3fc2f2c46dd420b9c9868862290003 (diff)
downloadmullvadvpn-420147939bcda37c7f1b0efa673326c59b96147b.tar.xz
mullvadvpn-420147939bcda37c7f1b0efa673326c59b96147b.zip
Move types used in ipc to ipc-types.ts
Diffstat (limited to 'gui/src/main/window-controller.ts')
-rw-r--r--gui/src/main/window-controller.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/gui/src/main/window-controller.ts b/gui/src/main/window-controller.ts
index bed94c37da..69ae6acb02 100644
--- a/gui/src/main/window-controller.ts
+++ b/gui/src/main/window-controller.ts
@@ -1,15 +1,12 @@
import { BrowserWindow, Display, screen, Tray, WebContents } from 'electron';
import { IpcMainEventChannel } from './ipc-event-channel';
+import { IWindowShapeParameters } from '../shared/ipc-types';
interface IPosition {
x: number;
y: number;
}
-export interface IWindowShapeParameters {
- arrowPosition?: number;
-}
-
interface IWindowPositioning {
getPosition(window: BrowserWindow): IPosition;
getWindowShapeParameters(window: BrowserWindow): IWindowShapeParameters;