Startup applications - Don't slide in or place manually during e16 startup.
Broken somewhere in 1.0.12. This fix probably makes Mode.place.enable_features unnecessary.
This commit is contained in:
parent
e08c91b9a7
commit
89c1602253
|
@ -824,7 +824,7 @@ AddToFamily(EWin * ewin, Window xwin, int startup)
|
|||
y = EoGetY(ewin);
|
||||
|
||||
doslide = manplace = 0;
|
||||
if (Mode.place.enable_features > 0)
|
||||
if (Mode.place.enable_features > 0 && !ewin->state.snapstarted)
|
||||
{
|
||||
/* if set for borderless then dont slide it in */
|
||||
if (Conf.place.slidein &&
|
||||
|
|
|
@ -88,6 +88,7 @@ struct _ewin {
|
|||
char shaped;
|
||||
char shaded;
|
||||
|
||||
unsigned snapstarted:1; /* Started from snap cmd */
|
||||
unsigned identified:1;
|
||||
unsigned placed:1;
|
||||
unsigned iconified:1;
|
||||
|
|
|
@ -219,6 +219,12 @@ _SnapEwinFind(EWin * ewin)
|
|||
|
||||
/* If exec'ed by snap try matching command exactly */
|
||||
sn = (Snapshot *) ecore_list_find(ss_list, _SnapEwinFindMatchCmd, ewin);
|
||||
if (sn && sn->startup_id > 0)
|
||||
{
|
||||
/* Assuming we were started by snap */
|
||||
sn->startup_id = 0; /* Only the first time */
|
||||
ewin->state.snapstarted = 1;
|
||||
}
|
||||
|
||||
if (!sn)
|
||||
sn = (Snapshot *) ecore_list_find(ss_list, _SnapEwinFindMatch, ewin);
|
||||
|
|
Loading…
Reference in New Issue