bsl / bsl/bindings-GLFW

glfw_config.h on linux doesn't support multiple window managers.

Open
#60 0 comments 0 reactions 0 assignees View on GitHub
bug good first issue help wanted
Dominant language
C
Stars
16
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Right now, we're using pre-baked `glfw_config.h` in

`glfw/include/os/unix-like/glfw_config.h`

We don't have a way to turn on or off the Wayland and Mir CPP macros though since we don't build via CMake. We should probably add a way (via cc-options?) to turn on the different managers in the config if the proper cabal flag is requested.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with glfw/include/os/unix-like/glfw_config.h and inspect how the bindings are built without CMake. Trace how cc-options and the relevant Cabal flag are passed, then define the configuration behavior for Wayland and Mir. Done means the requested flag can enable or disable those window-manager macros during the normal build.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system, desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.