diff options
Diffstat (limited to 'src/surface.c')
-rw-r--r-- | src/surface.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/surface.c b/src/surface.c index da3666d..18e6131 100644 --- a/src/surface.c +++ b/src/surface.c @@ -66,27 +66,11 @@ static int32_t get_exclusive_zone (struct Wlclock_surface *surface) if ( clock->exclusive_zone == 1 ) switch (clock->anchor) { case ZWLR_LAYER_SURFACE_V1_ANCHOR_BOTTOM: - case ZWLR_LAYER_SURFACE_V1_ANCHOR_BOTTOM - | ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT - | ZWLR_LAYER_SURFACE_V1_ANCHOR_RIGHT: case ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP: - case ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP - | ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT - | ZWLR_LAYER_SURFACE_V1_ANCHOR_RIGHT: - case ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT - | ZWLR_LAYER_SURFACE_V1_ANCHOR_RIGHT: return surface->dimensions.h; case ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT: - case ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT - | ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP - | ZWLR_LAYER_SURFACE_V1_ANCHOR_BOTTOM: case ZWLR_LAYER_SURFACE_V1_ANCHOR_RIGHT: - case ZWLR_LAYER_SURFACE_V1_ANCHOR_RIGHT - | ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP - | ZWLR_LAYER_SURFACE_V1_ANCHOR_BOTTOM: - case ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP - | ZWLR_LAYER_SURFACE_V1_ANCHOR_BOTTOM: return surface->dimensions.w; default: |