diff options
author | Leon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de> | 2020-09-26 07:02:34 +0200 |
---|---|---|
committer | Leon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de> | 2020-09-26 07:02:34 +0200 |
commit | 6f5b697c3c9d0fbbba0f7aaf158c2da2ea48dcb2 (patch) | |
tree | e9fa64bc599724a2b6b69c18426bed54130536b7 /src/surface.c | |
parent | 3282c8faff80a1694621d7ce2d60cc04a266eabc (diff) | |
download | wlclock-6f5b697c3c9d0fbbba0f7aaf158c2da2ea48dcb2.tar.gz wlclock-6f5b697c3c9d0fbbba0f7aaf158c2da2ea48dcb2.tar.bz2 |
`--position` instead of `--anchor`
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: |