Code Monkey home page Code Monkey logo

Comments (7)

ddevault avatar ddevault commented on June 28, 2024

👍

Would particularly like to override borders. I would say that the things you mentioned (border, background) are both probably the domain of the consumer of this library, and don't really belong in the library itself.

Edit: that's not to say that wlc shouldn't provide facilities to the consumer for actually doing those things, I think that's fine and actually quite nice. But providing a default behaviour is probably not great.

from wlc.

Cloudef avatar Cloudef commented on June 28, 2024

Background most likely moves to be a wayland client. Drawing borders, focus or other view related things and effects though makes sense inside compositor. Wlc will not provide facilities for drawing itself, you must choose library yourself for that.

from wlc.

ddevault avatar ddevault commented on June 28, 2024

That seems fine. I'm just looking for a way to get rid of the default borders and close/max/min buttons and so on. The background as a wayland client makes sense, too.

from wlc.

Cloudef avatar Cloudef commented on June 28, 2024

For those, you can't get rid of those until somebody stands up with a protocol extension for that. Client draws those borders, and currently there is no way to communicate between compositor/client to not do that.

from wlc.

ddevault avatar ddevault commented on June 28, 2024

Oh, so those aren't wlc's domain?

from wlc.

Cloudef avatar Cloudef commented on June 28, 2024

Nope, wlc borders would be the server-side borders. The thing Weston does for Xwayland clients. Weston test applications and GTK draw client side borders.

from wlc.

ddevault avatar ddevault commented on June 28, 2024

I see. Thanks for clarifying.

from wlc.

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.