gtk2/gdk
Руслан Ижбулатов e03946bd28 GDK W32: custom (non-WM) drag-move and drag-resize code
Normally works only on CSD windows, non-CSD windows continue
to use WM modal loop for drag-resizing and drag-moving. However,
if it is activated on non-CSD windows, it does work.

Has the advantage of being completely immune to AeroSnap.
AeroSnap only worked partially on CSD windows, with the only part
that worked being "don't let users drag window titlebar outside of
the desktop". Now AeroSnap doesn't work on windows moved by
this code at all, which is good, since they currently don't work
well with it due to the way shadows are drawn.

It's possible to also re-implement AeroSnap (or something similar),
but that is a story for another commit.

This code was originally intended to fix the problem of window
size and window contents desynchronization, but failed to achieve
that result in the end. Nevertheless, it serves as a foundation for
other changes to the way window resizing works.

https://bugzilla.gnome.org/show_bug.cgi?id=761629
2016-03-02 21:39:32 +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 gdk: remove the display->list_devices vfunc 2016-02-29 21:53:58 +01:00
wayland wayland: synchronize key repeat with server 2016-03-02 13:07:12 -05:00
win32 GDK W32: custom (non-WM) drag-move and drag-resize code 2016-03-02 21:39:32 +00:00
x11 gdk: remove the display->list_devices vfunc 2016-02-29 21:53:58 +01: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 Control legacy GL context via environment variable 2015-10-07 16:21:57 +01: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
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: Compress window state events 2016-03-02 10:22:17 +08: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
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
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
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
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 gdkwindow: get the pointer device from the default seat 2016-02-29 14:05:00 +01: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
keynames-translate.txt
keynames.txt
Makefile.am win32: move gdkvisual code in gdkscreen 2016-02-28 11:37:38 +01:00
makefile.msc