We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b072b1 commit f74a191Copy full SHA for f74a191
src/initPTB.m
@@ -49,12 +49,6 @@
49
initKeyboard;
50
initDebug(cfg);
51
52
- % Mouse
53
- if cfg.hideCursor
54
- % TODO does not work on Linux: WTF???
55
- HideCursor;
56
- end
57
-
58
%% Audio
59
cfg = initAudio(cfg);
60
@@ -107,6 +101,11 @@
107
101
WaitSecs(0.1);
108
102
GetSecs;
109
103
104
+ % Mouse
105
+ if cfg.hideCursor
106
+ HideCursor(cfg.screen.win));
+ end
+
110
end
111
112
function cfg = getOsInfo(cfg)
0 commit comments