Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bemenu for openSUSE:Factory checked in at 2024-03-07 18:31:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bemenu (Old) and /work/SRC/openSUSE:Factory/.bemenu.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bemenu" Thu Mar 7 18:31:44 2024 rev:24 rq:1155982 version:0.6.20 Changes: -------- --- /work/SRC/openSUSE:Factory/bemenu/bemenu.changes 2024-02-04 19:08:06.542246393 +0100 +++ /work/SRC/openSUSE:Factory/.bemenu.new.1770/bemenu.changes 2024-03-07 18:32:48.780533978 +0100 @@ -1,0 +2,10 @@ +Thu Mar 7 14:10:55 UTC 2024 - Michael Vetter <[email protected]> + +- Update to 0.6.20: + * Fix mouse press being ignored on x11 #382 + * Fixed verry fast repeat when pressing shift+Tab #383 + * Fix use after free in wayland.c #386 + * document vim bindings #389 + * wayland: bind to zwlr_layer_shell_v1 version 3 #390 + +------------------------------------------------------------------- Old: ---- bemenu-0.6.19.tar.gz New: ---- bemenu-0.6.20.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bemenu.spec ++++++ --- /var/tmp/diff_new_pack.KbUcQ5/_old 2024-03-07 18:32:49.272552134 +0100 +++ /var/tmp/diff_new_pack.KbUcQ5/_new 2024-03-07 18:32:49.272552134 +0100 @@ -18,7 +18,7 @@ %define bcond_with curses Name: bemenu -Version: 0.6.19 +Version: 0.6.20 Release: 0 Summary: Dynamic menu library and client program inspired by dmenu License: MIT ++++++ bemenu-0.6.19.tar.gz -> bemenu-0.6.20.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bemenu-0.6.19/VERSION new/bemenu-0.6.20/VERSION --- old/bemenu-0.6.19/VERSION 2024-02-02 13:05:50.000000000 +0100 +++ new/bemenu-0.6.20/VERSION 2024-03-07 09:51:45.000000000 +0100 @@ -1 +1 @@ -0.6.19 +0.6.20 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bemenu-0.6.19/lib/renderers/wayland/registry.c new/bemenu-0.6.20/lib/renderers/wayland/registry.c --- old/bemenu-0.6.19/lib/renderers/wayland/registry.c 2024-02-02 13:05:50.000000000 +0100 +++ new/bemenu-0.6.20/lib/renderers/wayland/registry.c 2024-03-07 09:51:45.000000000 +0100 @@ -582,7 +582,7 @@ if (strcmp(interface, "wl_compositor") == 0) { wayland->compositor = wl_registry_bind(registry, id, &wl_compositor_interface, 4); } else if (strcmp(interface, zwlr_layer_shell_v1_interface.name) == 0) { - wayland->layer_shell = wl_registry_bind(registry, id, &zwlr_layer_shell_v1_interface, 2); + wayland->layer_shell = wl_registry_bind(registry, id, &zwlr_layer_shell_v1_interface, 3); } else if (strcmp(interface, "wl_seat") == 0) { wayland->seat = wl_registry_bind(registry, id, &wl_seat_interface, 7); wl_seat_add_listener(wayland->seat, &seat_listener, &wayland->input); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bemenu-0.6.19/lib/renderers/wayland/wayland.c new/bemenu-0.6.20/lib/renderers/wayland/wayland.c --- old/bemenu-0.6.19/lib/renderers/wayland/wayland.c 2024-02-02 13:05:50.000000000 +0100 +++ new/bemenu-0.6.20/lib/renderers/wayland/wayland.c 2024-03-07 09:51:45.000000000 +0100 @@ -90,9 +90,6 @@ uint32_t mods = wayland->input.modifiers; *unicode = xkb_state_key_get_utf32(wayland->input.xkb.state, wayland->input.code); - if (!*unicode && wayland->input.code == 23 && (mods & MOD_SHIFT)) - return BM_KEY_SHIFT_TAB; - wayland->input.sym = XKB_KEY_NoSymbol; wayland->input.code = 0; @@ -140,6 +137,7 @@ case XKB_KEY_Delete: return (mods & MOD_SHIFT ? BM_KEY_LINE_DELETE_LEFT : BM_KEY_DELETE); + case XKB_KEY_ISO_Left_Tab: //shift tab gives this sym case XKB_KEY_Tab: return (mods & MOD_SHIFT ? BM_KEY_SHIFT_TAB : BM_KEY_TAB); @@ -549,8 +547,10 @@ wl_output = output->output; if (!bm_wl_window_create(window, wayland->display, wayland->shm, - wl_output, wayland->layer_shell, surface)) + wl_output, wayland->layer_shell, surface)) { free(window); + goto fail; + } window->notify.render = bm_cairo_paint; window->render_pending = true; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bemenu-0.6.19/lib/renderers/x11/window.c new/bemenu-0.6.20/lib/renderers/x11/window.c --- old/bemenu-0.6.19/lib/renderers/x11/window.c 2024-02-02 13:05:50.000000000 +0100 +++ new/bemenu-0.6.20/lib/renderers/x11/window.c 2024-03-07 09:51:45.000000000 +0100 @@ -281,7 +281,7 @@ XSetWindowAttributes wa = { .override_redirect = True, - .event_mask = ExposureMask | KeyPressMask | VisibilityChangeMask + .event_mask = ExposureMask | KeyPressMask | VisibilityChangeMask | ButtonPressMask }; XVisualInfo vinfo; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bemenu-0.6.19/man/bemenu.1.scd.in new/bemenu-0.6.20/man/bemenu.1.scd.in --- old/bemenu-0.6.19/man/bemenu.1.scd.in 2024-02-02 13:05:50.000000000 +0100 +++ new/bemenu-0.6.20/man/bemenu.1.scd.in 2024-03-07 09:51:45.000000000 +0100 @@ -309,6 +309,123 @@ Print selected items and exit with the custom error code 19, see _EXIT STATUS_. +## Vim bindings + +*bemenu* uses vim-like modal entry if invoked with *--binding vim*. +These bindings roughly emulate insert and normal vim modes. +The initial mode is insert mode, unless *--vim-normal-mode* is specified. + +In insert mode, all keys function as described above except for the following: + +*<escape>* + Switch to normal mode. + +In normal mode, only the following keys have meaning: + +*q* + Terminate *bemenu* without printing items. + +*i* + Enter insert mode. + +*I* + Enter insert mode after moving the cursor to the start. + +*a* + Enter insert mode after moving the cursor right. + +*A* + Enter insert mode after moving the cursor to the end. + +*cc* + Enter insert mode after clearing the filter. + +*cw* + Enter insert mode after removing all characters between the cursor and + the start of the next word. + +*cb* + Enter insert mode after removing all characters between the start of + the word and the cursor. + +*c$* + Enter insert mode after removing all characters after the cursor. + +*c0* + Enter insert mode after removing all characters before the cursor. + +*n*, *j* + Highlight the next item. + +*p*, *k* + Highlight the previous item. + +*gg* + Highlight the first item in the list. + +*G* + Highlight the last item in the list. + +*H* + Highlight the first visible item. + +*M* + Highlight the middle-most visible item. + +*L* + Highlight the last visible item. + +*v* + Select or deselect the higlighted item. + +*F* + Show the next page of items. + +*B* + Show the previous page of items. + +*h* + Move cursor left. + +*l* + Move cursor right. + +*0* + Move cursor to the start. + +*$* + Move cursor to the end. + +*w* + Move cursor forward to the start of a word. + +*b* + Move cursor backward to the start of a word. + +*e* + Move cursor forward to the end of a word. + +*x* + Remove character at the cursor. + +*X* + Remove character before the cursor. + +*dw* + Remove all characters between the cursor and start of the next word. + +*db* + Remove all characters between the start of the word and the cursor. + +*d$* + Remove all characters after the cursor. + +*d0* + Remove all characters before the cursor. + +*dd* + Clear the filter. + # ENVIRONMENT [[ *BEMENU_OPTS*
