Coder Social home page Coder Social logo

no window decoration on gnome about havoc HOT 5 CLOSED

soloturn avatar soloturn commented on August 18, 2024
no window decoration on gnome

from havoc.

Comments (5)

ii8 avatar ii8 commented on August 18, 2024

That is correct, I don't plan to add window decorations.
Often you don't want decorations on your terminal, for example when using a tiling WM, if you do want them you could use another terminal like gnome-terminal.
And adding decorations that are themed correctly would involve adding a dependency on GTK which goes against the goal to keep it minimal.

from havoc.

Consolatis avatar Consolatis commented on August 18, 2024

Would you be up for accepting a PR which implements the xdg-decoration protocol?
With that protocol (~ 13 lines of code added in its simplest form), havoc can request whatever decoration the compositor prefers (e.g. client -> no decoration or server -> server side ones).

It could also be enhanced to react to a config setting to always prefer server side or no decorations, regardless of what the compositor prefers. If the compositor does not support the xdg-decoration protocol no change in behavior is expected.

from havoc.

ii8 avatar ii8 commented on August 18, 2024

Sure, don't see why not.

from havoc.

Consolatis avatar Consolatis commented on August 18, 2024

Alright, will send one a the following days.
Should the PR include the config option so users can switch between no and server-side decorations?

from havoc.

ii8 avatar ii8 commented on August 18, 2024

I don't need the feature or the config option personally, maybe there is some scenario where it's useful for some people? I'm not sure. I think you probably know better than me since it looks like you worked with the protocol a lot recently. I'll merge it either way.

from havoc.

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.