Hello community, here is the log from the commit of package wlroots for openSUSE:Factory checked in at 2020-03-11 18:52:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wlroots (Old) and /work/SRC/openSUSE:Factory/.wlroots.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wlroots" Wed Mar 11 18:52:21 2020 rev:8 rq:783681 version:0.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/wlroots/wlroots.changes 2020-01-23 15:55:04.079099906 +0100 +++ /work/SRC/openSUSE:Factory/.wlroots.new.3160/wlroots.changes 2020-03-11 18:55:00.675665891 +0100 @@ -1,0 +2,9 @@ +Wed Mar 11 08:39:35 UTC 2020 - Michael Vetter <[email protected]> + +- Update to 0.10.1: + * xdg-shell: fix popups rendered outside of the screen + * meson: Fix protocol includes for compositor examples + * examples: Fix compositor-examples + * xwayland: ignore pointer focus changes + +------------------------------------------------------------------- Old: ---- 0.10.0.tar.gz New: ---- 0.10.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wlroots.spec ++++++ --- /var/tmp/diff_new_pack.ExrM6y/_old 2020-03-11 18:55:01.399666215 +0100 +++ /var/tmp/diff_new_pack.ExrM6y/_new 2020-03-11 18:55:01.403666217 +0100 @@ -1,7 +1,7 @@ # # spec file for package wlroots # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ %bcond_without xwayland %bcond_without xcb_errors Name: wlroots -Version: 0.10.0 +Version: 0.10.1 Release: 0 Summary: Modular Wayland compositor library License: MIT ++++++ 0.10.0.tar.gz -> 0.10.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wlroots-0.10.0/backend/wayland/meson.build new/wlroots-0.10.1/backend/wayland/meson.build --- old/wlroots-0.10.0/backend/wayland/meson.build 2020-01-22 19:22:04.000000000 +0100 +++ new/wlroots-0.10.1/backend/wayland/meson.build 2020-03-10 14:55:44.000000000 +0100 @@ -16,5 +16,5 @@ ] foreach proto : client_protos - wlr_files += get_variable(proto.underscorify() + '_h') + wlr_files += get_variable(proto.underscorify() + '_client_h') endforeach diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wlroots-0.10.0/examples/fullscreen-shell.c new/wlroots-0.10.1/examples/fullscreen-shell.c --- old/wlroots-0.10.0/examples/fullscreen-shell.c 2020-01-22 19:22:04.000000000 +0100 +++ new/wlroots-0.10.1/examples/fullscreen-shell.c 2020-03-10 14:55:44.000000000 +0100 @@ -163,6 +163,8 @@ wlr_output_layout_add_auto(server->output_layout, wlr_output); wlr_output_create_global(wlr_output); + + wlr_output_commit(wlr_output); } static void server_handle_present_surface(struct wl_listener *listener, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wlroots-0.10.0/examples/meson.build new/wlroots-0.10.1/examples/meson.build --- old/wlroots-0.10.0/examples/meson.build 2020-01-22 19:22:04.000000000 +0100 +++ new/wlroots-0.10.1/examples/meson.build 2020-03-10 14:55:44.000000000 +0100 @@ -42,6 +42,7 @@ }, 'fullscreen-shell': { 'src': 'fullscreen-shell.c', + 'proto': ['fullscreen-shell-unstable-v1'], }, } @@ -151,9 +152,14 @@ } foreach name, info : compositors + extra_src = [] + foreach p : info.get('proto', []) + extra_src += get_variable(p.underscorify() + '_server_h') + endforeach + executable( name, - info.get('src'), + [info.get('src'), extra_src], dependencies: wlroots, include_directories: [wlr_inc, proto_inc], build_by_default: get_option('examples'), @@ -164,7 +170,7 @@ extra_src = [] foreach p : info.get('proto') extra_src += get_variable(p.underscorify() + '_c') - extra_src += get_variable(p.underscorify() + '_h') + extra_src += get_variable(p.underscorify() + '_client_h') endforeach executable( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wlroots-0.10.0/examples/multi-pointer.c new/wlroots-0.10.1/examples/multi-pointer.c --- old/wlroots-0.10.0/examples/multi-pointer.c 2020-01-22 19:22:04.000000000 +0100 +++ new/wlroots-0.10.1/examples/multi-pointer.c 2020-03-10 14:55:44.000000000 +0100 @@ -171,6 +171,8 @@ cursor->cursor->y); } wl_list_insert(&sample->outputs, &sample_output->link); + + wlr_output_commit(output); } static void keyboard_key_notify(struct wl_listener *listener, void *data) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wlroots-0.10.0/examples/output-layout.c new/wlroots-0.10.1/examples/output-layout.c --- old/wlroots-0.10.0/examples/output-layout.c 2020-01-22 19:22:04.000000000 +0100 +++ new/wlroots-0.10.1/examples/output-layout.c 2020-03-10 14:55:44.000000000 +0100 @@ -169,6 +169,8 @@ sample_output->frame.notify = output_frame_notify; wl_signal_add(&output->events.destroy, &sample_output->destroy); sample_output->destroy.notify = output_remove_notify; + + wlr_output_commit(output); } static void keyboard_key_notify(struct wl_listener *listener, void *data) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wlroots-0.10.0/examples/pointer.c new/wlroots-0.10.1/examples/pointer.c --- old/wlroots-0.10.0/examples/pointer.c 2020-01-22 19:22:04.000000000 +0100 +++ new/wlroots-0.10.1/examples/pointer.c 2020-03-10 14:55:44.000000000 +0100 @@ -265,6 +265,8 @@ wlr_xcursor_manager_load(sample->xcursor_manager, output->scale); wlr_xcursor_manager_set_cursor_image(sample->xcursor_manager, "left_ptr", sample->cursor); + + wlr_output_commit(output); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wlroots-0.10.0/examples/rotation.c new/wlroots-0.10.1/examples/rotation.c --- old/wlroots-0.10.0/examples/rotation.c 2020-01-22 19:22:04.000000000 +0100 +++ new/wlroots-0.10.1/examples/rotation.c 2020-03-10 14:55:44.000000000 +0100 @@ -123,6 +123,8 @@ wl_signal_add(&output->events.destroy, &sample_output->destroy); sample_output->destroy.notify = output_remove_notify; wl_list_insert(&sample->outputs, &sample_output->link); + + wlr_output_commit(output); } static void keyboard_key_notify(struct wl_listener *listener, void *data) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wlroots-0.10.0/examples/simple.c new/wlroots-0.10.1/examples/simple.c --- old/wlroots-0.10.0/examples/simple.c 2020-01-22 19:22:04.000000000 +0100 +++ new/wlroots-0.10.1/examples/simple.c 2020-03-10 14:55:44.000000000 +0100 @@ -91,6 +91,8 @@ sample_output->frame.notify = output_frame_notify; wl_signal_add(&output->events.destroy, &sample_output->destroy); sample_output->destroy.notify = output_remove_notify; + + wlr_output_commit(sample_output->output); } static void keyboard_key_notify(struct wl_listener *listener, void *data) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wlroots-0.10.0/examples/tablet.c new/wlroots-0.10.1/examples/tablet.c --- old/wlroots-0.10.0/examples/tablet.c 2020-01-22 19:22:04.000000000 +0100 +++ new/wlroots-0.10.1/examples/tablet.c 2020-03-10 14:55:44.000000000 +0100 @@ -248,6 +248,8 @@ sample_output->frame.notify = output_frame_notify; wl_signal_add(&output->events.destroy, &sample_output->destroy); sample_output->destroy.notify = output_remove_notify; + + wlr_output_commit(output); } static void keyboard_key_notify(struct wl_listener *listener, void *data) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wlroots-0.10.0/examples/touch.c new/wlroots-0.10.1/examples/touch.c --- old/wlroots-0.10.0/examples/touch.c 2020-01-22 19:22:04.000000000 +0100 +++ new/wlroots-0.10.1/examples/touch.c 2020-03-10 14:55:44.000000000 +0100 @@ -161,6 +161,8 @@ sample_output->frame.notify = output_frame_notify; wl_signal_add(&output->events.destroy, &sample_output->destroy); sample_output->destroy.notify = output_remove_notify; + + wlr_output_commit(output); } static void keyboard_key_notify(struct wl_listener *listener, void *data) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wlroots-0.10.0/meson.build new/wlroots-0.10.1/meson.build --- old/wlroots-0.10.0/meson.build 2020-01-22 19:22:04.000000000 +0100 +++ new/wlroots-0.10.1/meson.build 2020-03-10 14:55:44.000000000 +0100 @@ -1,7 +1,7 @@ project( 'wlroots', 'c', - version: '0.10.0', + version: '0.10.1', license: 'MIT', meson_version: '>=0.51.2', default_options: [ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wlroots-0.10.0/protocol/meson.build new/wlroots-0.10.1/protocol/meson.build --- old/wlroots-0.10.0/protocol/meson.build 2020-01-22 19:22:04.000000000 +0100 +++ new/wlroots-0.10.1/protocol/meson.build 2020-03-10 14:55:44.000000000 +0100 @@ -53,14 +53,15 @@ ) wlr_files += code - wlr_files += custom_target( + server_header = custom_target( name.underscorify() + '_server_h', input: path, output: '@[email protected]', command: [wayland_scanner, 'server-header', '@INPUT@', '@OUTPUT@'], ) + wlr_files += server_header - header = custom_target( + client_header = custom_target( name.underscorify() + '_client_h', input: path, output: '@[email protected]', @@ -69,5 +70,6 @@ ) set_variable(name.underscorify() + '_c', code) - set_variable(name.underscorify() + '_h', header) + set_variable(name.underscorify() + '_server_h', server_header) + set_variable(name.underscorify() + '_client_h', client_header) endforeach diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wlroots-0.10.0/types/xdg_shell/wlr_xdg_popup.c new/wlroots-0.10.1/types/xdg_shell/wlr_xdg_popup.c --- old/wlroots-0.10.0/types/xdg_shell/wlr_xdg_popup.c 2020-01-22 19:22:04.000000000 +0100 +++ new/wlroots-0.10.1/types/xdg_shell/wlr_xdg_popup.c 2020-03-10 14:55:44.000000000 +0100 @@ -454,10 +454,10 @@ } // revert the positioner back if it didn't fix it and go to the next part - if (flip_x) { + if (offset_x && flip_x) { wlr_positioner_invert_x(&popup->positioner); } - if (flip_y) { + if (offset_y && flip_y) { wlr_positioner_invert_y(&popup->positioner); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wlroots-0.10.0/types/xdg_shell_v6/wlr_xdg_popup_v6.c new/wlroots-0.10.1/types/xdg_shell_v6/wlr_xdg_popup_v6.c --- old/wlroots-0.10.0/types/xdg_shell_v6/wlr_xdg_popup_v6.c 2020-01-22 19:22:04.000000000 +0100 +++ new/wlroots-0.10.1/types/xdg_shell_v6/wlr_xdg_popup_v6.c 2020-03-10 14:55:44.000000000 +0100 @@ -474,10 +474,10 @@ } // revert the positioner back if it didn't fix it and go to the next part - if (flip_x) { + if (offset_x && flip_x) { wlr_positioner_v6_invert_x(&popup->positioner); } - if (flip_y) { + if (offset_y && flip_y) { wlr_positioner_v6_invert_y(&popup->positioner); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wlroots-0.10.0/xwayland/xwm.c new/wlroots-0.10.1/xwayland/xwm.c --- old/wlroots-0.10.0/xwayland/xwm.c 2020-01-22 19:22:04.000000000 +0100 +++ new/wlroots-0.10.1/xwayland/xwm.c 2020-03-10 14:55:44.000000000 +0100 @@ -1231,6 +1231,10 @@ ev->mode == XCB_NOTIFY_MODE_UNGRAB) { return; } + // Ignore pointer focus change events + if (ev->detail == XCB_NOTIFY_DETAIL_POINTER) { + return; + } // Do not let X clients change the focus behind the compositor's // back. Reset the focus to the old one if it changed.
