The property wasn't being set properly (both value and crucially number of elements were wrong), leading to an assert in debug chromium.
Signed-off-by: Jussi Kukkonen <jussi.kukko...@intel.com> --- src/ewmh.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ewmh.c b/src/ewmh.c index a736037..17ea48a 100644 --- a/src/ewmh.c +++ b/src/ewmh.c @@ -137,7 +137,8 @@ void ewmh_init_props(Wm *w) { long num_desktops = 1; - + long current_desktop = 0; + set_compliant(w); set_supported(w); @@ -147,7 +148,7 @@ ewmh_init_props(Wm *w) XChangeProperty(w->dpy, w->root, w->atoms[_NET_CURRENT_DESKTOP], XA_CARDINAL, 32, PropModeReplace, - (unsigned char *)&num_desktops, 0); + (unsigned char *)¤t_desktop, 1); } int -- 2.11.0 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto