Immediate-Mode-UI / Immediate-Mode-UI/Nuklear

Error 65544: Wayland: Focusing a window requires user interaction

Open
#224 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11.4k
Forks
686
Avg merge
4d 1h
Merged PRs (30d)
3

Description

I am running Manjaro GNOME, apparently using Wayland:

echo $XDG_SESSION_TYPE
wayland

Everything seems to work great, even the compilation of the demo/glfw_opengl examples completes successfully without any error.

However, when i try to run the ./bin/demo i get either a segfault (glfw_opengl3) or a missbehaving application window (glfw_opengl2). The terminal displays the error message:

Error 65544: Wayland: Focusing a window requires user interaction
Failed to setup GLEW

Googling around, there seems to be an incompatibility problem between [Glew and Glew-wayland](https://www.reddit.com/r/archlinux/comments/c92aw9/glew_and_glewwayland_are_no_longer_interchangeble/?ref=readnext), but i don't know what to do with this.

Anyone has had the same problem trying to run nuklear under Wayland?

Is there a way to fix this?

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure on Manjaro GNOME under Wayland using the demo/glfw_opengl examples and ./bin/demo, comparing glfw_opengl3 and glfw_opengl2. Trace the reported window-focus and GLEW errors, then verify that the affected demo runs without a segfault or misbehaving window.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.