I think layout_all is probably a good place to start working on this
feature, here:
https://github.com/qtile/qtile/blob/48386db09dd501bc0a60ee28a9df550d0527a26f/libqtile/group.py#L143

But it's not sufficient as we also need to handle this Z-axis when clients
are mapped or moved around. Also, bring_to_front and other places where
StackMode.Above is used will have to be changed so that they use this new
abstraction.

Le dim. 26 juil. 2020 à 22:20, tcld <[email protected]> a écrit :

> Thanks for the information. I really haven't looked too deeply into qtiles
> code so far, so this might be too much to tackle all by myself at the
> moment; do you have any pointers where to start or what files to look at?
>
> I have seen the link you just added to the issue, and I'll try to dig into
> this tomorrow after work.
>
> On Sunday, 26 July 2020 22:04:52 UTC+2, Guillaume Gelin wrote:
>>
>> Yep, doesn't exist yet.
>>
>> https://github.com/qtile/qtile/issues/753
>>
>> Le dim. 26 juil. 2020 à 21:43, tcld <[email protected]> a écrit :
>>
>>> I started experimenting with fake screens and found a number of
>>> interesting use-cases (see below), but for each of the things I want to do
>>> with them I am lacking control over where the windows of the fake screens
>>> are positioned (i.e. on top or not).
>>>
>>> I saw the example configuration for fake screens, but really nothing
>>> beyond that. What I want to do is the following:
>>>
>>>    1. Have PIP functionality (picture-in-picture)
>>>    A fake screen is overlapping with another (fake) screen so I can
>>>    have a video in "full screen" on the overlapping screen while using a
>>>    fullscreen application.
>>>    2. Have a fake screen span all my monitors
>>>    Related to this: Windows spanning multiple screens?
>>>    <https://groups.google.com/forum/#!topic/qtile-dev/TtvXPivA_eY>
>>>    This is something I need for certain applications that make use of
>>>    multiple screens (mostly xfreerdp).
>>>
>>> For both of these fake screens I have created groups that use the
>>> max-layout, and the groups are assigned to the fake screens on startup
>>> (that was surprisingly difficult to figure out).
>>>
>>> To describe my problems with this, let's use the following simplified
>>> example:
>>> fake_screens = [
>>>     Screen(x=0, y=0, height=1080, width=1920),  # S1
>>>     Screen(x=1280, y=720, height=360, width=640)  # F1
>>> ]
>>>
>>> Now if I open two windows on S1 and move one of them to F1, I get a
>>> perfect PIP-effect. If I move the window to F1 first and then open another
>>> one on S1, the latter will be overlaying the one from F1. There seems to be
>>> some kind of stack of managed qtile-windows where windows are inserted
>>> whenever they are opened.
>>>
>>> I would love the fake-screens to have an additional setting: "priority".
>>> The possible settings would be "always" (all windows of the screen will
>>> always be at the top of the stack), "standard" (what we have now) and
>>> "focused" (all windows of the screen will be at the top of the stack while
>>> the screen has focus).
>>>
>>> My assumption is that this kind of functionality doesn't exist yet, so I
>>> would very much appreciate any kinds of hints so I can take a look at
>>> implementing this additional setting.
>>>
>>> (By the way, and maybe this is worth an issue: While experimenting I
>>> stumbled over the "screen_affinity" of groups and couldn't figure out what
>>> the setting was supposed to do. Is this just complicated to use or might it
>>> be broken?)
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "qtile-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/qtile-dev/fa498122-8b86-42a8-97ba-e7a20adae6c9o%40googlegroups.com
>>> <https://groups.google.com/d/msgid/qtile-dev/fa498122-8b86-42a8-97ba-e7a20adae6c9o%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "qtile-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qtile-dev/00379c1d-53bc-4aa3-a25c-acdee3a8fca0o%40googlegroups.com
> <https://groups.google.com/d/msgid/qtile-dev/00379c1d-53bc-4aa3-a25c-acdee3a8fca0o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/CAPn4x%2BoNFG4HhTZ%2BGV9Ah5zDjGQ8yNapN%2BU862x_zyMHhj6Y9w%40mail.gmail.com.

Reply via email to