summaryrefslogtreecommitdiff
path: root/src/vmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vmon.c')
-rw-r--r--src/vmon.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/vmon.c b/src/vmon.c
index c554a50..d31af2d 100644
--- a/src/vmon.c
+++ b/src/vmon.c
@@ -383,16 +383,16 @@ static void vmon_process_event(vmon_t *vmon)
XNextEvent(vmon->xserver->display, &ev);
switch (ev.type) {
- case ConfigureNotify:
- vmon_resize(vmon, ev.xconfigure.width, ev.xconfigure.height);
- vwm_overlay_compose(vmon->overlays, vmon->overlay, NULL);
- vwm_overlay_render(vmon->overlays, vmon->overlay, PictOpSrc, vmon->picture, 0, 0, vmon->width, vmon->height);
- break;
- case Expose:
- vwm_overlay_render(vmon->overlays, vmon->overlay, PictOpSrc, vmon->picture, 0, 0, vmon->width, vmon->height);
- break;
- default:
- VWM_TRACE("unhandled event: %x\n", ev.type);
+ case ConfigureNotify:
+ vmon_resize(vmon, ev.xconfigure.width, ev.xconfigure.height);
+ vwm_overlay_compose(vmon->overlays, vmon->overlay, NULL);
+ vwm_overlay_render(vmon->overlays, vmon->overlay, PictOpSrc, vmon->picture, 0, 0, vmon->width, vmon->height);
+ break;
+ case Expose:
+ vwm_overlay_render(vmon->overlays, vmon->overlay, PictOpSrc, vmon->picture, 0, 0, vmon->width, vmon->height);
+ break;
+ default:
+ VWM_TRACE("unhandled event: %x\n", ev.type);
}
}
© All Rights Reserved