fix problems relating to windows reparenting themselves. Fixes vncviewer switch to fullscreen. Maybe mplayer fullscreen issue too?
rathnor rathnor
3 files changed,
12 insertions(+),
4 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -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.cc
→
src/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.cc
→
src/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;