diff options
author | rathnor <rathnor> | 2004-05-03 13:45:23 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-05-03 13:45:23 (GMT) |
commit | a969d7fdff797f5f69665f07f8ac2e0247834ee6 (patch) | |
tree | 663e3df1ee828553b554a5ac5259ab4bc370df05 /src | |
parent | b872c2e0c03c60c875095a405715d747d20a5e96 (diff) | |
download | fluxbox_pavel-a969d7fdff797f5f69665f07f8ac2e0247834ee6.zip fluxbox_pavel-a969d7fdff797f5f69665f07f8ac2e0247834ee6.tar.bz2 |
tweak the remap fix. Scott pointed out that the xevent isn't actually
filled in there. Lets try it just checking !remap...
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Window.cc b/src/Window.cc index 6630226..e8cdf32 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.285 2004/05/02 21:08:28 fluxgen Exp $ | 25 | // $Id: Window.cc,v 1.286 2004/05/03 13:45:23 rathnor Exp $ |
26 | 26 | ||
27 | #include "Window.hh" | 27 | #include "Window.hh" |
28 | 28 | ||
@@ -3145,9 +3145,8 @@ void FluxboxWindow::restore(WinClient *client, bool remap) { | |||
3145 | // reparent to root window | 3145 | // reparent to root window |
3146 | client->reparent(screen().rootWindow().window(), frame().x(), frame().y()); | 3146 | client->reparent(screen().rootWindow().window(), frame().x(), frame().y()); |
3147 | 3147 | ||
3148 | if (xev.xreparent.send_event && !remap) { | 3148 | if (!remap) |
3149 | client->hide(); | 3149 | client->hide(); |
3150 | } | ||
3151 | } | 3150 | } |
3152 | 3151 | ||
3153 | if (remap) | 3152 | if (remap) |