aboutsummaryrefslogtreecommitdiff
path: root/src/window/window.c
AgeCommit message (Collapse)Author
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-06-30Cleanup window deinitdec05eba
2023-06-25xmappingdec05eba
2023-06-25XRefreshKeyboardMappingdec05eba
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
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-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-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
2021-12-14Enable scissor test, invert scissor coordinatesdec05eba
2021-12-05Destroy window before colormapdec05eba
2021-12-02Window: add scissordec05eba
2021-11-21Fix bug where window resize event is updated every framedec05eba
2021-11-19Better document window_set_framerate_limitdec05eba
2021-11-17Fix window not being visible on kde because color map is deleted while the ↵dec05eba
window is in use
2021-11-17Window: implement function to disable key repeatdec05eba
2021-11-16Make unpack alignment byte-sized globallydec05eba
2021-11-16Ensure window gets clipboard owner before setting clipboard stringdec05eba
2021-11-16Window: add set/get clipboarddec05eba
2021-11-16Window: add function to set window position, size and size limitsdec05eba
2021-11-16Window: allow setting window minimum/max size and positiondec05eba
2021-11-16Window: add function to get the current mouse button statedec05eba
2021-11-16Window: add mouse scroll eventdec05eba
2021-11-16Window: add function to check if the window has focusdec05eba
2021-11-15Window: add close, title, cursor visibility and framerate limitdec05eba
2021-11-15Add dynamic font atlas creation (not finished)dec05eba
2021-11-08Add window function to get key state, allow invalid utf8dec05eba
2021-11-07Use char array for text entered str, reset text fields on deinitdec05eba