gtk/gdk
Руслан Ижбулатов ab16b19a0a GDK W32: Fix pointer-under-window code for custom resize
This code:
>  gdk_window_get_root_origin (window, &x, &y);
>  x -= root_x;
>  y -= root_y;
>  pointer_window = gdk_device_get_window_at_position (device, &x, &y);
was meant to find the child gdk window at coordinates root_x and root_y.

These 4 lines had 2 bugs:
1) x = x - root_x (same for y) is wrong, it should be x = root_x - x
2) gdk_device_get_window_at_position() does not give you the window
   at position x and y. It gives you the window under the device
   (mouse pointer) and the returns the device coordinates in x and y.

https://bugzilla.gnome.org/show_bug.cgi?id=763533
2016-03-14 15:06:51 +00:00
..
broadway gdk: remove the display->list_devices vfunc 2016-02-29 21:53:58 +01:00
deprecated gdkcolor.h: Use GDK_DEPRECATED_IN_3_14_FOR() throughout 2015-04-17 11:16:30 -05:00
mir mir: display->list_devices vfunc was dropped 2016-03-02 10:24:44 +01:00
quartz added NSEventTypeMagnify and NSEventTypeRotate for ZOOM and ROTATE gestures 2016-03-11 09:59:01 -05:00
wayland wayland: Add request focus support via gtk_shell 2016-03-10 12:31:15 +08:00
win32 GDK W32: Fix pointer-under-window code for custom resize 2016-03-14 15:06:51 +00:00
x11 Set VirtualBox USB Tablet to GDK_SOURCE_MOUSE 2016-03-08 11:11:51 -05:00
COPYING
fallback-c89.c
gdk-autocleanup.h gdk: Add support for g_autoptr() 2015-02-02 09:28:22 +01:00
gdk-private.c gdk: Make debug-updates a per-display setting 2014-11-10 15:23:14 -05:00
gdk-private.h gdk: Make debug-updates a per-display setting 2014-11-10 15:23:14 -05:00
gdk.c Trivial formatting fix 2016-03-11 21:42:33 -05:00
gdk.h gdk: Add GdkSeat 2015-12-15 00:16:15 +01:00
gdkapplaunchcontext.c
gdkapplaunchcontext.h
gdkapplaunchcontextprivate.h
gdkcairo.c gdkcairo: Bail if surface is in error 2015-02-25 01:55:28 +01:00
gdkcairo.h gdk: Add support for OpenGL 2014-10-13 10:43:31 -04:00
gdkconfig.h.win32
gdkconfig.h.win32_broadway
gdkcursor.c Add context-menu to the list of standard cursor names 2016-01-06 14:57:42 -05:00
gdkcursor.h Update docs 2015-05-08 13:34:25 -04:00
gdkcursorprivate.h
gdkdeprecated.c docs: use Returns: consistently 2014-02-19 18:56:05 -05:00
gdkdevice.c device: Add a num-touches property 2016-02-25 08:27:08 -05:00
gdkdevice.h gdk: Deprecate GdkDeviceManager and gdk_device_grab/ungrab() 2015-12-15 00:40:21 +01:00
gdkdevicemanager.c Improve deprecation note for gdk_device_manager_get_client_pointer 2016-01-11 15:09:47 -05:00
gdkdevicemanager.h gdk: Deprecate GdkDeviceManager and gdk_device_grab/ungrab() 2015-12-15 00:40:21 +01:00
gdkdevicemanagerprivate.h
gdkdeviceprivate.h device: Add a num-touches property 2016-02-25 08:27:08 -05:00
gdkdisplay.c gdk: implement gdk_display_list_devices using GdkSeat 2016-02-29 21:54:01 +01:00
gdkdisplay.h gdk: Deprecate GdkDeviceManager and gdk_device_grab/ungrab() 2015-12-15 00:40:21 +01:00
gdkdisplaymanager.c gdk: Add a way to show included backends 2016-02-18 22:03:12 -05:00
gdkdisplaymanager.h
gdkdisplaymanagerprivate.h
gdkdisplayprivate.h gdk: remove the display->list_devices vfunc 2016-02-29 21:53:58 +01:00
gdkdnd.c gdkdnd: Stick to the first gdk_drag_drop_done() result 2016-02-15 19:04:22 +01:00
gdkdnd.h gdk: Add GdkDragCancelReason enum as argument to GdkDragContext::cancel 2016-02-15 18:35:51 +01:00
gdkdndprivate.h gdkdnd: Stick to the first gdk_drag_drop_done() result 2016-02-15 19:04:22 +01:00
gdkenumtypes.c.template
gdkenumtypes.h.template Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkevents.c gdk: Don't leak discarded window state event 2016-03-11 07:11:34 -05:00
gdkevents.h wayland: add gdk_event_is_scroll_stop_event() 2016-01-18 21:36:23 +01:00
gdkframeclock.c gdk: Don't use g_print for debug output 2016-02-28 21:40:23 -05:00
gdkframeclock.h Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkframeclockidle.c Add and use GDK_CHECK_DEBUG macro 2016-02-28 21:40:30 -05:00
gdkframeclockidle.h GdkFrameClockIdle: Add a missing declaration 2014-09-05 20:44:22 -04:00
gdkframeclockprivate.h
gdkframetimings.c docs: use proper apostrophe 2014-02-07 13:06:10 -05:00
gdkframetimings.h Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkgl.c gdk: Strip newlines from g_warning and g_error 2016-02-28 12:23:12 -05:00
gdkglcontext.c gdk: Don't use g_print for debug output 2016-02-28 21:40:23 -05:00
gdkglcontext.h gdk: Allow querying if a GL context is in legacy mode 2015-10-07 16:21:57 +01:00
gdkglcontextprivate.h gl: Store the legacy bit in the GL program data 2015-10-07 16:21:57 +01:00
gdkglobals.c Add GDK_GL env var and GdkGLFlags 2014-11-06 12:24:43 +01:00
gdkinternals.h gdk: Compress window state events 2016-03-02 10:22:17 +08:00
gdkintl.h
gdkkeynames.c
gdkkeys.c Intern all signal names beforehand 2015-09-12 12:50:39 -04:00
gdkkeys.h gdkkeys: Add support to _get_scroll_lock_state() 2015-04-27 20:07:52 -03:00
gdkkeysprivate.h gdkkeys: Add support to _get_scroll_lock_state() 2015-04-27 20:07:52 -03:00
gdkkeysyms-compat.h
gdkkeysyms-update.pl
gdkkeysyms.h
gdkkeyuni.c W32: Fix for commit 1f74f12d9, re-enabling decimal separator key 2016-02-26 17:24:32 +00:00
gdkmain.h Make global GDK libgtk_only functions more private 2014-11-08 00:20:15 -05:00
gdkmarshalers.list
gdkoffscreenwindow.c gdkoffscreenwindow: use embedder to derive surfaces & scale factor 2015-12-03 21:47:29 +00:00
gdkpango.c docs: Another round of markup removal 2014-03-29 00:24:15 -04:00
gdkpango.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkpixbuf-drawable.c Fix the fix to the last commit 2015-12-16 12:42:27 +00:00
gdkpixbuf.h
gdkprivate.h
gdkproperty.c Trivial formatting fix 2014-08-30 00:53:21 -04:00
gdkproperty.h
gdkrectangle.c Clarify docs for gdk_rectangle_union 2016-01-20 13:44:34 -05:00
gdkrectangle.h gdk: Add gdk_rectangle_equal() 2015-10-03 22:26:27 -04:00
gdkrgba.c Revert "Add missing (out) annotation to gdk_rgba_parse" 2016-02-02 15:08:10 +00:00
gdkrgba.h
gdkscreen.c gdk: Clarify docs about scale 2016-01-18 08:54:35 -05:00
gdkscreen.h Revert "Introduce API to get the preferred visual" 2014-02-10 22:15:28 -05:00
gdkscreenprivate.h Handle resolution changes in the GDK backend code 2014-07-13 15:35:23 -04:00
gdkseat.c Remove redundant words from docs 2016-02-25 20:16:21 -05:00
gdkseat.h GdkSeat: Add G_BEGIN_DECLS and G_END_DECLS 2015-12-22 10:33:41 +01:00
gdkseatdefault.c gdk: Strip newlines from g_warning and g_error 2016-02-28 12:23:12 -05:00
gdkseatdefaultprivate.h gdk: Add GdkSeatDefault 2015-12-15 00:16:15 +01:00
gdkseatprivate.h gdk: Add GdkSeat 2015-12-15 00:16:15 +01:00
gdkselection.c gdk: assorted introspection and documentation fixes 2014-05-19 11:47:59 -07:00
gdkselection.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdktestutils.h
gdkthreads.h
gdktypes.h gdkborder: remove unneeded definition 2016-02-03 11:20:52 -05:00
gdkversionmacros.h.in gdk: Add version macros for 3.20 2015-10-03 22:24:17 -04:00
gdkvisual.c gdk: calculate pixel color shift and precision lazily 2016-02-27 12:27:54 +01:00
gdkvisual.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkvisualprivate.h gdk: calculate pixel color shift and precision lazily 2016-02-27 12:27:54 +01:00
gdkwindow.c Trivial formatting fix 2016-03-11 21:42:33 -05:00
gdkwindow.h gdkwindow: move GdkWindowTypeHint to gdktypes.h 2015-12-15 10:13:03 -05:00
gdkwindowimpl.c gdkwindow: Provide a default implementation of process_updates_recurse 2014-06-22 10:20:50 -04:00
gdkwindowimpl.h gdk: Allow passing the start coordinates in drag_begin 2015-12-13 10:39:43 -05:00
gdkx.h
gen-keyname-table.pl
keyname-table.h docs: use proper quotations instead of '*' 2014-02-07 14:22:39 -05:00
keynames-translate.txt
keynames.txt
Makefile.am win32: move gdkvisual code in gdkscreen 2016-02-28 11:37:38 +01:00
makefile.msc