Commit Graph

144 Commits

Author SHA1 Message Date
Camilla Berglund
7f4e947447 Fixed return value for WM_DROPFILES. 2014-02-11 00:56:52 +01:00
Camilla Berglund
cf177905e5 Allowed drops from less privileged processes.
By default, UAC will prevent less privileged processes from sending
these messages.  This resolves that on Windows 7 and later.  Windows
Vista is still affected by this issue, as it has UAC but lacks
ChangeWindowMessageFilterEx.

Fixes #227.
2014-02-10 15:13:05 +01:00
Camilla Berglund
611006af18 Updated API version in comment headers. 2014-01-22 01:32:00 +01:00
Camilla Berglund
8f349e84ae Cleaned up drop callback design. 2014-01-21 18:23:25 +01:00
Camilla Berglund
2b876da52d Fixed broken includes. 2014-01-21 15:25:49 +01:00
Camilla Berglund
8ae063bb1b Cleanup. 2014-01-21 15:25:49 +01:00
arturo
89d0723ba3 Initial drag and drop support. 2014-01-21 15:25:49 +01:00
Camilla Berglund
e0a26aa62f Cursor mode cleanup. 2014-01-15 14:23:34 +01:00
Camilla Berglund
d937b74b8f Fixed glfwSetWindowSize stealing focus. 2013-12-28 20:56:57 +01:00
Camilla Berglund
56e600d7a1 Fixed iconify callback not triggered by Alt+Tab. 2013-12-05 02:19:41 +01:00
Camilla Berglund
a5b6a306ae Added note. 2013-11-13 12:47:44 +01:00
Camilla Berglund
109e3d13ed Fixed reporting of negative window positions.
MSDN recommends LOWORD and HIWORD for WM_MOVE, but these do not
handle negative window positions correctly.

Fixes #172.
2013-11-13 12:39:41 +01:00
Camilla Berglund
7af99bce88 Fixed cursor centering for odd window sizes. 2013-11-13 12:39:40 +01:00
Camilla Berglund
adbd52ba27 Formatted todos and notes. 2013-11-10 14:03:07 +01:00
Camilla Berglund
0153dab346 Clarified WGL re-creation comment. 2013-10-28 14:50:33 +01:00
Camilla Berglund
16a8fafab2 Made disabled mode disable Win32 cursor image. 2013-10-07 16:28:19 +02:00
Camilla Berglund
6e68d89e0f Fixed focus for Win+D window restoration. 2013-10-07 16:12:23 +02:00
Camilla Berglund
9c5d9f8614 Fixed clip rect being set for unfocused windows. 2013-10-07 15:30:57 +02:00
Camilla Berglund
9c20737b60 Allowed characters regardless of modifier keys. 2013-08-19 13:08:35 +02:00
Camilla Berglund
3cfc400cf9 Simplified source file comment headers. 2013-07-30 14:46:52 +02:00
Camilla Berglund
421810325a Win32 fixes. 2013-06-12 19:58:30 +02:00
Camilla Berglund
11615fcaf2 Added scancode to key callback. 2013-06-05 23:46:09 +02:00
Camilla Berglund
edebf3b560 Clarified comment. 2013-06-05 15:17:16 +02:00
Camilla Berglund
36de6d3ce3 Fixed AltGr on Windows. 2013-06-05 13:11:00 +02:00
Camilla Berglund
3498163da1 Separated window and framebuffer sizes. 2013-06-04 01:51:54 +02:00
Camilla Berglund
aaa955f51f Moved mode setting to after window re-creation. 2013-05-26 18:05:57 +02:00
Camilla Berglund
a90389044d Fixed styles for undecorated windows on Windows. 2013-05-26 18:00:38 +02:00
Camilla Berglund
ffc55c3509 Removed broken initial cursor pos kluges. 2013-05-26 17:19:13 +02:00
Noel Cower
eff85f9500 Added super modifier bit.
Edited during merge.
2013-05-23 14:21:35 +02:00
Camilla Berglund
3bcffba24a Renamed control modifier bit to match key token. 2013-05-23 14:21:35 +02:00
Camilla Berglund
6df692b61e Renamed CURSOR_CAPTURED to CURSOR_DISABLED. 2013-05-22 21:56:14 +02:00
Camilla Berglund
2d1b835711 Added a conservative set of key modifiers. 2013-05-22 21:56:14 +02:00
Camilla Berglund
7423cfa5bf Corrected type of cursor coordinates. 2013-04-22 16:04:24 +02:00
Camilla Berglund
6fd396f766 Removed C99-ism. 2013-04-21 16:28:08 +02:00
Camilla Berglund
e9712739ba Formatting. 2013-04-17 15:29:17 +02:00
Camilla Berglund
1ffd8f667f Cleanup. 2013-04-16 23:33:35 +02:00
Camilla Berglund
7b7ef1e07b Cleanup of Win32 mouse button handling. 2013-04-16 22:50:19 +02:00
Camilla Berglund
c12759880d Fixed Win32 cursor mode switch jitter. 2013-04-16 20:50:59 +02:00
Camilla Berglund
2caee225ea Fixed hidden cursor mode for focus events. 2013-04-16 19:58:48 +02:00
Camilla Berglund
6164eb603b Added tracking of cursor visibility. 2013-04-14 15:41:34 +02:00
Camilla Berglund
082306b1db Added support for WM_UNICHAR. 2013-04-11 01:08:02 +02:00
Camilla Berglund
49db3b2a9e Formatting. 2013-04-08 15:24:24 +02:00
NathanSweet
8e2e7b37a1 Undecorated window support on win/mac/linux. 2013-04-08 15:24:24 +02:00
Camilla Berglund
129e94da2e Changed cursor pos to double. 2013-04-04 16:29:40 +02:00
Camilla Berglund
0356aa620d Fixed resize mode setting on Windows. 2013-03-12 17:25:33 +01:00
Camilla Berglund
200e07027c Implemented hidden cursor on Windows. 2013-03-11 22:57:39 +01:00
Camilla Berglund
51ee3a5c0a No swap interval on composition. 2013-03-11 21:07:29 +01:00
Camilla Berglund
3897a174b5 Fixed VC++ warnings. 2013-03-08 14:19:40 +01:00
SephiRok
1ae9ce1e0a Fixed print screen key input for all platforms. 2013-02-21 18:41:27 +01:00
Camilla Berglund
941a671bfa Minor cleanup of Win32 window code. 2013-02-20 18:15:03 +01:00