tablet-shell: come back to life
authorTiago Vignatti <tiago.vignatti@intel.com>
Wed, 28 Mar 2012 10:04:02 +0000 (13:04 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 28 Mar 2012 13:37:17 +0000 (09:37 -0400)
commit0a38611e7deadc8c3dc4fc65111047c89e72ba8b
tree03623158c1462cfe284f15188131ddf1607035f1
parentfb6de223b258bea2b93105d0f550d308ec1096c7
tablet-shell: come back to life

A couple of fixes were made: Weston tablet-shell needed to use weston_layer,
so the compositor could rebuild the surface list correctly when repainting;
homescreen and locking are using the widget + window abstration of toytoolkit;
and widget_set_redraw_handler are being set for widgets redraw.

Also, it was given some basic meaning for lockscreen_button_handler, which
was completely disabled before. As a clean up, I updated the global listener
mechanism on tablet-shell client, using the regular way of registering a
handler instead wl_display_roundtrip -> wl_display_get_global.

Switcher still without code to proper work and the same for tablet-shell
clients, which are not launched.

krh: Edited to not scale down homescreen icons, use new load_cairo_surface()
for image loading.

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
clients/tablet-shell.c
src/tablet-shell.c