commit | 57da4a822e4ae2b498c1e6915a9f5def04af84ea | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <ppaalanen@gmail.com> | Wed Nov 23 14:42:16 2011 |
committer | Pekka Paalanen <ppaalanen@gmail.com> | Wed Nov 23 14:43:43 2011 |
tree | f7dd66f0cd8154a845d91bf66f9889a62ba0ebae | |
parent | 56cdea96f067782b69e90573c7ec0dec3a9eb166 [diff] |
shell: introduce shell_surface_purpose Enumerate the different surface purposes for the shell: background, panel, lock surface, and normal (other) surfaces. Instead of testing wlsc_surface pointers against known pointers, check the purpose field. This change will ease implementing per-output background, panel, etc. when the number of "known" surface pointers grows dynamically. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>