compositor: Fix a couple comment typos

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
dev
Bryce Harrington 9 years ago committed by Pekka Paalanen
parent f05d18f3ee
commit c2be85777e
  1. 2
      src/compositor-fbdev.c
  2. 4
      src/compositor.h

@ -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. */

@ -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 */
};

Loading…
Cancel
Save