Comments (7)
Welcome fellow adventurer!
Thanks for reporting this, could you fill us in with some details about OverrideRedirect
in xmobar
, or provide a link to the related docs? That would be great.
from leftwm.
No worries!
Here is the quick-start documentations: https://codeberg.org/xmobar/xmobar/src/branch/master/doc/quick-start.org
Here is where you would find info about OverrideRedirect: https://codeberg.org/xmobar/xmobar/src/branch/master/doc/quick-start.org#user-content-headline-9
It states in the doc:
overrideRedirect
If you're running xmobar in a tiling window manager, you might need to set this option to False so that it behaves as a docked application. Defaults to True
.
from leftwm.
Bumping this by adding that it causes a memory leakage in the leftwm-worker like discussed in the Discord server and high CPU usage on NixOS with the upstream flake
from leftwm.
So how would I go about fixing the memory leakage?
from leftwm.
So how would I go about fixing the memory leakage?
A quick workaround might be to leave it on true und set gutters
in your theme.
To actually debug, I would start reading the code behind overrideRedirect
to get an idea, where it interacts with X11 and next what the interaction ist with it set to false
.
In our code base you could follow the command flow of a dock
type window, but the information from the above research might help to find the entry point.
Iirc there are some measures against getting into in unfortunate update loop inside the main loop of leftwm-worker
, probably the way xmobar "enforces" Dock
window type circumvents those.
If you would be interested in fixing this bug, this would be most appreciated!
from leftwm.
Sorry for the late reply!
Honestly, school just started, and I probably won't have time for that. I'll try and see if I can find a solution, but I'll probably either set the gutter/margin like you said, or make a script that can toggle it (BTW quick question; Is it possible to change the gutter through a key-map or a command while running leftwm?)
I'll give an update if I find some sort of fix or what the problem is. If not, I'll post my workaround. Thanks
from leftwm.
Honestly, school just started, and I probably won't have time for that. I'll try and see if I can find a solution, but I'll probably either set the gutter/margin like you said, or make a script that can toggle it (BTW quick question; Is it possible to change the gutter through a key-map or a command while running leftwm?)
You can bind LoadTheme
as an external command to switch between a themefile with and without gutters, or put that in your toggle script.
from leftwm.
Related Issues (20)
- IncreaseMainHeight and DecreaseMainHeight or global "Resize" mode HOT 2
- ToggleMaximized hides docked windows HOT 2
- Leftwm won't build (on my machine) HOT 2
- System freezes when closing Thorium HOT 9
- Toml Colors File for Alacritty HOT 5
- [BUG] houdini 20 spawned parameter windows weird location and size HOT 5
- release 0.5.0 still reports version 0.4.2 HOT 2
- Separate leftwm(bin) target from the leftwm crate HOT 2
- «Too many open files» in error log leads to a high CPU usage when display is put to sleep / turned off HOT 1
- Wiki: Layouts Not Up to Date HOT 5
- Lefthk freezes when keybind program tries to aquire terminal buffer
- Focus disappears when removing several windows at a time HOT 4
- floating vs floating should restack when moving focus. HOT 7
- Unable to use with a portrait monitor HOT 3
- `default_height` and `default_width` in theme.ron are not used when `ToggleFloating` HOT 2
- Add a way to resize floating windows with the left mouse button.
- UI scaling realy weird when launching unreal editor HOT 2
- Scratchpad commands should support arguments HOT 6
- Replace flag
- detect new monitors / refresh detected monitors HOT 1
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 leftwm.