chernikoff / eggwm

Automatically exported from code.google.com/p/eggwm
0 stars 0 forks source link

Titlebar: Maximize button issues (undo maximize, maximize under panel) #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It's commonly accepted defacto standard to have maximize button functionality:

- click to maximize - window will occupy all available one-screen space 
(implemented) [1]
- click to maximize again - window will restore it's original size (it's not 
implemented)

[1] - implemented, but maximized window takes all space on the screen. Even if 
there are some panels (razor-panel) or windows with _NET_WM_WINDOW_TYPE_DOCK 
atom is set. I know it's only optional hint for WM but it makes sense to use it 
as expected:

"_NET_WM_WINDOW_TYPE_DOCK indicates a dock or panel feature. Typically a Window 
Manager would keep such windows on top of all other windows."

Now the panel is always on top, but the space under it is still calculated into 
window's maximized space.

Original issue reported on code.google.com by yarpe...@gmail.com on 31 Jan 2011 at 2:50

GoogleCodeExporter commented 8 years ago
> click to maximize - window will occupy all available one-screen space 
(implemented) [1]

Yes is a TODO in the code, I need to actualize the _NET_WORKAREA hint.

> - click to maximize again - window will restore it's original size (it's not 
implemented)

Yes, this is the _NET_WM_STATE hint, I'll implement it.

Thanks!

Original comment by jose.exposito89@gmail.com on 31 Jan 2011 at 9:46