a little code simplification

This commit is contained in:
markt 2006-07-13 04:48:03 +00:00
parent f8e5668313
commit a7da03c022

View file

@ -513,11 +513,11 @@ void FluxboxWindow::init() {
bool place_window = (m_old_pos_x == 0);
if (fluxbox.isStartup() || m_client->isTransient() ||
if (fluxbox.isStartup())
place_window = false;
else if (m_client->isTransient() ||
m_client->normal_hint_flags & (PPosition|USPosition)) {
if (! fluxbox.isStartup()) {
int real_x = frame().x();
int real_y = frame().y();
@ -527,9 +527,6 @@ void FluxboxWindow::init() {
real_y <= (signed) screen().height())
place_window = false;
} else
place_window = false;
}
/*
if (wattrib.width <= 0)