-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
binded_output_name doesn't work correctly with counter_multi example #72
Comments
Yes, that is just designed for single layershell |
And is not possible to have this feature also for multi-layer applications? I created a fork with a "very horrible" workaround that seems to work. I notice that right now in the case of multiwindow application the
Changing this part is possible to use the specified Would be very nice to have an enum like:
|
This feature is used to make the single layershell to show on the target screen, the multi layer application was designed to always shown on multiple screens.. but it is easy to make it work. I think it is easy. What is your use case? |
https://github.com/waycrate/exwlshelleventloop/blob/master/layershellev%2Fsrc%2Flib.rs#L1935-L1935 https://github.com/waycrate/exwlshelleventloop/blob/master/layershellev%2Fsrc%2Flib.rs#L1662-L1665 Related logic is these two parts.. you can change these logic to is_single or the target screen is some |
This feature is good, you can make a pr for me. I will accept it. Sorry I cannot make this feature because these days my second screen is broken.. Now I only have one screen.. sorry |
I had to create a status bar that should be able to open other layer on the same monitor. Would be nice to have the ability to spawn the status bar on every monitor or on a specific monitor. |
Can you test this pr? Maybe it can fix your problem |
I will test it as soon as I can! Thank you soon much! |
It works! Also, I prefer to use the Having in the settings something like: enum Output { // to replace StartMode
Active, // binded_output_name: None, monitor_all_screen: false
All, // binded_output_name: None, monitor_all_screen: true
Target(String) // binded_output_name: Some, monitor_all_screen: false
} seems cleaner for me. But maybe you don't want to break the current lib API 😅 I notice some lag when I try to open a new window using |
I think your is better.. but then there will be a useless setting for single-layer application.. |
Well, the single-layer application doesn't have support to spawn multiple layers, so the |
ok, I have made some adjustment now, you can take a look |
Very nice! Thank you so much |
Ok, I will merge it, but I need help in another pr, about the scale.. I cannot solve that problem |
Settings binded_output_name in the counter_multi example doesn't produce any change.
The interface is rendered in all available monitors every time.
The text was updated successfully, but these errors were encountered: