weston/clients
Armin Krezović c6a55dbf04 desktop-shell: make panel clock configurable
This patch enhances the panel clock by adding a config file
option which can be used to either disable the clock or make
it also show seconds in the current clock format.

v2: Implement suggestions from Pekka:
    - Include Signed-off-by
    - Coding style fixes
    - Implement clock widget allocation by using
      width from cairo_text_extents
    - Highlight config option values in man page
v3: Implement suggestions from Pekka and Bryce:
    - Use CLOCK_FORMAT_* instead of FORMAT_* in the enum
    - Switch to using fixed clock widget size instead
      of one returned from cairo_text_extents
    - Fixes to config option highlighting in the man page
v4: Implement more suggestions from Pekka and Bryce:
    - Improve patch changelog
    - Move the check for CLOCK_FORMAT_NONE into the
      caller function
    - Fix a memory leak in panel_create introduced by
      previous revision of this patch

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57583
Signed-off-by: Armin Krezović <armin.krezovic@fet.ba>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2016-03-10 14:58:16 -08:00
..
calibrator.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
clickdot.c Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -07:00
cliptest.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
desktop-shell.c desktop-shell: make panel clock configurable 2016-03-10 14:58:16 -08:00
dnd.c dnd: Turn into a full blown example 2016-01-19 12:34:36 +08:00
editor.c Use text input protocol from wayland-protocols 2015-11-19 13:07:10 +02:00
eventdemo.c Support axis source, axis discrete, frame and axis stop events 2016-01-19 12:33:26 +08:00
flower.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
fullscreen.c clients: Use zalloc 2016-03-09 22:54:54 -08:00
gears.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
image.c cosmetic: Remove a few double semicolons 2015-10-07 11:22:03 -07:00
ivi-shell-user-interface.c clients: Use zalloc 2016-03-09 22:54:54 -08:00
keyboard.c Use input method protocol from wayland-protocols 2015-11-19 13:17:59 +02:00
multi-resource.c clients: Use zalloc 2016-03-09 22:54:54 -08:00
nested-client.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
nested.c Moved the MIN() macro to the helper include. 2015-06-15 17:11:52 -07:00
presentation-shm.c clients: Use zalloc 2016-03-09 22:54:54 -08:00
resizor.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
scaler.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
screenshot.c Rename screenshooter protocol to weston_screenshooter 2015-11-19 15:07:24 +02:00
simple-damage.c clients: Use zalloc 2016-03-09 22:54:54 -08:00
simple-dmabuf-intel.c clients: Use zalloc 2016-03-09 22:54:54 -08:00
simple-dmabuf-v4l.c clients: Use zalloc 2016-03-09 22:54:54 -08:00
simple-egl.c Use xdg_shell protocol from wayland-protocols 2015-11-19 14:49:52 +02:00
simple-shm.c clients: Use zalloc 2016-03-09 22:54:54 -08:00
simple-touch.c Moved helper macro to a discrete include file. 2015-06-15 17:11:45 -07:00
smoke.c smoke: Don't post extra damage 2015-11-20 15:27:55 +02:00
stacking.c clients: Correct drawing glitch in stacking demo 2015-10-21 16:57:47 -05:00
subsurfaces.c clients: Use zalloc 2016-03-09 22:54:54 -08:00
terminal.c terminal: allow copy-paste when selection is scrolled out 2015-09-22 18:37:19 -07:00
transformed.c clients: Update boilerplate from MIT X11 license to MIT Expat licenses 2015-06-15 13:04:18 -07:00
weston-info.c clients: Use zalloc 2016-03-09 22:54:54 -08:00
weston-simple-im.c Use input method protocol from wayland-protocols 2015-11-19 13:17:59 +02:00
window.c clients: Use zalloc 2016-03-09 22:54:54 -08:00
window.h client: Add DnD cursors to the managed cursors list 2016-01-19 12:34:36 +08:00