aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-05-03 13:45:23 (GMT)
committerrathnor <rathnor>2004-05-03 13:45:23 (GMT)
commita969d7fdff797f5f69665f07f8ac2e0247834ee6 (patch)
tree663e3df1ee828553b554a5ac5259ab4bc370df05
parentb872c2e0c03c60c875095a405715d747d20a5e96 (diff)
downloadfluxbox_paul-a969d7fdff797f5f69665f07f8ac2e0247834ee6.zip
fluxbox_paul-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...
-rw-r--r--src/Window.cc5
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)