GNOME Bugzilla – Bug 780133
gdkseat: Provide way to ungrab single device
Last modified: 2018-05-02 18:18:07 UTC
Hi, I was trying to move from deprecated gdk_pointer_ungrab() and gdk_keyboard_ungrab() to gdkseat functions. Sometimes I need to grab both keyboard and pointer and ungrab them separately. Hovewer I noticed that there is just gdk_seat_ungrab() ungrabbing everything and there is no (not deprecated) way for ungrabbing only the keyboard or the pointer. Is it expected to call gdk_seat_ungrab() followed by gdk_seat_grab() ? In my case the code changed from: gdk_pointer_ungrab() to: gdk_seat_ungrab() if `keyboard should be grabbed`: // this check may not be trivial gdk_seat_grab()
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/787.