a little code simplification
This commit is contained in:
parent
f8e5668313
commit
a7da03c022
1 changed files with 9 additions and 12 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue