Bug 4876 - Action filter for iconic windows, uniconic windows.
Status: ASSIGNED
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: unspecified
Hardware: PC Linux
: P3 enhancement
Assignee: Dana Jansens
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2011-01-12 23:38 EST by carlosjosepita
Modified: 2013-12-03 21:50:27 EST
0 users

See Also:


Attachments
Iconics-in-focus-cycle-only-include-exclude.patch (12.30 KB, application/octet-stream)
2011-01-12 23:38 EST, carlosjosepita

Description carlosjosepita 2011-01-12 23:38:00 EST
Created attachment 2555 [details]
Iconics-in-focus-cycle-only-include-exclude.patch

Some people (at least me) prefer to think of iconified windows as if they were in a completely different focus cycle and not only pushed to the end of the current one. So I implemented this patch that allows to exclude iconified windows from the cycle, or inversely to restrict the cycle to include just icons in order to restore them. This is configured from a new child of Next/Previous Window actions:

<action name="NextWindow">
  <iconics>exclude</iconics>
</action>

where iconics is of type iconicmode declared as:

    <xsd:simpleType name="iconicmode">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="only"/>
            <xsd:enumeration value="include"/>
            <xsd:enumeration value="exclude"/>
        </xsd:restriction>
    </xsd:simpleType>

I would like to see something like this included in the trunk.
Comment 1 carlosjosepita 2011-01-12 23:56:06 EST
Forget to say that the default value for iconics is include, viz the usual openbox behavior.
Comment 2 Dana Jansens 2011-10-02 23:04:59 EDT
We'll be making this possible with our new window filtering for actions.. and it'll be a generic thing that can be used for all actions, not just specifically for focus cycling..
Comment 3 carlosjosepita 2013-12-03 21:50:27 EST
Dana, are there any news about window filtering?