diff options
author | Bryce Harrington <bryce@osg.samsung.com> | 2015-12-11 13:11:37 -0800 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2015-12-22 14:36:48 +0200 |
commit | c2be85777efcc3bc1fcdf7085e1b15a9d06d6ad8 (patch) | |
tree | e98063709e07e5e55d683be0bea29d040555e09a | |
parent | f05d18f3ee8b7d25017bf3ca58561ec5ababbd63 (diff) |
compositor: Fix a couple comment typos
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-rw-r--r-- | src/compositor-fbdev.c | 2 | ||||
-rw-r--r-- | src/compositor.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/compositor-fbdev.c b/src/compositor-fbdev.c index 8cffb6c4..f7782d85 100644 --- a/src/compositor-fbdev.c +++ b/src/compositor-fbdev.c @@ -724,7 +724,7 @@ session_notify(struct wl_listener *listener, void *data) /* If we have a repaint scheduled (from the idle handler), make * sure we cancel that so we don't try to pageflip when we're * vt switched away. The OFFSCREEN state will prevent - * further attemps at repainting. When we switch + * further attempts at repainting. When we switch * back, we schedule a repaint, which will process * pending frame callbacks. */ diff --git a/src/compositor.h b/src/compositor.h index a427088e..28486745 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -564,10 +564,10 @@ struct weston_seat { }; enum { - WESTON_COMPOSITOR_ACTIVE, + WESTON_COMPOSITOR_ACTIVE, /* normal rendering and events */ WESTON_COMPOSITOR_IDLE, /* shell->unlock called on activity */ WESTON_COMPOSITOR_OFFSCREEN, /* no rendering, no frame events */ - WESTON_COMPOSITOR_SLEEPING /* same as offscreen, but also set dmps + WESTON_COMPOSITOR_SLEEPING /* same as offscreen, but also set dpms * to off */ }; |