Skip to content

Commit 6512cac

Browse files
committed
(#3) Switched back to *.c for screen implementation
1 parent 3479613 commit 6512cac

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/screen.cc renamed to src/screen.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "screen.h"
22
#include "os.h"
3-
#include "window.h"
3+
#include "highlightwindow.h"
44

55
#if defined(IS_MACOSX)
66
#include <ApplicationServices/ApplicationServices.h>
@@ -34,6 +34,5 @@ bool pointVisibleOnMainDisplay(MMPoint point)
3434
}
3535

3636
void highlight(int x, int y, int width, int height, int duration, float opacity) {
37-
Window highlightWindow(x, y, width, height);
38-
highlightWindow.show(duration, opacity);
37+
showHighlightWindow(x, y, width, height, duration, opacity);
3938
}

0 commit comments

Comments
 (0)