From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: [E-devel] [Patch][e] add code to check e_config->geometry_auto_move before moving a window in e_border.c In e, there is a configuration value - geometry_auto_move - which determines whether e moves the window to useful geometry automatically or not. In my opinion, if this is 0, then e doesn't move the window automatically. However, e always moves the window automatically because there is no code to check the geometry_auto_move value in _e_border_eval(). So, I added code to check e_config->geometry_auto_move in _e_border_eval(). SVN revision: 73191
This commit is contained in:
parent
4cea03da00
commit
f5d13fd6af
|
@ -7705,6 +7705,8 @@ _e_border_eval(E_Border *bd)
|
||||||
* are moved to useful positions.
|
* are moved to useful positions.
|
||||||
*/
|
*/
|
||||||
// ->
|
// ->
|
||||||
|
if (e_config->geometry_auto_move)
|
||||||
|
{
|
||||||
if (bd->x < zx)
|
if (bd->x < zx)
|
||||||
bd->x = zx;
|
bd->x = zx;
|
||||||
|
|
||||||
|
@ -7724,6 +7726,12 @@ _e_border_eval(E_Border *bd)
|
||||||
bd->placed = 1;
|
bd->placed = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
bd->changes.pos = 1;
|
||||||
|
bd->placed = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
if (!bd->placed)
|
if (!bd->placed)
|
||||||
{
|
{
|
||||||
/* FIXME: special placement for dialogs etc. etc. etc goes
|
/* FIXME: special placement for dialogs etc. etc. etc goes
|
||||||
|
|
Loading…
Reference in New Issue