wio

a wayland wm stylised after plan9 rio - forked from git.sr.ht/~srcmpwn/wio
git clone git://src.gearsix.net/wio
Log | Files | Refs | Atom | Submodules | README | LICENSE

commit 4ea1eede5f4e31319827736cbe9867728901b4d3
parent c0535b2945febca81e79faa47599cc5d54c30047
Author: Fazlul Shahriar <fshahriar@gmail.com>
Date:   Fri,  3 May 2019 02:16:50 -0400

End Delete when background is selected

Selecting the background for deletion when there are no windows open
resulted in the menu stopped working.

Diffstat:
Minput.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/input.c b/input.c @@ -320,9 +320,7 @@ static void handle_button_internal( view_begin_interactive(view, surface, sx, sy, "bottom_right_corner", INPUT_STATE_RESIZE_START); } else { - server->input_state = INPUT_STATE_NONE; - wlr_xcursor_manager_set_cursor_image(server->cursor_mgr, - "left_ptr", server->cursor); + view_end_interactive(server); } } break; @@ -387,8 +385,8 @@ static void handle_button_internal( server->cursor->x, server->cursor->y, &surface, &sx, &sy); if (view != NULL) { wlr_xdg_toplevel_send_close(view->xdg_surface); - view_end_interactive(server); } + view_end_interactive(server); } break; default: