summaryrefslogtreecommitdiff
path: root/plugins/media-keys/msd-media-keys-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/media-keys/msd-media-keys-manager.c')
-rw-r--r--plugins/media-keys/msd-media-keys-manager.c10
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,