aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11.c
AgeCommit message (Collapse)AuthorFilesLines
2019-02-16Clean up includesDavid Robillard1-10/+9
2019-02-16Factor out drawing context from platform window implementationDavid Robillard1-188/+37
2019-02-15Remove PUGL_CAIRO_GLDavid Robillard1-36/+0
The old cairo_gl.h header or something similar is easy enough to use in application code if someone wants to do this, and maintaining a separate context type for it is a hassle and arguably out of scope.
2018-09-15Fix minor clang-tidy warningsDavid Robillard1-1/+1
2018-09-11Fix GCC8 fall-through warningsDavid Robillard1-1/+2
2017-10-03Don't clear entire cairo surface on each exposeDavid Robillard1-6/+0
2017-07-23Fix merging of expose eventsDavid Robillard1-7/+13
Thanks JP Cimalando
2016-09-20Move entire API to pugl.hDavid Robillard1-1/+0
2016-09-18Remove GLUT-like event callbacksDavid Robillard1-0/+5
2016-09-14Fix compose keyDavid Robillard1-3/+5
Turns out the app needs to call setlocale(LC_ALL, "") for this to work. I am not sure if it is possible to make things work correctly purely in Pugl (since plugin UIs can't call setlocale).
2016-09-14Fix focus eventsDavid Robillard1-1/+1
2016-09-14Fix puglInitInternals prototypeDavid Robillard1-1/+1
2016-09-01Add PUGL_CLOSE eventDavid Robillard1-11/+9
This allows purely event-driven applications to handle window close. Something more extensible for WM message seems like it might be a good idea here, but I can't think of specific uses, so this will do.
2016-09-01Add puglGetVisible()David Robillard1-0/+2
2016-08-31Replace send_event with extensible flagsDavid Robillard1-3/+4
This is currently functionally equivalent, but taking up space in the event struct for a single bool which could be used for 32 flags for any number of things that might show up in the future seems like a very bad idea.
2016-07-28Add support for Cairo on GLDavid Robillard1-24/+90
2016-07-28Clean up GL attributes and simplify configurationDavid Robillard1-21/+32
2016-07-28Fix flickering and laggy window resizeDavid Robillard1-17/+64
2015-11-12Fix memory leaksDavid Robillard1-0/+1
2015-09-13Avoid redundant expose events on resize.David Robillard1-1/+4
2015-09-13Resize draw context before dispatching configure.David Robillard1-16/+11
2015-09-12Update copyright dates.David Robillard1-1/+1
2015-09-12Add puglWaitForEvent for blocking main loops.David Robillard1-0/+9
2015-09-12Add support for aspect ratio constraints.David Robillard1-4/+14
Currently only implemented on X11.
2015-09-12Fix resizing with cairo context.David Robillard1-10/+23
2015-09-12Fix destruction of cairo context.David Robillard1-1/+2
2015-02-15Fix string initialization.David Robillard1-1/+1
2015-02-15Use Xutf8LookupString if present.David Robillard1-2/+10
This is wrong in some ways, and XmbLookupString is wrong in others. I have no idea why.
2015-02-15UTF-8 support on OSX.David Robillard1-38/+1
2015-02-14UTF-8 keyboard input support on X11.David Robillard1-12/+90
2014-12-16Add support for transient child windows.Robin Gareus1-0/+5
No Windows support currently. Conflicts: pugl/pugl.h pugl/pugl_osx.m pugl/pugl_win.cpp pugl/pugl_x11.c
2014-12-16Support minimum window size.Robin Gareus1-0/+5
Conflicts: pugl/pugl_win.cpp
2014-12-16Never redisplay after close.Robin Gareus1-0/+2
Conflicts: pugl/pugl_x11.c
2014-09-27Improve documentation.David Robillard1-1/+1
2014-08-27Event-based dispatch.David Robillard1-196/+242
2014-08-27Cairo support on X11.David Robillard1-63/+110
2014-07-16Various minor fixes (#953).David Robillard1-4/+5
2014-05-13Minor fixes.David Robillard1-1/+1
2014-05-13Fix mismatched defines.David Robillard1-1/+1
2014-05-13Fix non-extensible puglInit API.David Robillard1-33/+39
Fix memory leak.
2014-01-27Require PUGL_VERBOSE to be defined for logging.David Robillard1-5/+16
Add X focus grab hack from Robin Gareus.
2014-01-18Factor out key=>sym/string code and remove use of deprecated XKeycodeToKeysym.David Robillard1-31/+29
2014-01-17Add mouse position to PuglScrollFunc (apply #896).David Robillard1-1/+3
Fix compilation of pugl_test.
2013-03-18Addition of visible parameter and other minor fixes from FalkTX.David Robillard1-2/+5
2013-02-03Apply portability fixes from Ben Loftis.David Robillard1-8/+9
2012-08-09Fix lax prototypes.David Robillard1-2/+2
2012-05-11Fix memory leaks.David Robillard1-8/+11
2012-05-10Destroy window before closing display.David Robillard1-6/+5
2012-05-02Remove GLU dependency.David Robillard1-18/+8
Fix compilation errors on X11. Make default resize function set up a 2D view. Set appropriate reshape callback in pugl_test.
2012-05-01Add AUTHORS and README file.David Robillard1-0/+4
Add doc comments for each file.