Could we get it added it to WindowInfo please. I am currently working on a plugin that will save window states (position,size,etc) and would like to be able to find which plugin created a window.
I haven't personally made any miniwindows, but from what I've seen experienced plugin writers assign things like that to a variable and then use the variables as arguments to the function they are using, WindowCreate, for example. If the plugin itself saves it's state this shouldn't be needed. If it doesn't, the value of these variables can be saved in client variables and retrieved later by the plugin.
How are you planning to use this information once you get it?
I'm curious because I'm putting everything for my curing system into one plugin.
The plugin ID, by convention, is supposed to be part of the miniwindow ID, to avoid clashes with other plugins. However it possibly would not be the first or last part of the name.
I've added selector 23 to WindowInfo for version 4.82 which will have this information.
Yes, I will use the plugin id. The plan is to query the plugins for certain functions and if those functions exist, call those functions with the new states. For example, if the plugin is using Nick's movewindow.lua, I will call movewindow.save_state(windowid) and it will save the new coords. There will be similar functionality for plugins that I write.