Re: Shade tiled frame

Tuomo Valkonen <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
On 2008-09-06, Carlos <[email protected]> wrote:
> I can't figure out a
> simple way to intercept this automatic shaded->unshaded transition so
> that I can restore the original frame mode as explained before. Could
> you give me a clue? I'm new to ion and still getting my way through the
> api.

It appears there's no hook that would notify of geometry change.
The unshaded state transition happens in the resize handler of the
frame (frame_fitrep), once the tiling managing it has decided that
its size needs to be changed.

You could add a (generic) region_fitrep_hook to be called on resizes,
or maybe an action to region_notify_hook, since no special parameters
need be passed. But perhaps it be simply better to internally (in the
C code) support sharing frames without a tab-bar by enabling it. But
that depends on an option choosing the tab-bar mode (inside, outside, 
shaped)... either patch may be accepted into ion3plus after review
(in particular of more detailed design decisions before the code is
even written).

-- 
Tuomo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.