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 | |
parent | 4b035f1d070582717620355895c9ce9967cbe8e4 (diff) | |
download | fluxbox_pavel-da503e92475cd542f7b454d0f85ae1e3bf585604.zip fluxbox_pavel-da503e92475cd542f7b454d0f85ae1e3bf585604.tar.bz2 |
fix problems relating to windows reparenting themselves.
Fixes vncviewer switch to fullscreen. Maybe mplayer fullscreen issue
too?
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.cc | 7 | ||||
-rw-r--r-- | src/fluxbox.cc | 5 |
2 files changed, 8 insertions, 4 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); |
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 94da4cb..16c4204 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.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: fluxbox.cc,v 1.188 2003/09/10 09:51:58 fluxgen Exp $ | 25 | // $Id: fluxbox.cc,v 1.189 2003/09/11 21:30:20 rathnor Exp $ |
26 | 26 | ||
27 | #include "fluxbox.hh" | 27 | #include "fluxbox.hh" |
28 | 28 | ||
@@ -873,7 +873,8 @@ void Fluxbox::handleEvent(XEvent * const e) { | |||
873 | #endif // DEBUG | 873 | #endif // DEBUG |
874 | 874 | ||
875 | } else { | 875 | } else { |
876 | 876 | if (winclient == m_focused_window) | |
877 | setFocusedWindow(0); | ||
877 | } | 878 | } |
878 | } | 879 | } |
879 | break; | 880 | break; |