aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/x11.h
AgeCommit message (Collapse)AuthorFilesLines
2020-10-04Add puglGetViewHint()David Robillard1-0/+5
This allows retrieving properties of the view that may be needed, such as the actual bit depth (which may vary from the suggested depth provided as a hint).
2020-07-05Improve struct packingDavid Robillard1-4/+4
Unfortunately there is no warning like Wpadded but only for internal padding, so that can't be turned on, but if there was, after this commit the build would be clean with it. Maybe some day...
2020-07-04X11: Fix internal timer ID type to match public interfaceDavid Robillard1-1/+1
2020-06-13Add puglSetCursor()Jean Pierre Cimalando1-0/+3
2020-05-16Use email address in copyright headersDavid Robillard1-1/+1
Not really sure why I used a web link here (maybe because it's more stable), but this is more conventional.
2020-05-16Fix file documentationDavid Robillard1-2/+3
2020-03-16Cleanup: Add missing includesDavid Robillard1-0/+2
2020-03-16Add timer eventsDavid Robillard1-0/+11
2020-03-09Add PuglEventClient and puglSendEvent()David Robillard1-0/+1
This event makes it possible to send an arbitrary event to a view, which is useful for many things. In particular, this method of communication with views will wake up the event loop, unlike hacks in applications that share data in some other way.
2020-03-01Cleanup: Fix includesDavid Robillard1-1/+3
2020-02-02X11: Dispatch exposures from event callbacks in the same iterationDavid Robillard1-0/+3
2019-11-03Move platform stub configuration code to platform headersDavid Robillard1-0/+13
This allows backends which use basic software rendering (like Cairo) to share the common basic window format setup code.
2019-09-07Add clipboard supportDavid Robillard1-0/+1
2019-09-03Add puglDispatchEvents()David Robillard1-0/+2
2019-09-03X11: Move input method to worldDavid Robillard1-1/+1
2019-09-03X11: Move atoms to worldDavid Robillard1-10/+11
2019-09-03Add PuglWorldDavid Robillard1-0/+4
The old API was broken for programs that manage multiple views, since it was impossible to wait for events on any view. There are also several functions in the API which are not actually associated with views at all, so those can now be moved to the more appropriate PuglWorld to make this more clear. The old puglInit() and puglDestroy() functions are preserved for compatibility, but marked as deprecated.
2019-07-31X11: Support UTF8 in window titlesJP Cimalando1-0/+2
It's possible that this does bad things if a UTF8 string is used on a system that does not support it (because XStoreName is still called), but I have no idea how likely this scenario is. Leaving it this way because it means the ASCII case will still work everywhere, and it's easy enough to avoid if this is a problem.
2019-07-29Reorganize source to separate private implementation detailsDavid Robillard1-0/+41
Taking a page from C++ convention, where "detail" is for things that should not be included in user code.