Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 390044 - Replace gdk_window_get_pointer with gdk_window_get_device_position for GTK+ 3
Summary: Replace gdk_window_get_pointer with gdk_window_get_device_position for GTK+ 3
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.3   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.3 M3   Edit
Assignee: Alexander Kurtakov CLA
QA Contact:
URL:
Whiteboard: gtk3test
Keywords:
Depends on:
Blocks: 340067
  Show dependency tree
 
Reported: 2012-09-20 14:51 EDT by Anatoly Spektor CLA
Modified: 2012-10-24 14:38 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anatoly Spektor CLA 2012-09-20 14:51:13 EDT
This patch replaces gdk_window_get_pointer with gdk_window_get_device_position for GTK+ 3 and higher:

http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_window_get_device_position
Comment 1 Anatoly Spektor CLA 2012-10-03 15:16:33 EDT
(In reply to comment #0)
> This patch replaces gdk_window_get_pointer with
> gdk_window_get_device_position for GTK+ 3 and higher:
> 
> http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/
> commit/?h=gtk3_window_get_device_position

64-bit version of the patch:

http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_window_get_device_position_64
Comment 2 Alexander Kurtakov CLA 2012-10-04 08:00:59 EDT
Patch affects only gtk3 runs and looks good according to documentation. Applied to master. http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=c159a9553ef0699a68dfd8ee6cae8e56f4b4ccb4