aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/x11.h
AgeCommit message (Collapse)AuthorFilesLines
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.