# support

**URL:** https://discourse.glfw.org/c/support/5.md?page=1

[Latest](https://discourse.glfw.org/latest.md) · [Categories](https://discourse.glfw.org/categories.md)

**Page:** 2

---

## [Windows keyboard codes in WPARAM and LPARAM](https://discourse.glfw.org/t/windows-keyboard-codes-in-wparam-and-lparam/2962)

<div class="topic-metadata">

**Author:** [@callum](https://discourse.glfw.org/u/callum)\
**Replies:** 3\
**Last updated:** [September 10, 2025, 5:07pm UTC](https://discourse.glfw.org/t/windows-keyboard-codes-in-wparam-and-lparam/2962 "2025-09-10T17:07:48Z")

</div>

I am using GLFW as the front end to my (Win/Mac/Linux) OpenGL application and so far it’s working very well. The only piece I am struggling with is getting access to the raw key codes (via WPARAM/LPARAM on Windows for e…

---

## [Issues Building OpenGL Project with GLFW and GLEW on Windows using MSYS2/MinGW](https://discourse.glfw.org/t/issues-building-opengl-project-with-glfw-and-glew-on-windows-using-msys2-mingw/2959)

<div class="topic-metadata">

**Author:** [@SamuelMaciejewsky](https://discourse.glfw.org/u/SamuelMaciejewsky)\
**Replies:** 5\
**Last updated:** [September 9, 2025, 9:50pm UTC](https://discourse.glfw.org/t/issues-building-opengl-project-with-glfw-and-glew-on-windows-using-msys2-mingw/2959 "2025-09-09T21:50:59Z")

</div>

Hello, I’m currently facing some challenges while trying to build a C++ project that uses OpenGL, GLFW, and GLEW on a Windows machine. I am working with MSYS2/MinGW as the build environment and VSCode as a text editor (…

---

## [MacOS M3 system interrupts rendering from thread](https://discourse.glfw.org/t/macos-m3-system-interrupts-rendering-from-thread/2960)

<div class="topic-metadata">

**Author:** [@Qlii256](https://discourse.glfw.org/u/Qlii256)\
**Replies:** 2\
**Last updated:** [September 9, 2025, 8:51am UTC](https://discourse.glfw.org/t/macos-m3-system-interrupts-rendering-from-thread/2960 "2025-09-09T08:51:29Z")

</div>

I’ve been working on a little framework to render from a thread. Both to allow to have multiple windows active at the same time, and also to render when the window is being resized (blocked by PollEvents). I’m using pyG…

---

## [Mouse click position precision](https://discourse.glfw.org/t/mouse-click-position-precision/2954)

<div class="topic-metadata">

**Author:** [@astebbin](https://discourse.glfw.org/u/astebbin)\
**Replies:** 1\
**Last updated:** [July 21, 2025, 11:18am UTC](https://discourse.glfw.org/t/mouse-click-position-precision/2954 "2025-07-21T11:18:25Z")

</div>

Hello! I noticed GLFW’s mouse button pressed callback doesn’t provide the (x, y) position of the button click. What’s the best practice for the application’s callback to determine this position? Calling glfwGetCursorPos…

---

## [Glfw frameBufferSize is messed up at start](https://discourse.glfw.org/t/glfw-framebuffersize-is-messed-up-at-start/2945)

<div class="topic-metadata">

**Author:** [@levi73159](https://discourse.glfw.org/u/levi73159)\
**Replies:** 7\
**Last updated:** [July 3, 2025, 5:13am UTC](https://discourse.glfw.org/t/glfw-framebuffersize-is-messed-up-at-start/2945 "2025-07-03T05:13:45Z")

</div>

Hello. I am using arch linux and hyprland and i am having issues with glfw specifically the frame buffer size, at the start i have it where it will renderer an texture quad across the image, and if i use the set height …

---

## [Vulkan hangs when window is on another workspace under Wayland](https://discourse.glfw.org/t/vulkan-hangs-when-window-is-on-another-workspace-under-wayland/2950)

<div class="topic-metadata">

**Author:** [@lmichaudel](https://discourse.glfw.org/u/lmichaudel)\
**Replies:** 3\
**Last updated:** [July 1, 2025, 2:49pm UTC](https://discourse.glfw.org/t/vulkan-hangs-when-window-is-on-another-workspace-under-wayland/2950 "2025-07-01T14:49:36Z")

</div>

When using Wayland + Hyprland, my application hangs (I get a “application not responding prompt”) when it is on another workspace. More precisely, the vkQueuePresentKHR hangs. I’m using glfw 3.4-2.

---

## [Glfw stuttering](https://discourse.glfw.org/t/glfw-stuttering/2934)

<div class="topic-metadata">

**Author:** [@v71](https://discourse.glfw.org/u/v71)\
**Replies:** 10\
**Last updated:** [June 18, 2025, 11:36am UTC](https://discourse.glfw.org/t/glfw-stuttering/2934 "2025-06-18T11:36:34Z")

</div>

Good day, I have noticed that occasionaly i get some stuttering during the rendering loop. I have writen a very basic example and I am confindent that my code is not responsbile for it. I also looked into the dwm windows…

---

## [Major lag when creating/destroying Vulkan instance](https://discourse.glfw.org/t/major-lag-when-creating-destroying-vulkan-instance/2943)

<div class="topic-metadata">

**Author:** [@kodo\_simio](https://discourse.glfw.org/u/kodo_simio)\
**Replies:** 2\
**Last updated:** [June 16, 2025, 1:22pm UTC](https://discourse.glfw.org/t/major-lag-when-creating-destroying-vulkan-instance/2943 "2025-06-16T13:22:34Z")

</div>

I am finding that when running a minimal working Vulkan app (i.e. https://vulkan-tutorial.com/code/04\_logical\_device.cpp) it takes ~1.5 seconds to call glfwGetRequiredInstanceExtensions when creating the instance, and ~1…

---

## [Key callback randomly called outside of glfwPollEvents() (it seems like)](https://discourse.glfw.org/t/key-callback-randomly-called-outside-of-glfwpollevents-it-seems-like/2940)

<div class="topic-metadata">

**Author:** [@krs](https://discourse.glfw.org/u/krs)\
**Replies:** 2\
**Last updated:** [June 16, 2025, 12:26pm UTC](https://discourse.glfw.org/t/key-callback-randomly-called-outside-of-glfwpollevents-it-seems-like/2940 "2025-06-16T12:26:31Z")

</div>

I have a simple wrapper around key events. I have a vector that I populate in the key callback with whatever key event happened, I then check it in the middle of the frame for inputs, and clear it at the end of the frame…

---

## [How to link GLFW and glad with w64devkit](https://discourse.glfw.org/t/how-to-link-glfw-and-glad-with-w64devkit/2941)

<div class="topic-metadata">

**Author:** [@bananakiller888](https://discourse.glfw.org/u/bananakiller888)\
**Replies:** 1\
**Last updated:** [June 15, 2025, 9:22pm UTC](https://discourse.glfw.org/t/how-to-link-glfw-and-glad-with-w64devkit/2941 "2025-06-15T21:22:02Z")

</div>

I spended too much time for linking GLFW and glad with w64devkit. I always getting errors like “undefined reference to Winmain” and other errors. I readed all documentation from the website and, I watched tutorials on Yo…

---

## [I want Help with GLFW Window Not Showing on My Setup](https://discourse.glfw.org/t/i-want-help-with-glfw-window-not-showing-on-my-setup/2932)

<div class="topic-metadata">

**Author:** [@Catherine](https://discourse.glfw.org/u/Catherine)\
**Replies:** 1\
**Last updated:** [May 30, 2025, 9:10am UTC](https://discourse.glfw.org/t/i-want-help-with-glfw-window-not-showing-on-my-setup/2932 "2025-05-30T09:10:07Z")

</div>

Hey everyone, I am new to GLFW and trying to get a simple window up and running but I am stuck & want help. I followed the basic setup from the docs and built my app but when I run it, the window does not show up at al…

---

## [Managing multiple windows individually](https://discourse.glfw.org/t/managing-multiple-windows-individually/2929)

<div class="topic-metadata">

**Author:** [@EasyNetDev](https://discourse.glfw.org/u/EasyNetDev)\
**Replies:** 0\
**Last updated:** [May 14, 2025, 7:08pm UTC](https://discourse.glfw.org/t/managing-multiple-windows-individually/2929 "2025-05-14T19:08:15Z")

</div>

Hello all, I’m new on this forum and also in GLFW. I’m working to a project to bring to life Saitek / Logitech Flight Instrument Panel (link) on Linux and maybe later on MacOS. I’ve already done a reverse engineering …

---

## [GLFW not using GTK through libdecor](https://discourse.glfw.org/t/glfw-not-using-gtk-through-libdecor/2921)

<div class="topic-metadata">

**Author:** [@aryanbaburajan](https://discourse.glfw.org/u/aryanbaburajan)\
**Replies:** 1\
**Last updated:** [May 7, 2025, 11:34am UTC](https://discourse.glfw.org/t/glfw-not-using-gtk-through-libdecor/2921 "2025-05-07T11:34:28Z")

</div>

If I understand correctly, as Wayland has no support for SSD, GLFW uses libdecor to draw a pretty window. Every plugin defines a priority and then the plugin with the highest priority is loaded. On the current master (l…

---

## [glfwSwapBuffers only works when spammed](https://discourse.glfw.org/t/glfwswapbuffers-only-works-when-spammed/2918)

<div class="topic-metadata">

**Author:** [@boog](https://discourse.glfw.org/u/boog)\
**Replies:** 1\
**Last updated:** [May 2, 2025, 9:00am UTC](https://discourse.glfw.org/t/glfwswapbuffers-only-works-when-spammed/2918 "2025-05-02T09:00:01Z")

</div>

I’m trying to learn the basics of openGL. in the tutorial i was watching glfwSwapBuffers is called once and works, however i need to call it a lot of times or it does nothing. am I doing something wrong? how is it su…

---

## [(Win64) Unresolved External Symbols compiling basic project](https://discourse.glfw.org/t/win64-unresolved-external-symbols-compiling-basic-project/2915)

<div class="topic-metadata">

**Author:** [@easythrees](https://discourse.glfw.org/u/easythrees)\
**Replies:** 1\
**Last updated:** [April 14, 2025, 9:19am UTC](https://discourse.glfw.org/t/win64-unresolved-external-symbols-compiling-basic-project/2915 "2025-04-14T09:19:31Z")

</div>

Hi there, I’m trying to learn Vulkan and am using GLFW to draw the windows. I’m using VS 2019 and am getting some errors: 1\>glfw3.lib(win32\_init.obj) : error LNK2001: unresolved external symbol \_\_imp\_TranslateMessage 1\>g…

---

## [glfwSwapInterval not Working Linux](https://discourse.glfw.org/t/glfwswapinterval-not-working-linux/2914)

<div class="topic-metadata">

**Author:** [@A1029384756](https://discourse.glfw.org/u/A1029384756)\
**Replies:** 2\
**Last updated:** [April 13, 2025, 11:51pm UTC](https://discourse.glfw.org/t/glfwswapinterval-not-working-linux/2914 "2025-04-13T23:51:13Z")

</div>

With GLFW 3.4 coming to my distributions packages recently, I decided to take a look at one of my older Raylib projects to see how it was impacted by the fractional scaling changes. When opening it however, I was greeted…

---

## [Support for Windows Arm64](https://discourse.glfw.org/t/support-for-windows-arm64/2911)

<div class="topic-metadata">

**Author:** [@glfwbloo](https://discourse.glfw.org/u/glfwbloo)\
**Replies:** 1\
**Last updated:** [April 11, 2025, 8:26am UTC](https://discourse.glfw.org/t/support-for-windows-arm64/2911 "2025-04-11T08:26:15Z")

</div>

Some new Windows machines feature ARM64 architecture, which does not appear supported by any of the GLFW Windows binaries (although GLFW does explicitly support MacOS Arm64). Does GLFW intend to release a binary for Win…

---

## [MacOS color correction](https://discourse.glfw.org/t/macos-color-correction/2908)

<div class="topic-metadata">

**Author:** [@orgnldave444](https://discourse.glfw.org/u/orgnldave444)\
**Replies:** 2\
**Last updated:** [April 6, 2025, 8:06pm UTC](https://discourse.glfw.org/t/macos-color-correction/2908 "2025-04-06T20:06:38Z")

</div>

Hi there. I’m using DearIMGUI + WebGPU + GLFW on MacOS, but ideally I’d like my software to be cross-platform. I’m doing some software rendering, and MacOS is badly color correcting it. How do I tell GLFW to tell MacO…

---

## [Defaultlib 'LIBCMT' conflicts with use of other libs](https://discourse.glfw.org/t/defaultlib-libcmt-conflicts-with-use-of-other-libs/2906)

<div class="topic-metadata">

**Author:** [@TracerDS](https://discourse.glfw.org/u/TracerDS)\
**Replies:** 0\
**Last updated:** [March 29, 2025, 12:39pm UTC](https://discourse.glfw.org/t/defaultlib-libcmt-conflicts-with-use-of-other-libs/2906 "2025-03-29T12:39:51Z")

</div>

Hello. I want to link my VS2022 project with GLFW statically. So, I downloaded x64 GLFW from github and used vc2022 folder to link with. I set my Runtime Library to /MTx (Debug → /MTd; Release → /MT), added opengl32.li…

---

## [GLFW not registering release events](https://discourse.glfw.org/t/glfw-not-registering-release-events/2902)

<div class="topic-metadata">

**Author:** [@pioyi](https://discourse.glfw.org/u/pioyi)\
**Replies:** 1\
**Last updated:** [March 26, 2025, 4:23pm UTC](https://discourse.glfw.org/t/glfw-not-registering-release-events/2902 "2025-03-26T16:23:39Z")

</div>

I’ve got a graphical program that receives input from dmenu. When trying to collect an answer from the user, I create a pipe via popen so that I can re-direct the command’s standard output to my program. The forking and…

---

## [Iterating and selecting EGL Device](https://discourse.glfw.org/t/iterating-and-selecting-egl-device/2899)

<div class="topic-metadata">

**Author:** [@ayham-1](https://discourse.glfw.org/u/ayham-1)\
**Replies:** 1\
**Last updated:** [March 26, 2025, 12:00pm UTC](https://discourse.glfw.org/t/iterating-and-selecting-egl-device/2899 "2025-03-26T12:00:48Z")

</div>

Hello, would it be possible using GLFW to specify the dedicated GPU for an EGL setup/iterate over EGL devices and use one of them? I currently have a project with two threads, one of them runs glfw and the other wlroot…

---

## [Possible to set window as bottom-most window?](https://discourse.glfw.org/t/possible-to-set-window-as-bottom-most-window/2131)

<div class="topic-metadata">

**Author:** [@pinna9001](https://discourse.glfw.org/u/pinna9001)\
**Replies:** 4\
**Last updated:** [March 25, 2025, 12:15pm UTC](https://discourse.glfw.org/t/possible-to-set-window-as-bottom-most-window/2131 "2025-03-25T12:15:08Z")

</div>

Hi, is it possible to set the window to always be the bottom-most window? I already found a way to do it on Windows, but it seems to be a bad way, that is not recommended. Is there any platform independent or dependent w…

---

## [Incomplete build with CMake](https://discourse.glfw.org/t/incomplete-build-with-cmake/2892)

<div class="topic-metadata">

**Author:** [@looy](https://discourse.glfw.org/u/looy)\
**Replies:** 1\
**Last updated:** [March 22, 2025, 1:11pm UTC](https://discourse.glfw.org/t/incomplete-build-with-cmake/2892 "2025-03-22T13:11:30Z")

</div>

Hello all, I’m new to the forums, so apologies if I’m missing something, but here’s my issue. I’m able to generate a build directory using cmake, but after running Make (and it successfully executing) I’m finding that th…

---

## [GLFW error 65544](https://discourse.glfw.org/t/glfw-error-65544/2890)

<div class="topic-metadata">

**Author:** [@Galos16-4](https://discourse.glfw.org/u/Galos16-4)\
**Replies:** 1\
**Last updated:** [March 19, 2025, 8:49am UTC](https://discourse.glfw.org/t/glfw-error-65544/2890 "2025-03-19T08:49:58Z")

</div>

HI everybody. I have an issue while trying to play on a minecraft launcher. I have a box that pops up after a few min that says GLFW error 65544:WGL: Failed to retrieve pixel format attributes… I’m on macbook pro M1 20…

---

## [Cannot open file glfw3.lib](https://discourse.glfw.org/t/cannot-open-file-glfw3-lib/2789)

<div class="topic-metadata">

**Author:** [@DavidNodeB](https://discourse.glfw.org/u/DavidNodeB)\
**Replies:** 2\
**Last updated:** [March 17, 2025, 4:21pm UTC](https://discourse.glfw.org/t/cannot-open-file-glfw3-lib/2789 "2025-03-17T16:21:13Z")

</div>

so I downloaded the source zip from the official website and then I extract the glfw3 zip after that I created a build folder and opened cmake and used these settings I then opened the glfw.sln file in the build fold…

---

## [glfwSetKeyCallback() returning NULL but apparently succeeding](https://discourse.glfw.org/t/glfwsetkeycallback-returning-null-but-apparently-succeeding/2873)

<div class="topic-metadata">

**Author:** [@oneshade](https://discourse.glfw.org/u/oneshade)\
**Replies:** 2\
**Last updated:** [March 13, 2025, 4:14am UTC](https://discourse.glfw.org/t/glfwsetkeycallback-returning-null-but-apparently-succeeding/2873 "2025-03-13T04:14:07Z")

</div>

I ran into this issue with a project where I was trying to extensively check for errors and was (seemingly) erroneously getting an error when setting callbacks despite the callbacks seemingly being registered and getting…

---

## [Smooth resizing on Windows](https://discourse.glfw.org/t/smooth-resizing-on-windows/2867)

<div class="topic-metadata">

**Author:** [@constantitus](https://discourse.glfw.org/u/constantitus)\
**Replies:** 4\
**Last updated:** [March 12, 2025, 2:15pm UTC](https://discourse.glfw.org/t/smooth-resizing-on-windows/2867 "2025-03-12T14:15:30Z")

</div>

I am running a setup where all glfw calls are on a separate thread so my program doesn’t block when the window is being resized. My issue is that the resize callback is only being called once, when I release the mouse. I…

---

## [glfwGetKey always returns 0 (C++/Lua)](https://discourse.glfw.org/t/glfwgetkey-always-returns-0-c-lua/2870)

<div class="topic-metadata">

**Author:** [@bart](https://discourse.glfw.org/u/bart)\
**Replies:** 1\
**Last updated:** [March 4, 2025, 9:36am UTC](https://discourse.glfw.org/t/glfwgetkey-always-returns-0-c-lua/2870 "2025-03-04T09:36:19Z")

</div>

I’m making a little game framework in C++ with full Lua scripting using OpenGL, GLFW and GLEW and it seems that input is not being proccessed correctly by GLFW? #include \<iostream\> #include \<cstring\> #include \<GL/glew.…

---

## [Detecting proportion between screen coordinates and pixels](https://discourse.glfw.org/t/detecting-proportion-between-screen-coordinates-and-pixels/2861)

<div class="topic-metadata">

**Author:** [@zix527](https://discourse.glfw.org/u/zix527)\
**Replies:** 2\
**Last updated:** [February 28, 2025, 1:08pm UTC](https://discourse.glfw.org/t/detecting-proportion-between-screen-coordinates-and-pixels/2861 "2025-02-28T13:08:19Z")

</div>

I am writing app with use of GLFW as window manager and I try to understand how window size in screen coordinates translates to framebuffer size. On most screens screen coordinate = pixel, from what I know, but retina di…

---

## [Cmake error when building GLFW](https://discourse.glfw.org/t/cmake-error-when-building-glfw/2858)

<div class="topic-metadata">

**Author:** [@Ziptip](https://discourse.glfw.org/u/Ziptip)\
**Replies:** 2\
**Last updated:** [February 27, 2025, 1:30am UTC](https://discourse.glfw.org/t/cmake-error-when-building-glfw/2858 "2025-02-27T01:30:59Z")

</div>

I downloaded the GLFW sources and started building, chose the mingw makefiles configuration and an error appeared: CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt …

[Previous page](https://discourse.glfw.org/c/support/5.md)

[Next page](https://discourse.glfw.org/c/support/5.md?page=2)
