Skip to content
Permalink
Browse files

media-keys-manager: replace deprecated GdkDeviceManager

  • Loading branch information...
raveit65 committed Aug 22, 2018
1 parent d68a31d commit cfe11602bbe43fa8bf46bf1603a7b6ad7eac8424
Showing with 5 additions and 5 deletions.
  1. +5 −5 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,

0 comments on commit cfe1160

Please sign in to comment.
You can’t perform that action at this time.