From 59edbbd15500d2acb6f19247ef7f7179fbcc4e92 Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Fri, 25 Feb 2022 17:37:46 +0100 Subject: [PATCH] Move the output name overlay to the bottom left The output name overlay renders on the top left by default. At the same time, wdisplays renders the output previews on its top left corner too. The results is that the overlay covered the output previews, making seeing it and interacting with it tricky. Moving the output name to the bottom left makes sure there's never any overlap between it and the draggable previews shows for each output. --- src/overlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/overlay.c b/src/overlay.c index ee6a243..0b2b2b2 100644 --- a/src/overlay.c +++ b/src/overlay.c @@ -132,7 +132,7 @@ void window_map(GtkWidget *widget, gpointer data) { &layer_surface_listener, output); zwlr_layer_surface_v1_set_anchor(output->overlay_layer_surface, - ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP | + ZWLR_LAYER_SURFACE_V1_ANCHOR_BOTTOM | ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT); resize(output);