Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 390242 - Use gdk_device_get_window_at_position instead of gdk_window_at_pointer
Summary: Use gdk_device_get_window_at_position instead of gdk_window_at_pointer
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.2   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-24 12:23 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-24 12:23:42 EDT
This patch replaces gdk_window_at_pointer with gdk_device_get_window_at_position for GTK+3 and higher:

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

64-bit version of the patch:

http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_device_at_pointer_64
Comment 2 Alexander Kurtakov CLA 2012-10-04 16:37:27 EDT
Gtk3 only change, should not affect gtk2. Pushed to master. http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=a4e8d53a7f3afac8a7698d325365123a4d399a8c