Coder Social home page Coder Social logo

Comments (9)

guotsuan avatar guotsuan commented on June 21, 2024

Hi blueyed,

revelation suppose to restore the window layout of every client after you select.
Could you tell me what your awesome window layout is, when it happened.
And Besides the your select client, e.g. Vim, have the layout of other clients without focus been restored?

Thank you very much.

from awesome-revelation.

blueyed avatar blueyed commented on June 21, 2024

@guotsuan
I wasn't clear enough: the awesome window layout is not affected, but the internal window/split layout in Vim: I have updated the issue's description - please re-read.

from awesome-revelation.

guotsuan avatar guotsuan commented on June 21, 2024

Thanks @blueyed, I think I unstood the problem now.

from awesome-revelation.

blueyed avatar blueyed commented on June 21, 2024

I have no idea how that might get solved though.
For Vim in particular, it could be made to ignore the resize event maybe and/or be scripted to restore itself via the VimResized autocommand somehow.

The main issue appears to be that revelation resizes the windows though: it would be nice, if some kind of pixmaps of the clients could be used instead.

from awesome-revelation.

blueyed avatar blueyed commented on June 21, 2024

I have just seen that there's content (a client's screenshot) in the client API: http://awesome.naquadah.org/doc/api/modules/client.html#client

from awesome-revelation.

guotsuan avatar guotsuan commented on June 21, 2024

Thank you @blueyed for the heads up.
I think the way that you proposed is the also the best way I can image for now.
The only thing I am worried is that the taking the screenshot and using them rather than the real windows of clients could be much complicated than directly using the windows of clients.
Currently, revelation is only a simple awesome extending module. I hope I can implement this idea without introducing other dependencies.

.

from awesome-revelation.

blueyed avatar blueyed commented on June 21, 2024

I think that using the content property might be quite effective, in contrast to automatically calling some external program on each client at least.

from awesome-revelation.

guotsuan avatar guotsuan commented on June 21, 2024

I just checked the content property. I'm afraid that this field is empty unless you fill it specifically.
One may still have to fill this field by some external program. Please correct me if I am wrong.

from awesome-revelation.

blueyed avatar blueyed commented on June 21, 2024

Yes, I had asked about it on IRC already.

psychon | client.content has undefined content for the parts of the client that aren't currently visisble
psychon | not that useful for an expose effect

from awesome-revelation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.