mirror of
https://github.com/brl/mutter.git
synced 2025-08-06 00:24:42 +00:00
events: Make the ungrabbed button press handling more bullet proof
Instead of returning a value based on whether or not we handled it, we have this logic: either we have taken a grab on the window, in which case we have a grab op and have handled it ourselves, or we did not take a grab and *need* to replay the event to the window. Handle this in events.c by checking the grab operation in the same way that we check the other grab ops.
This commit is contained in:
@@ -662,8 +662,8 @@ void meta_window_handle_enter (MetaWindow *window,
|
||||
guint root_y);
|
||||
void meta_window_handle_leave (MetaWindow *window);
|
||||
|
||||
gboolean meta_window_handle_ungrabbed_event (MetaWindow *window,
|
||||
const ClutterEvent *event);
|
||||
void meta_window_handle_ungrabbed_event (MetaWindow *window,
|
||||
const ClutterEvent *event);
|
||||
|
||||
void meta_window_get_client_area_rect (const MetaWindow *window,
|
||||
cairo_rectangle_int_t *rect);
|
||||
|
Reference in New Issue
Block a user