大家好:
我修改了uxlaunch代码,换成我设计的新窗口,重启后鼠标光标不见了,谁知道是
什么原因?

修改desktop.c void autostart_panels(void)函数中代码,修改后代码如下:

void autostart_panels(void)
{
[ .... ]
desktop_entry_add( "/usr/bin/test_app", -1 );
/*
desktop_entry_add("/usr/libexec/moblin-panel-myzone", -1);
desktop_entry_add("/usr/libexec/moblin-panel-status", 0);
desktop_entry_add("/usr/libexec/moblin-panel-people", 0);
desktop_entry_add("/usr/libexec/moblin-panel-internet", 0);
desktop_entry_add("/usr/libexec/moblin-panel-media", 1);
desktop_entry_add("/usr/libexec/moblin-panel-pasteboard", 0);
desktop_entry_add("/usr/libexec/moblin-panel-applications", 1);
*/
}


修改desktop.c void start_desktop_session(void)函数中代码,修改后代码如下:
void start_desktop_session(void)
{
/* deleted by weijia 20100318
don't start /usr/bin/mutter --sm-disable

memset(ptrs, 0, sizeof(ptrs));

ptrs[0] = strtok(session, " \t");
while (ptrs[count] && count < 255)
ptrs[++count] = strtok(NULL, " \t");

ret = execv(ptrs[0], ptrs);

if (ret != EXIT_SUCCESS)
lprintf("Failed to start %s", session);
*/
}

Regards
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org 
once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to