From e8cd95789810bc9efb7961f553e99f0c2eaa0cd0 Mon Sep 17 00:00:00 2001 From: Luke from DC Date: Tue, 11 Jul 2023 10:02:50 +0000 Subject: Clock applet/wayland: position calendar window same as in x11 * Clock applet/wayland: position calendar window same as in x11 - Wayland/clock: fix calendar window rendering when moved Ensure the calendar window cannot be "stretched" across the screen if the panel or the applet is moved while the calendar is showing --- applets/clock/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'applets/clock/Makefile.am') diff --git a/applets/clock/Makefile.am b/applets/clock/Makefile.am index c452fab9..e145dd5f 100644 --- a/applets/clock/Makefile.am +++ b/applets/clock/Makefile.am @@ -67,6 +67,14 @@ libclock_applet_la_LIBADD = $(CLOCK_LDADD) libclock_applet_la_LDFLAGS = -module -avoid-version libclock_applet_la_CFLAGS = $(AM_CFLAGS) $(libclock_applet_la_OBJECTS): $(BUILT_SOURCES) + +if ENABLE_WAYLAND +libclock_applet_la_LIBADD += \ + $(WAYLAND_LIBS) + +AM_CPPFLAGS += \ + $(WAYLAND_CFLAGS) +endif else APPLET_IN_PROCESS = false APPLET_LOCATION = $(libexecdir)/clock-applet -- cgit v1.2.1