Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,437
    • Issues 1,437
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 246
    • Merge requests 246
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gtkgtk
  • Issues
  • #787

Closed
Open
Created Mar 16, 2017 by Bugzilla@bugzilla-migration💬Reporter

gdkseat: Provide way to ungrab single device

Submitted by Pavel Grunt

Link to original bug (#780133)

Description

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()

Version: 3.22.x

Assignee
Assign to
Time tracking