aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-04Set context to NULL before destroyingHEADmasterdec05eba
2024-01-08nvidia: flush on swap buffer (__GL_MaxFramesAllowed=1)dec05eba
2023-12-11add window flush functiondec05eba
2023-12-08Transient for window optiondec05eba
2023-12-08remove debug printdec05eba
2023-12-08Set wm client machinedec05eba
2023-12-08Add class hint, wm name, window typedec05eba
2023-09-11right-alt/altgr should count as alt modifierdec05eba
2023-09-03Remove debug outputdec05eba
2023-08-25mdec05eba
2023-08-25Dont enable low latency mode by default since it increases cpu usagedec05eba
2023-08-25Only limit fps to monitor if vsync is enableddec05eba
2023-08-25Add monitor events, limit fps to monitor the window is in, reduce latency ↵dec05eba
(glFinish, fps limit)
2023-08-22Correct background colordec05eba
2023-07-09constdec05eba
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