shell: Start implementing the popup surface type
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 5 Jan 2012 03:19:14 +0000 (22:19 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 6 Jan 2012 16:41:55 +0000 (11:41 -0500)
commitb3cca0a41130ff45b70b730cb8f2273dd91531a5
treed5e194f60ec466f2daa9bbcb1be17331dce3e3c4
parentdade64968ca00d31db24d3d8909cdf37699f842c
shell: Start implementing the popup surface type

This lands the basic behavior of the popup surface type, but there are still
a number of details to be worked out.  Mainly there's a hardcoded timeout
to handle the case of releasing the popup button outside any of the
client windows, which triggers popup_end if it happens after the timeout.
Maybe we just need to add that as an argument, or we could add a new event
that fires in this case to let the client decide whether it ends the popup
or not.
clients/desktop-shell.c
clients/resizor.c
clients/window.c
clients/window.h
src/shell.c