Add TODO for pointer grab in set_popup

This commit is contained in:
emersion 2017-09-28 13:46:30 +02:00
parent 643a69f0b2
commit baed05b55e
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 1 additions and 0 deletions

View File

@ -153,6 +153,7 @@ static void shell_surface_set_popup(struct wl_client *client,
struct wl_resource *resource, struct wl_resource *seat_resource, struct wl_resource *resource, struct wl_resource *seat_resource,
uint32_t serial, struct wl_resource *parent_resource, int32_t x, int32_t y, uint32_t serial, struct wl_resource *parent_resource, int32_t x, int32_t y,
enum wl_shell_surface_transient flags) { enum wl_shell_surface_transient flags) {
// TODO: do a pointer grab
wlr_log(L_DEBUG, "got shell surface popup"); wlr_log(L_DEBUG, "got shell surface popup");
struct wlr_wl_shell_surface *surface = wl_resource_get_user_data(resource); struct wlr_wl_shell_surface *surface = wl_resource_get_user_data(resource);
struct wlr_seat_handle *seat_handle = struct wlr_seat_handle *seat_handle =