Comments (5)
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.
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.
Sure, don't see why not.
from havoc.
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.
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)
- havoc with no command line option and multiple program args does nothing HOT 1
- Global config file HOT 4
- musl: nonspacing.h has different content in upstream HOT 1
- libtsm is unmaintained since 2014. what alternatives do exist? HOT 3
- valgrind: ioctl has no size/direction hints HOT 3
- havoc leaks memory on simple start and termination HOT 3
- maximizing window sends SIGABRT which segfaults afterwards HOT 9
- scrolling many lines at once (ie inside vim/neovim) is very, very slow in comparison to st HOT 4
- terminal codes for adjusting screen by vim dont work HOT 3
- arch linux pacman progress bars offset one line HOT 2
- havoc doesn't display alsamixer / ncurses box-drawing characters correctly with RobotoMono font HOT 5
- Havoc not support vim's ttymouse to resize vim's window and move focus by tap on vim.. HOT 2
- Can't copy and paste between havoc and qt applications HOT 3
- Havoc won't display system cursor. HOT 7
- Bold is not bright.
- Run as a login shell HOT 6
- yes command causes "Broken pipe" errors in terminal HOT 7
- clicking on word/line does not select it HOT 2
- Open with executing scripts HOT 2
- CJK font support HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from havoc.