Skip to content

Commit 162d7c4

Browse files
committed
(#17) Fix type conversion
1 parent 277a948 commit 162d7c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linux/window_manager.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ WindowHandle getActiveWindow() {
1414
XCloseMainDisplay();
1515
return window;
1616
}
17-
return NULL;
17+
return -1;
1818
}
1919

2020
std::vector<WindowHandle> getWindows() {

0 commit comments

Comments
 (0)