all repos — fluxbox @ da503e92475cd542f7b454d0f85ae1e3bf585604

custom fork of the fluxbox windowmanager

fix problems relating to windows reparenting themselves.
Fixes vncviewer switch to fullscreen. Maybe mplayer fullscreen issue
too?
rathnor rathnor
commit

da503e92475cd542f7b454d0f85ae1e3bf585604

parent

4b035f1d070582717620355895c9ce9967cbe8e4

3 files changed, 12 insertions(+), 4 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,6 +1,10 @@

(Format: Year/Month/Day) Changes for 0.9.6: *03/09/12: + * Fix a couple of issues related to windows reparenting themselves + to escape the WM. Hopefully fixes mplayer/vncviewer fullscreen + problems. (Simon) + fluxbox.cc Window.cc * Fix window gravity handling (Simon) - should fix some offset fullscreen issues FbWinFrame.hh/cc WinClient.hh/cc Window.cc
M src/Window.ccsrc/Window.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.224 2003/09/11 19:55:27 rathnor Exp $ +// $Id: Window.cc,v 1.225 2003/09/11 21:30:20 rathnor Exp $ #include "Window.hh"

@@ -2963,7 +2963,10 @@

int wx = frame().x(), wy = frame().y(); // not actually used here frame().gravityTranslate(wx, wy, -client->gravity(), true); // negative to invert - client->hide(); + // Why was this hide done? It broke vncviewer (and mplayer?), + // since it would reparent when going fullscreen. + // is it needed for anything? Reparent should imply unmap + //client->hide(); // restore old border width client->setBorderWidth(client->old_bw);
M src/fluxbox.ccsrc/fluxbox.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.188 2003/09/10 09:51:58 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.189 2003/09/11 21:30:20 rathnor Exp $ #include "fluxbox.hh"

@@ -873,7 +873,8 @@ cerr<<__FILE__<<"("<<__FUNCTION__<<") Focus out is not a FluxboxWindow !!"<<endl;

#endif // DEBUG } else { - + if (winclient == m_focused_window) + setFocusedWindow(0); } } break;