Open AlecsFerra opened 2 years ago
I already have the fix ready, just tell me if you think that this is really a bug.
And if we should reuse the option focus
or have this enabled by default
hmmm - I mean, generally, wm-ignore does mean that the WM doesn't really care about the window at all, so forcing focus and thus basically fighting the WM seems,... sketchy. Not sure about the implications here. What's the usecase for a window like that being wm-ignore?
To have a menu that can have an input field inside, I don't want window management but i would like to still be able to use an input field
Tbh. such a window should probably be of type menu
, dialog
, toolbar
or utility
imo.
I like the function force_focus
though, as it might be neat for some rofi-like widgets.
I'm using this exactly for that, I want a battery menu that can update his gui on battery status change stuff that can't be done with rofi
I guess so, do file the PR then I'll have a closer look ^^
Checklist before submitting an issue
Description of the bug
On X11 + GTK a window is declared as as
gtk::WindowType::Popup
GTK will refuse to focus the window making the input field unusable.Reproducing the issue
An example script
Expected behaviour
No response
Additional context
No response