diff options
author | rathnor <rathnor> | 2003-09-11 21:30:20 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-09-11 21:30:20 (GMT) |
commit | da503e92475cd542f7b454d0f85ae1e3bf585604 (patch) | |
tree | fd7d6932f51e41d3b851b70adc289a7b22b5dd3f /src/Window.cc | |
parent | 4b035f1d070582717620355895c9ce9967cbe8e4 (diff) | |
download | fluxbox-da503e92475cd542f7b454d0f85ae1e3bf585604.zip fluxbox-da503e92475cd542f7b454d0f85ae1e3bf585604.tar.bz2 |
fix problems relating to windows reparenting themselves.
Fixes vncviewer switch to fullscreen. Maybe mplayer fullscreen issue
too?
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc index 763fd52..cd97f16 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Window.cc,v 1.224 2003/09/11 19:55:27 rathnor Exp $ | 25 | // $Id: Window.cc,v 1.225 2003/09/11 21:30:20 rathnor Exp $ |
26 | 26 | ||
27 | #include "Window.hh" | 27 | #include "Window.hh" |
28 | 28 | ||
@@ -2963,7 +2963,10 @@ void FluxboxWindow::restore(WinClient *client, bool remap) { | |||
2963 | int wx = frame().x(), wy = frame().y(); // not actually used here | 2963 | int wx = frame().x(), wy = frame().y(); // not actually used here |
2964 | frame().gravityTranslate(wx, wy, -client->gravity(), true); // negative to invert | 2964 | frame().gravityTranslate(wx, wy, -client->gravity(), true); // negative to invert |
2965 | 2965 | ||
2966 | client->hide(); | 2966 | // Why was this hide done? It broke vncviewer (and mplayer?), |
2967 | // since it would reparent when going fullscreen. | ||
2968 | // is it needed for anything? Reparent should imply unmap | ||
2969 | //client->hide(); | ||
2967 | 2970 | ||
2968 | // restore old border width | 2971 | // restore old border width |
2969 | client->setBorderWidth(client->old_bw); | 2972 | client->setBorderWidth(client->old_bw); |