Camilla Löwy
32e78aeb2e
Add GLFW_TRANSPARENT attribute and documentation
...
This completes support for window framebuffer transparency on Windows,
macOS and X11. Note that the hint/attribute may be renamed before
release to clarify its relationship to GLFW_OPACITY.
Fixes #197 .
Closes #1079 .
Related to #663 .
Related to #715 .
Related to #723 .
Related to #1078 .
2017-09-27 21:54:04 +02:00
Wolfgang Draxinger
019609b6cd
Add GLFW_TRANSPARENT and X11 implementation
...
This is a squashed extract of several commits, minimally edited to
ensure it compiles.
Related to #197 .
Related to #715 .
2017-09-27 21:33:03 +02:00
Camilla Löwy
f4fb25b63d
X11: Fix init order breaking cursor hiding
...
The hidden cursor was created before Xcursor was loaded.
2017-09-17 16:06:02 +02:00
Camilla Löwy
e3be6b8ae0
Cleanup
...
Break up some overly long lines.
2017-09-17 15:14:22 +02:00
Camilla Löwy
9dbc935afb
X11: Stop reporting support for COMPOUND_TEXT
2017-09-17 13:50:10 +02:00
Camilla Löwy
f7dc6df02c
X11: Add support for reading clipboard via INCR
...
This allows glfwGetClipboardString to retrieve clipboard contents larger
than (typically) 2^18 bytes.
Related to #275 .
2017-09-17 13:50:00 +02:00
Camilla Löwy
0c70eb8d5c
Unify error message buffer lengths
2017-08-17 14:25:10 +02:00
Camilla Löwy
08737bdc02
X11: Close extension libraries after XCloseDisplay
2017-08-16 21:12:48 +02:00
Camilla Löwy
0d9e71fe81
Cleanup
2017-08-16 21:03:10 +02:00
Camilla Löwy
99e72830ea
X11: Add dynamic loading of libXcursor
2017-08-16 20:59:59 +02:00
Camilla Löwy
3f852c321f
X11: Add dynamic loading of libXinerama
2017-08-16 20:06:22 +02:00
Camilla Löwy
15d102b75e
X11: Add dynamic loading of libXrandr
2017-08-16 20:05:55 +02:00
Kristian Nielsen
29a75ab09d
X11: Add native access to primary selection
...
This adds the native access functions glfwSetX11SelectionString and
glfwGetX11SelectionString under GLFW_EXPOSE_NATIVE_X11. They are
similar to glfwSetClipboardString and glfwGetClipboardString but operate
on the PRIMARY selection.
The primary selection is widely used in X11, and so seems important to
support. Primary selection is mostly an X11-specific thing, hence it's
exposed as an X11 native interface.
Fixes #894 .
Closes #1056 .
Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2017-08-13 18:52:24 +02:00
Camilla Löwy
549308051d
Linux: Update joystick API in version strings
2017-08-09 12:20:51 +02:00
Felipe Ferreira da Silva
412eb6a611
Add glfwRequestWindowAttention
...
Related to #988 .
2017-05-11 13:36:39 +02:00
Camilla Löwy
72d58d7b93
Cleanup
2017-03-26 16:46:17 +02:00
Camilla Löwy
11c15b562d
Remove superfluous comments
2017-03-26 16:46:17 +02:00
Camilla Löwy
9b81d72c46
X11: Fix libXi soname
2017-03-26 16:46:17 +02:00
Camilla Löwy
b0277a129b
Fix comment
2017-03-26 16:46:17 +02:00
Camilla Löwy
5fe4dfb511
X11: Narrow criteria for disabling RandR
...
Fixes #972 .
2017-03-26 16:46:17 +02:00
Camilla Löwy
aaf2800c9c
Add internal TLS support
...
Related to #970 .
2017-03-19 00:52:46 +01:00
Camilla Löwy
6a65341e14
X11: Fix multiple issues in XDND support
...
The code blindly expected UTF8_STRING for files. It did not downgrade
based on source protocol version. It did not handle hostnames in
text/uri-list data. It did not specify the source time stamp when
converting the selection. It did not search the XdndTypeList when
necessary. It did not ignore sources that specified invalid versions.
While better, this is still not fully conformant. Hostnames are not
validated and it does not guard against source crashes.
Fixes #968 .
2017-03-16 23:41:06 +01:00
Camilla Löwy
a570d0a129
X11: Use XI_RawMotion for disabled cursor motion
...
Related to #125 .
2017-02-26 18:48:04 +01:00
Camilla Löwy
558afefc04
X11: Fix sonames for dynamically loaded libraries
...
Fixes #941 .
2017-02-08 06:53:04 +01:00
Camilla Löwy
67a55efa27
Add null joystick backend
...
This prepares the X11 backend to support other joystick APIs, for
example the FreeBSD libusb one.
2017-02-01 03:07:25 +01:00
Camilla Löwy
b0258803c6
X11: Clarified broken RandR error messages
2017-01-16 18:26:53 +01:00
Camilla Löwy
77eb94409c
X11: Fix segfault on Cygwin/X RandR 1.5
2017-01-16 17:53:56 +01:00
Camilla Löwy
0735250eb1
X11: Fix potential window property data leaks
2017-01-16 17:53:28 +01:00
Camilla Löwy
0cd409bd6d
Comment work
2017-01-11 19:55:33 +01:00
Camilla Löwy
04f559e28d
Restructure monitor enumeration
...
This way is both kinder on event-based enumeration and less work to
unwind allocations for when properly implementing GLFW_OUT_OF_MEMORY.
2017-01-02 06:03:02 +01:00
Camilla Löwy
e649708cb2
X11: Make more use of XRRGetScreenResourcesCurrent
...
Closes #877 .
2016-12-18 15:49:17 +01:00
Camilla Löwy
6eae8f22dc
X11: Load Xxf86vm at run-time
2016-12-11 00:05:15 +01:00
Camilla Löwy
32eb50b75e
Move to Vulkan style function typedefs
...
PFN_FunctionName is more readable than SCREAMSOUP_T.
Context creation API function typedefs are kept as-is where the original
header provided them, for compatibility and familiarity reasons.
2016-12-08 16:56:05 +01:00
Camilla Löwy
f4d0c83181
Paperwork done
2016-11-30 14:00:41 +01:00
Camilla Berglund
e6a32db7b9
Cleanup
2016-09-07 16:49:29 +02:00
Camilla Berglund
ccfd6dde45
X11: Make clipboard IPC use helper window
2016-09-07 16:33:41 +02:00
Camilla Berglund
3b3a1390ad
X11: Add IPC helper window
2016-09-07 16:33:41 +02:00
Camilla Berglund
fafe1732b5
Cleanup
2016-09-07 16:33:41 +02:00
Camilla Berglund
53fafad915
Start 3.3
2016-08-18 23:55:49 +02:00
Camilla Berglund
d5e00e6b0f
Initialize context creation APIs on demand
2016-07-20 13:10:51 +02:00
Camilla Berglund
fb418b26d7
Fix grammar
...
Fixes #776 .
2016-07-17 15:39:25 +02:00
Camilla Berglund
757eea2779
Update email address
2016-06-01 21:25:20 +02:00
Camilla Berglund
6a8e169001
Update copyright notice year
2016-06-01 21:25:19 +02:00
Camilla Berglund
ef80beab81
Add run-time context creation API selection
...
Fixes #145 .
2016-05-04 17:00:07 +02:00
Camilla Berglund
11d051b69a
Formatting
2016-05-03 13:43:17 +02:00
Camilla Berglund
932a161d44
Unconditionally use some EWMH atoms
...
These window properties do no harm if they're declared even if the WM
doesn't support them. This makes GLFW slightly more tolerant of WM
changes as well as things like Ubuntu Unity reading _NET_WM_ICON without
declaring support for it.
2016-05-03 13:40:53 +02:00
Camilla Berglund
0b6a4313dd
Create EWMH and XDND atoms on demand
2016-05-01 23:01:48 +02:00
Camilla Berglund
ea73ccf22d
Add support for EWMH _NET_WM_WINDOW_TYPE
2016-03-16 16:07:22 +01:00
Camilla Berglund
b823f7151e
Add glfwSetWindowIcon
...
Adds support for setting window icons programmatically on platforms
where this makes sense.
Fixes #453 .
Closes #467 .
2016-03-10 17:26:26 +01:00
Camilla Berglund
93b4c828c1
Fix VC++ build failure
...
Regression caused by 71c72db1e3
.
2016-02-23 11:49:42 +01:00