aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-06-30Cleanup window deinitdec05eba
2023-06-27XInternAtom create if not existsdec05eba
2023-06-27Update stb imagedec05eba
2023-06-25xmappingdec05eba
2023-06-25XRefreshKeyboardMappingdec05eba
2023-01-21fix: set prev codepoint in text renderdec05eba
2023-01-17Add option to set window background colordec05eba
This window background color is different than window.clear(color) because this window color is the background color if the window itself, which means if there is a delay between creating the window and the first frame display then the window background color is black, but if window color is set then that color will be displayed instead. Normally you want to set the window background color to the same color as the color you use in window.clear(color).
2023-01-14Eliminate resize flicker by setting window gravity to NorthWestdec05eba
2023-01-14Set clear color before clear, fixes black background on first framedec05eba
2023-01-14Improve resize performance by setting back pixel instead of back pixmapdec05eba
2023-01-07constdec05eba
2023-01-07Window: add functions to set fullscreen state, vsync statedec05eba
2023-01-07Use const for argdec05eba
2022-12-18Revert "Do lazy get clipboard version, get as much data as possible at once. ↵dec05eba
This seems to be the only reliable method and other programs do this" This reverts commit ff4eb7bb389930e345b0beaadfd97d7a219dc30a.
2022-12-18Do lazy get clipboard version, get as much data as possible at once. This ↵dec05eba
seems to be the only reliable method and other programs do this
2022-12-18Fix issue where images cant be pasted from clipboard if mgl is the first ↵dec05eba
application that uses image/--- atoms
2022-12-18Attempt to do clipboard get property for large data (incr). Should fix ↵dec05eba
clipboard image pasting on wayland
2022-12-11Fix pasting text from mgl to other applicationsdec05eba
2022-11-27mgl_window_get_clipboard_string set ptr to NULL after free when failingdec05eba
2022-11-06Set event type unknown on invalid eventdec05eba
2022-11-05Only allow text in mgl_window_get_clipboard_stringdec05eba
2022-10-11Add option to support alpha for window or not. This is important for nvidia flipdec05eba
2022-10-07xinitthreadsdec05eba
2022-10-02Do not use __GL_THREADED_OPTIMIZATIONS as mgl might be used in an ↵dec05eba
application with 3d graphics
2022-09-28Dont use const, wtfdec05eba
2022-09-28Dont use free'd fbconfigsdec05eba
2022-09-27Properly detect failed dlsym for gl.cdec05eba
2022-09-23mdec05eba
2022-09-23Make window rgba and set background transparent to allow window clear to ↵dec05eba
work with transparency
2022-09-12Fix key/button state when window loses focus (check state on call to ↵dec05eba
is_**_pressed)
2022-09-10Fix clipboard images for gnome screenshotdec05eba
2022-09-10Fix incorrect clipboard callback datadec05eba
2022-09-09Fail mgl_window_get_clipboard_string on timeoutdec05eba
2022-09-09Support png,jpg and gif clipboard. Use callback for clipboarddec05eba
2022-09-06Set NET_WM_PIDdec05eba
2022-08-21Attempt to fix vertex draw when using texcoords without a texture (such as ↵dec05eba
when using a shader)
2022-08-21Update TODOdec05eba
2022-04-07Force disable threaded gl optimization to reduce cpu usage (thread ↵dec05eba
optimization doesn't improve performance here so its useless)
2022-03-31Add override redirect option to window createdec05eba
2022-03-30Proper y offset for text, add option to create hidden window and add ↵dec05eba
function to make it visible (map, unmap)
2022-03-11Set ic focus on focus, remove urgency hint on focusdec05eba
2022-02-15Revert text offset y fix because it breaks quickmedia. Revert vertex draw ↵dec05eba
texture coordinate reset because it breaks quickmedia
2022-02-15Render missing glyphs as a crossed out boxdec05eba
2021-12-21Remove commentdec05eba
2021-12-14Enable scissor test, invert scissor coordinatesdec05eba
2021-12-08Optimize hash map % to &dec05eba
2021-12-08Vertex translation, fix vertex texture usedec05eba
2021-12-05Destroy window before colormapdec05eba
2021-12-02Window: add scissordec05eba
2021-11-28Add utf8 index to offset functiondec05eba