You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Issue:
Managing ImGui windows under i3wm (or other tiling window managers) is problematic because all ImGui windows either lack sufficient unique identifiers or share a generic WM_CLASS property. This limitation makes it difficult to apply specific window management rules, such as automatically enabling floating mode for docked ImGui windows. For example, in i3wm’s configuration file, users would like to apply a rule like: for_window [class="ImGui"] floating enable for_window [instance="ImGui"] floating enable
Proposed Solution:
ImGui could set a custom WM_CLASS property or another identifier for their windows on X11, allowing for easier and more precise window management in tiling window managers like i3wm.
Screenshots/Video:
2025-01-03.23-20-38.mp4
xprop output of ImGui docked window:
Minimal, Complete and Verifiable Example code:
ImGui::Begin("Example Bug");
ImGui::End();
The text was updated successfully, but these errors were encountered:
Ikos3k
changed the title
feature request: easier Identification of ImGui windows on X11
feature request: easier identification of ImGui windows on X11
Jan 3, 2025
Version/Branch of Dear ImGui:
Version 1.91.7 WIP, Branch: docking
Back-ends:
imgui_impl_glfw.cpp + imgui_impl_opengl3.cpp
Compiler, OS:
Linux i3wm (x11)
Full config/build information:
Details:
My Issue:
Managing ImGui windows under i3wm (or other tiling window managers) is problematic because all ImGui windows either lack sufficient unique identifiers or share a generic
WM_CLASS
property. This limitation makes it difficult to apply specific window management rules, such as automatically enabling floating mode for docked ImGui windows. For example, in i3wm’s configuration file, users would like to apply a rule like:for_window [class="ImGui"] floating enable
for_window [instance="ImGui"] floating enable
Proposed Solution:
ImGui could set a custom
WM_CLASS
property or another identifier for their windows on X11, allowing for easier and more precise window management in tiling window managers like i3wm.Screenshots/Video:
2025-01-03.23-20-38.mp4
xprop output of ImGui docked window:
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: