commit 81cee7dfb814ef9bc20d3b7a4623f78c83ca015b parent bcd3c47533ba56c9f64ad0691d0df7a7fe0e85f4 Author: Michael Forney <mforney@mforney.org> Date: Sat, 8 Feb 2014 00:23:29 -0800 Minor documentation changes Diffstat:
M | libswc/compositor.c | | | 2 | +- |
M | libswc/screen.h | | | 4 | ++++ |
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/libswc/compositor.c b/libswc/compositor.c @@ -589,7 +589,7 @@ void swc_compositor_surface_hide(struct swc_surface * surface) if (!view->visible) return; - /* Update all the outputs the surface was on. */ + /* Update all the screens the view was on. */ update(&view->base); damage_below_view(view); diff --git a/libswc/screen.h b/libswc/screen.h @@ -35,6 +35,10 @@ struct pixman_region32; struct screen_modifier { + /** + * Takes the screen geometry and sets 'usable' to the usable region of the + * screen. 'usable' is an already initialized pixman region. + */ void (* modify)(struct screen_modifier * modifier, const struct swc_rectangle * geometry, struct pixman_region32 * usable);