diff options
author | raveit65 <[email protected]> | 2018-08-22 16:35:48 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-08-22 16:35:48 +0200 |
commit | cfe11602bbe43fa8bf46bf1603a7b6ad7eac8424 (patch) | |
tree | 3b1ff3799e731f1e6c63ca99c9e6d0ca878941fa /plugins/media-keys/msd-media-keys-manager.c | |
parent | d68a31d4e5977154eb10d9822df59e4fb85fd28c (diff) | |
download | mate-settings-daemon-cfe11602bbe43fa8bf46bf1603a7b6ad7eac8424.tar.bz2 mate-settings-daemon-cfe11602bbe43fa8bf46bf1603a7b6ad7eac8424.tar.xz |
media-keys-manager: replace deprecated GdkDeviceManager
Diffstat (limited to 'plugins/media-keys/msd-media-keys-manager.c')
-rw-r--r-- | plugins/media-keys/msd-media-keys-manager.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c index 34e4c01..3a7a4e6 100644 --- a/plugins/media-keys/msd-media-keys-manager.c +++ b/plugins/media-keys/msd-media-keys-manager.c @@ -397,9 +397,9 @@ dialog_show (MsdMediaKeysManager *manager) int screen_h; int x; int y; - GdkDisplay *display; - GdkDeviceManager *device_manager; - GdkDevice *pointer; + GdkDisplay *display; + GdkSeat *seat; + GdkDevice *pointer; int pointer_x; int pointer_y; GtkRequisition win_req; @@ -431,8 +431,8 @@ dialog_show (MsdMediaKeysManager *manager) pointer_screen = NULL; display = gdk_screen_get_display (manager->priv->current_screen); - device_manager = gdk_display_get_device_manager (display); - pointer = gdk_device_manager_get_client_pointer (device_manager); + seat = gdk_display_get_default_seat (display); + pointer = gdk_seat_get_pointer (seat); gdk_device_get_position (pointer, &pointer_screen, |