StevensDeptECE / GrailGUI

GrailGUI is a prototype of a replacement for web programming (HTTP, HTML, CSS, JavaScript) and GUI programming. It includes a client graphical API, a browser implemented in C++ and OpenGL, a protocol to transmit metadata and data in binary, a language (XDL) to describe the binary data, and local storage to retain data on the client should that be necessary. Encrypted communications (equivalent of TLS) have not yet been implemented.
GNU General Public License v3.0
7 stars 14 forks source link

Fix the cursor not showing up in Grail windows #34

Closed dkrautha closed 3 years ago

dkrautha commented 3 years ago

Changing line 226 of GLWin.cc to the following fixes the problem: glfwSetInputMode(win, GLFW_CURSOR, GLFW_CURSOR_NORMAL);

The comment on line 224 stating "// it seems like glfw will not support good mouse behavior unless we hide the cursor? ugly." seems to be inaccurate?