Allow clicking on top panel to return to home screen
authorJimmy Huang <jimmy.huang@intel.com>
Thu, 28 Feb 2013 00:06:39 +0000 (16:06 -0800)
committerOssama Othman <ossama.othman@intel.com>
Fri, 19 Apr 2013 22:59:50 +0000 (15:59 -0700)
commit56b5ece2cf6c15d6bb4d408e3167af6c3e418e40
treef35189032de2cd990ccd1c3b92f9689d4ea55d0a
parentf149a8926d971f759b1faf2adf0b6bf242be1daa
Allow clicking on top panel to return to home screen

This is a work-around solution to allow us to return to the home screen in wayland since
there's no home button.

1. Defined new 'show_homescreen' request in desktop shell protocol.
2. Added handling in weston-shell to handle when show_homesreen is called, it raises
the surface belongs to the home screen (which is the org.tizen.menu-screen).
3. Registered click event when you click on the top launcher panel in the desktop shell,
it will return to the home screen, since the top launcher panel is always present in the
desktop shell client.

Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
clients/desktop-shell.c
protocol/desktop-shell.xml
src/shell.c