Skip to content

desktop: render IME above all desktop components - #15646

Merged
vaxerski merged 3 commits into
hyprwm:mainfrom
vaxerski:allow-ime-over-stuff
Jul 29, 2026
Merged

desktop: render IME above all desktop components#15646
vaxerski merged 3 commits into
hyprwm:mainfrom
vaxerski:allow-ime-over-stuff

Conversation

@vaxerski

Copy link
Copy Markdown
Member

Put IME popups above everything in the rendering and input stack.

Even on lockscreens, IME could be requested. Maybe the user wants to input some username. Etc.

@vaxerski

Copy link
Copy Markdown
Member Author

@codex review please

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸ’‘ Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9ecc832197

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with πŸ‘.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/managers/input/InputManager.cpp
Comment thread src/managers/input/InputManager.cpp
@Dregu

Dregu commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

I would still argue that it's weird to draw popups on top of completely unrelated overlay layers, popups should just draw on top of whatever their parent surface is. If that parent is overlay, then the ime should be on top of it of course.

@vaxerski

Copy link
Copy Markdown
Member Author

correct, but at the moment it's not exactly possible to detemine that other than hacks like "keyboard focus" which doesn't have to be true technically I think

@vaxerski

Copy link
Copy Markdown
Member Author

@codex review pleae

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸ’‘ Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3bb82ca889

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with πŸ‘.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/render/Renderer.cpp Outdated
@shinnkka

Copy link
Copy Markdown

Thank You! Btw, I initially thought the screen locker I was using was broken under Hyprland, since it completely ignored all my input. It turned out that the IME popup was being covered by another layer.

@vaxerski

Copy link
Copy Markdown
Member Author

correct, but at the moment it's not exactly possible to detemine that other than hacks like "keyboard focus" which doesn't have to be true technically I think

nvm I was wrong, we have 1-to-1 mapping to a wl_surface, but at any rate the current hyprland input stack is not made for this so no, not in this mr

@vaxerski

Copy link
Copy Markdown
Member Author

@codex review please

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 677e916bad

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with πŸ‘.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@vaxerski
vaxerski merged commit a95b818 into hyprwm:main Jul 29, 2026
10 checks passed
hitori-chan pushed a commit to hitori-chan/Hyprland that referenced this pull request Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants