Skip to content

Popup focus #8608

@dddd545r

Description

@dddd545r

Version/Branch of Dear ImGui:

docking

Back-ends:

any

Compiler, OS:

Windows 11

Full config/build information:

Details:

Hello,

I’m working with an ImGui application on a split screen setup, with my ImGui app on one side and a native Windows application on the other. The ImGui popup (BeginPopupContextItem) is positioned right at the center of the split screen. However, when I first click on the native Windows app and then return to click the ImGui popup, it doesn’t bring the popup to the front.

Does anyone know how I can ensure the popup comes to the front when clicked?

Screenshots/Video:

Minimal, Complete and Verifiable Example code:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions