OpenXRay / OpenXRay/xray-16

Linux/opengl: Add Frame when running in Window Mode

Open
#932 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement Game assets good first issue Help wanted Player Experience UI
Dominant language
C++
Stars
3.6k
Forks
536
Avg merge
6d 1h
Merged PRs (30d)
3

Description

Is your feature request related to a problem? Please describe.
When running the game in windowed mode there is no frame, which means the game cannot be moved around the screen easily.

Describe the solution you'd like
Window frame added when in Window mode. Mouse behaviour as below:
When 'in game' the mouse should be 'captured' from the OS, but when you're on the Menu screen after pressing ESC, the mouse should be able to leave the frame as per operating system normal. Excuse my not knowing the terminology.

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

The issue mentions Linux/OpenGL window mode and ESC menu behavior; start by locating the window-creation and mouse-input entry points for that configuration. Reproduce windowed mode and verify that a normal OS frame is present, mouse capture is retained in-game, and the mouse can leave the frame on the menu.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
desktop, game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.