Fix startup trouble (again).

SVN revision: 12870
This commit is contained in:
Kim Woelders 2005-01-10 20:21:57 +00:00
parent 7abca3de32
commit 15f173886a
3 changed files with 6 additions and 5 deletions

View File

@ -384,6 +384,10 @@ DeskCreate(int desk, int add_controls)
{
EoSetFloating(d, 1);
EobjListStackAdd(&d->o, 0);
#if 0 /* TBD */
d->event_mask = EDESK_EVENT_MASK;
DeskEventsConfigure(d, 1);
#endif
}
EventCallbackRegister(win, 0, DesktopHandleEvents, d);
@ -393,8 +397,6 @@ DeskCreate(int desk, int add_controls)
DeskControlsShow(d);
}
DeskEventsConfigure(d, 1);
{
Background **lst;
int num;

View File

@ -234,9 +234,6 @@ main(int argc, char **argv)
/* Unmap the clients */
MapUnmap(0);
/* Flush (get rid of unmap events) */
XSync(disp, True);
ModulesSignal(ESIGNAL_INIT, NULL);
/* Move elsewhere... */

View File

@ -69,6 +69,8 @@ MapUnmap(int start)
}
}
}
/* Flush (get rid of unmap events) */
XSync(disp, True);
ecore_x_ungrab();
break;
case 1: