Skip to content


Browse files Browse the repository at this point in the history
media-keys-manager: replace deprecated GdkDeviceManager
  • Loading branch information
raveit65 committed Aug 22, 2018
1 parent d68a31d commit cfe1160
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions plugins/media-keys/msd-media-keys-manager.c
Expand Up @@ -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;
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit cfe1160

Please sign in to comment.