Comments (2)
I have started in on this.
I've added a System6
configuration option which is mutually exclusive with the System8
option (and will error if you try to use both at once). I also took a first pass of implementing checks for whether we're in System6
mode whenever we're checking Scr.d_depth
. That gets us menus rendering correctly as monochrome (sans icons, which are rendered at the native colour depth), but windows & controls are still rendered in the System 7 grayscale style. This is because the colours are set in InitGCs()
in mlvwm.c
, but that gets called before ReadConfigFile()
, so we don't know we're in System6
mode at the time.
At this point I see two options: re-initialize the colours (maybe by just re-running InitGCs()
after ReadConfigFile()
, unless that'll not free the colours and cause a memory leak) or updating all the rendering calls to render the three styles instead of just the two. I'll see if I can make the first option work reasonably first.
from mlvwm.
While calling InitGCs()
after ReadConfigFile()
does work as a quick-n-dirty hack, window controls and such are not actually rendered in a System 6 style (just a monochrome System 7 style. So, I need to think how far I want to take this.
from mlvwm.
Related Issues (20)
- Initial click in inactive window is lost HOT 2
- xdotool can't move windows HOT 2
- Does not compile on FreeBSD: fatal error: ' X11 .rules' file not found HOT 5
- Doesn't start HOT 5
- ShortCut doesn't seem to support Exec commands HOT 1
- Xephyr test failed HOT 2
- Miss font loading takes a lot of time HOT 1
- Update README to reflect the updated AUR HOT 1
- The font is looking wrong, is there any way to fix it? HOT 1
- xap not working well together HOT 4
- netwmpager reports "NetWM compatible window manager not running" HOT 2
- Applications swallowed into menu bar which resize overdraw other swallowed applications
- startx segmentation fault HOT 1
- Hangs up after loading resources HOT 1
- Consider adding dynamic applications menus or menu items HOT 2
- Segmentation fault, when start. HOT 9
- Add configuration option to remove window shadows HOT 1
- Switch build system away from imake HOT 1
- `Style` commands don't search `WM_WINDOW_ROLE` X window properties
- Add `Menu` command label option to show `SendMessage` keyboard shortcuts
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 mlvwm.