From 5f819e8537f14d9f7ce29caf5e1ca45066c55508 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 10 Aug 2004 12:05:47 +0000 Subject: some debugmessages and minor fixes --- src/Window.cc | 16 ++++++++++------ src/Window.hh | 13 ++++++------- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/src/Window.cc b/src/Window.cc index fc990c8..b02cc79 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.293 2004/07/15 18:20:13 fluxgen Exp $ +// $Id: Window.cc,v 1.294 2004/08/10 12:05:47 fluxgen Exp $ #include "Window.hh" @@ -2188,7 +2188,6 @@ void FluxboxWindow::unmapNotifyEvent(XUnmapEvent &ue) { cerr<<__FILE__<<"("<<__FUNCTION__<<"): 0x"<window()<window()<reparent(screen().rootWindow().window(), frame().x(), frame().y()); + client->reparent(screen().rootWindow(), frame().x(), frame().y()); if (!remap) client->hide(); @@ -3197,8 +3197,10 @@ void FluxboxWindow::restore(WinClient *client, bool remap) { delete client; + #ifdef DEBUG - cerr<<__FILE__<<"("<<__FUNCTION__<<"): numClients() = "< @@ -411,8 +412,6 @@ private: void restoreGravity(); void setGravityOffsets(); void setState(unsigned long stateval, bool setting_up); - void upsize(); - void downsize(); // modifies left and top if snap is necessary void doSnapping(int &left, int &top); -- cgit v0.11.2