gtk2/gdk/win32
Руслан Ижбулатов b420c53773 GDK W32: Add drag-to-snap feature to AeroSnap
This implements the part of AeroSnap that snaps windows when you
drag them (while moving or resizing) to the edge of the screen.

It also fixes drag behaviour for snapped and maximized windows
(if such windows are dragged, first they must be unmaximized/unsnapped).

Note that this code does not take into account the shadow width, and
because of that the under-pointer-position-preserving window moves
might not look as such for maximized windows, which lack the shadow
when maximized, but do have the shadow when unmaximized.

This commit also doesn't cover some corner-cases the same way AeroSnap does.

Also, the snapping indicator (which is supposed to be a window shape that
shows where the window will be if the drag op is stopped at its current
point) is not being drawn, all routines responsible for its creation,
moving and drawing are stubs.

https://bugzilla.gnome.org/show_bug.cgi?id=763013
2016-03-30 09:00:07 +00:00
..
rc Fix windres invocation 2012-06-19 12:16:15 +08:00
bdfcursor.c GDK-W32: remove trailing whitespace everywhere 2015-04-29 21:12:14 +00:00
cursor.bdf Committing changes to the source bdf font file that I forgot to commit 2007-08-17 03:40:39 +00:00
gdkcursor-win32.c win32: Make cursor code work without _gdk_display 2016-02-11 03:44:47 +01:00
gdkdevice-virtual.c win32: fix "unused variable" warning 2016-03-05 20:31:10 +01:00
gdkdevice-virtual.h GDK-Win32: Ensure sources use UNIX line endings 2013-12-04 08:57:43 +08:00
gdkdevice-win32.c win32 device: reorganize code to avoid prototypes 2016-01-23 14:43:50 +01:00
gdkdevice-win32.h W32: avoid code duplication in gdkdevice-win32|virtual 2015-12-22 09:31:56 +01:00
gdkdevice-wintab.c wintab: reorganize code to avoid prototypes 2016-01-23 14:43:47 +01:00
gdkdevice-wintab.h win32: Fix up wintab support 2012-04-03 11:37:42 +02:00
gdkdevicemanager-win32.c win32: init wintab when the device manager is constructed 2016-02-29 18:25:01 +01:00
gdkdevicemanager-win32.h win32: Stop using _gdk_display global in device code 2016-02-11 03:44:47 +01:00
gdkdisplay-win32.c GDK W32: Optimize clipboard handling a bit 2016-03-26 00:03:50 +00:00
gdkdisplay-win32.h gdk: remove the display->list_devices vfunc 2016-02-29 21:53:58 +01:00
gdkdisplaymanager-win32.c win32: Call windowing init from display_class_init() 2013-05-02 15:36:41 +02:00
gdkdnd-win32.c win32: Remove _gdk_display usge from dnd code 2016-02-11 03:44:47 +01:00
gdkevents-win32.c GDK W32: Re-implement AeroSnap for CSD windows 2016-03-30 08:59:56 +00:00
gdkgeometry-win32.c win32 geometry: reorganize code to avoid prototypes 2016-01-23 14:43:57 +01:00
gdkglcontext-win32.c GDK-Win32: Make update_stye_bits() available within the backend 2016-03-08 13:26:59 +08:00
gdkglcontext-win32.h gl: Drop profile for gdk_window_create_gl_context() 2015-02-12 12:34:28 +00:00
gdkglobals-win32.c Win32: fold the gdkinput.c file in gdkdisplay-win32.c 2016-02-22 21:45:08 +01:00
gdkkeys-win32.c W32: Fix for commit 1f74f12d9, re-enabling decimal separator key 2016-02-26 17:24:32 +00:00
gdkmain-win32.c GDK W32: Print error code along with the error message 2016-03-25 22:04:58 +00:00
gdkprivate-win32.h GDK W32: Re-implement AeroSnap for CSD windows 2016-03-30 08:59:56 +00:00
gdkproperty-win32.c GDK W32: Optimize clipboard handling a bit 2016-03-26 00:03:50 +00:00
gdkscreen-win32.c GDK W32: Implement gdk_win32_screen_get_monitor_workarea() 2016-03-03 05:29:12 +00:00
gdkselection-win32.c GDK W32: Optimize clipboard handling a bit 2016-03-26 00:03:50 +00:00
gdktestutils-win32.c win32: provide an implementation for gdk_test_simulate_key(). 2014-09-22 21:22:33 -04:00
gdkwin32.h GDK-W32: remove trailing whitespace everywhere 2015-04-29 21:12:14 +00:00
gdkwin32cursor.h GDK-W32: remove trailing whitespace everywhere 2015-04-29 21:12:14 +00:00
gdkwin32display.h win32: use the same parameter name as the implementation 2015-10-08 18:07:49 +02:00
gdkwin32displaymanager.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkwin32dnd.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkwin32glcontext.h Add OpenGL Support for the GDK Windows Backend 2014-12-17 16:07:02 +08:00
gdkwin32id.c GDK-W32: remove trailing whitespace everywhere 2015-04-29 21:12:14 +00:00
gdkwin32keys.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkwin32misc.h GDK/GTK on Windows: Fix build 2013-08-26 10:29:23 +08:00
gdkwin32screen.h GDK-W32: remove trailing whitespace everywhere 2015-04-29 21:12:14 +00:00
gdkwin32window.h GDK-W32: remove trailing whitespace everywhere 2015-04-29 21:12:14 +00:00
gdkwindow-win32.c GDK W32: Add drag-to-snap feature to AeroSnap 2016-03-30 09:00:07 +00:00
gdkwindow-win32.h GDK W32: Add drag-to-snap feature to AeroSnap 2016-03-30 09:00:07 +00:00
libwntab32x.la Add headers. Add section about ActiveIMM. 2001-11-08 20:57:18 +00:00
Makefile.am win32: move gdkvisual code in gdkscreen 2016-02-28 11:37:38 +01:00
makefile.msc win32: move gdkvisual code in gdkscreen 2016-02-28 11:37:38 +01:00
pktdef.h Build Wintab support always on Windows. Don't require the Wintab SDK. 2007-01-19 01:55:52 +00:00
wintab.h Build Wintab support always on Windows. Don't require the Wintab SDK. 2007-01-19 01:55:52 +00:00
xcursors.h Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 23:21:36 +00:00