[TASK] Trivial libs related fixes (Was Re: [PATCH weston 2/6] libweston: Use the monotonic clock in weston_compositor_get_time)

2016-12-07 Thread Emil Velikov
Hi Dima, Your patch reminded me a few trivial fixes/cleanups. In case you/others feel like sorting out some low hanging fruit ;-) - wayland: bring WESTON_SEARCH_LIBS check for dlopen (libdl) and clock_gettime (librt). - weston: replace WESTON_SEARCH_LIBS([JPEG] ...) with PKG_CHECK_MODULES(JPEG,

Re: [PATCH weston 2/6] libweston: Use the monotonic clock in weston_compositor_get_time

2016-12-06 Thread Dima Ryazanov
On Tue, Dec 6, 2016 at 3:32 AM, Daniel Stone wrote: > Hi, > > On 5 December 2016 at 03:36, Dima Ryazanov wrote: > > (This is kind of a workaround, but perhaps the right thing to do > anyways.) > > > > The menu implementation in window.c needs to know the time of the event > that > > triggered th

Re: [PATCH weston 2/6] libweston: Use the monotonic clock in weston_compositor_get_time

2016-12-06 Thread Daniel Stone
Hi, On 5 December 2016 at 03:36, Dima Ryazanov wrote: > (This is kind of a workaround, but perhaps the right thing to do anyways.) > > The menu implementation in window.c needs to know the time of the event that > triggered the menu - however, the xdg-shell's show_window_menu API does not > give

[PATCH weston 2/6] libweston: Use the monotonic clock in weston_compositor_get_time

2016-12-04 Thread Dima Ryazanov
(This is kind of a workaround, but perhaps the right thing to do anyways.) The menu implementation in window.c needs to know the time of the event that triggered the menu - however, the xdg-shell's show_window_menu API does not give us that info. There doesn't seem to be an easy way to fake it bec