CristianHenzel / ClipIt

ClipIt clipboard manager for GTK+
https://github.com/CristianHenzel/ClipIt
GNU General Public License v3.0
648 stars 84 forks source link

gdk_window_get_pointer is deprecated #93

Closed onlyjob closed 6 years ago

onlyjob commented 6 years ago
daemon.c:56:3: warning: 'gdk_window_get_pointer' is deprecated: Use 'gdk_window_get_device_position' instead [-Wdeprecated-declarations]
   gdk_window_get_pointer(NULL, NULL, NULL, &button_state);
   ^~~~~~~~~~~~~~~~~~~~~~

This problem was actually mentioned in #55 with a patch that hasn't been merged:

https://github.com/pblaszczyk/ClipIt/commit/ea3e1c4dd53f022289dd1c4835200ce2eab8ec98

However patch only fixes deprecation in main.c but not in daemon.c...

onlyjob commented 6 years ago

Here is another one in daemon.c: https://github.com/CristianHenzel/ClipIt/blob/master/src/daemon.c#L56

CristianHenzel commented 6 years ago

Is now also fixed.

onlyjob commented 6 years ago

Of course, d6fab2be. Thank you. :)