Comments (8)
hm.. you are right. We do not update the layershell background layer for new exclusive zones.
This has to be fixed. Thanks for the report!
from labwc.
Labwc does support layershell exclusive zones. But labwc does not prevent windows to be on top of it / under it when manually positioned. We do prevent automatically calculated geometry like maximized / tiled windows to overlap the exclusive zone however. How exactly is the "desktop background with icons" positioned and sized / does it use layershell as well?
from labwc.
The desktop is a layer-shell window which is anchored to all four edges of the screen and set to the background layer; the panel is a layer-shell window which is anchored to either the top or bottom of the screen and with exclusive zone set.
from labwc.
Just found this in the wlroots sources:
// If the exclusive zone is set to -1, the layer surface will use the
// full area of the output, otherwise it is constrained to the
// remaining usable area.
swaybg for example sets it to -1
which results in not reacting to exclusive zone clients.
There is also an issue in labwc in that we calculate the usable area starting from bottom layer to overlay layer so that even with manually hacking wlroots to always use the usable area it would still not work for non-exclusive background layers with exclusive bottom or top layer clients.
The following PR should fix the issue:
Testing welcome.
from labwc.
Tested here - fixes my problem! Many thanks for the very prompt fix.
from labwc.
Thanks for testing. We have a no-self-merge policy (unless its a crash fix or some minor stuff) so it might take a bit to have the fix in the master branch.
from labwc.
No problem at all - we're not in any hurry!
Thanks again.
from labwc.
Closing as patch fixes the issue.
from labwc.
Related Issues (20)
- LCD backlight remains on when laptop lid closed HOT 2
- Extra indicators for the window state HOT 3
- Add resistance option for tiled windows HOT 3
- shadows of qt windows HOT 2
- Monitor configuration when in greeter HOT 6
- Controls in GTK2 applications (Tried in GIMP) don't work or if they work, just barely HOT 9
- Magnifier doesn't work with full-screen surfaces (direct scanout?) HOT 22
- Choose wlroots version when compiling HOT 9
- max_toggled button should fallback to max HOT 1
- 0.7.3: Tablet: Thunar always makes multi selection on left click HOT 2
- way to customize CapsLock behavior? HOT 2
- Stylus input doesn't rotate. HOT 8
- Doubled shortcuts depending on layout HOT 2
- chromium won't open fully maximized on launch HOT 29
- last version doesn't work HOT 1
- single-clicking on chromium's titlebar unmaximizes/untiles the window. HOT 1
- labwc is not detecting mouse clicks while the cursor is moving HOT 3
- Application menus open in incorrect location when portion of window overlaps multiple outputs HOT 7
- Xwayland doesn't work in fullscreen HOT 8
- Document the `format` attribute for custom window switcher format strings
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 labwc.