Comments (5)
Have you solved this issue?
from mate-netbook.
No, not in this version of MATE. I haven't tried 1.26 yet.
from mate-netbook.
I've just tried with MATE 1.26. The issue is still present. The results are:
- Marco (built-in: Xpresent): Works around 50% of the time
- Marco (No compositor), Marco (picom: Xrender), Marco (picom: GLX), Marco (picom: Hybrid): Works around 1 out of 20 times
from mate-netbook.
The problem seems to be with this conditional:
https://github.com/mate-desktop/mate-netbook/blob/v1.26.0/maximus/maximus-app.c#L306-L314
If I remove that then it always undecorates newly opened maximised windows.
But it incorrectly removes decoration for windows that can't be maximised, e.g. mate-tweak.
I'm not sure what to do with this but I get the following values with setvbuf(stdout, NULL, _IONBF, 0);
and printf("%d", ...)
:
actions: 521201
WNCK_WINDOW_ACTION_RESIZE: 2
WNCK_WINDOW_ACTION_MAXIMIZE_HORIZONTALLY: 16
WNCK_WINDOW_ACTION_MAXIMIZE_VERTICALLY: 32
WNCK_WINDOW_ACTION_MAXIMIZE: 16384
When it rarely undecorates a maximised window correctly then I get actions: 522231
. That comes from wnck_window_get_actions
, which returns window->priv->actions
, so I guess either the problem is in update_actions
or it's not called every time it should be. These are in libwnck
.
If I switch back to the default compositor then I always get 522231
(for windows that are allowed to be maximised).
from mate-netbook.
Adding actions |= WNCK_WINDOW_ACTION_RESIZE;
after this line: https://github.com/mate-desktop/mate-netbook/blob/v1.26.0/maximus/maximus-app.c#L307 seems to fix this. It's very likely not the correct way to do it but I don't see it causing any issues so far.
from mate-netbook.
Related Issues (20)
- mate-maximus undecorates maximized windows even though this option is disabled
- mate-maximus adds unneeded decoration to CSD windows HOT 5
- GTK3: Only the first application icon is visible HOT 1
- No underacorated Windows in Mate 1.12 HOT 2
- Applet doesn't work with additional themes HOT 2
- Migrate mate-netbook to GtkApplication HOT 1
- Add an unmaximize button next to the close button HOT 3
- Allow moving the "close" button to the left
- please add an option to disable the greying effect
- Add a minimize button
- If a non maximized window has focus the panel should still show the title of the topmost maximized window
- When "Undecorate maximized windows" is set, moving the window will only unmaximize
- [Feature Request]: mate-window-picker-applet - Show windows only for current workspace HOT 2
- New release at pre-release folder on server HOT 1
- CSD applications gain second decoration if started maximized, then unmaximized. HOT 1
- Segfault for mate-netbook 1.21.0 when running "bin/mate-maximus" and strange behaviour difference between mate-maximus --help and mate-maximus --version HOT 2
- mate-maximus with compiz causes pause while desktop loading HOT 2
- mate-netbook missing from mate-desktop 1.28.x release tarballs HOT 2
- Add man page for mate-maximus...
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 mate-netbook.