Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-01-21 | X11: Generate text events for keypad symbols | Martin Preinfalk | 1 | -1/+2 | |
2025-01-21 | Add missing const qualifier | David Robillard | 1 | -1/+1 | |
2025-01-21 | Add PUGL_KEY_NONE | David Robillard | 1 | -3/+3 | |
This isn't a strict enumeration anyway, so a sentinel value does no harm, and using it avoids warnings about testing an enum with no zero value. | |||||
2025-01-21 | Fix whitespace | David Robillard | 1 | -4/+1 | |
2024-07-13 | X11: Avoid setting PBaseSize hints for top-level windows | David Robillard | 1 | -1/+2 | |
By my reading of the spec, pugl's use of this hint was correct. However, many window managers break when it's set and use that size as the minimum (even when an actual minimum is set). This seems to be a bug based on a misreading of the spec which has been copy-pasted across many small window manager projects over the years. Not exposing the default size is unfortunate, but apparently nobody misses features based on it and there's nothing we can do about it here, so just deny the window manager the information entirely. The hint is still set for embedded views because (for example) plugin hosts need this information. | |||||
2024-06-10 | Fix build and tests with optional X11 features disabled | David Robillard | 1 | -1/+1 | |
2023-11-11 | Add support for Num, Scroll, and Caps Lock | David Robillard | 1 | -1/+4 | |
2023-10-22 | X11: Only call XSetTransientForHint for valid windows | falkTX | 1 | -1/+1 | |
Signed-off-by: falkTX <falktx@falktx.com> | |||||
2023-10-21 | Fix potential memory leaks due to realloc() failure | David Robillard | 1 | -26/+42 | |
2023-10-21 | Fix whitespace | David Robillard | 1 | -1/+2 | |
2023-10-21 | X11: Use PUGL_INIT_STRUCT to initialize char arrays | falkTX | 1 | -3/+3 | |
2023-10-21 | X11: Fix key press event key when control is pressed | falkTX | 1 | -2/+2 | |
2023-10-21 | Filter out corresponding modifiers from key events | David Robillard | 1 | -4/+6 | |
Platforms differ here, but it's meaningless to ask about the state of a modifier that's currently being pressed or released, so simply mask this out in general so it's easy for platform implementations to clean events up before dispatching them. | |||||
2023-05-29 | Add support for numeric keypad and simplify keyboard handling | David Robillard | 1 | -35/+38 | |
2023-05-27 | X11: Fix cursors on systems where XcursorGetTheme() doesn't work | David Robillard | 1 | -2/+3 | |
2023-05-22 | X11: Fix puglStopTimer() with multiple timers | Thomas Brand | 1 | -5/+3 | |
2023-05-12 | Factor out return code to status conversion | David Robillard | 1 | -30/+35 | |
2023-05-12 | Make puglSetSizeHint() tolerate unknown hints on all platforms | David Robillard | 1 | -0/+4 | |
2023-05-12 | Factor out puglIsValidSize() and use consistent rules everywhere | David Robillard | 1 | -6/+5 | |
2023-05-12 | X11: Use the root provided by XGetWindowAttributes() | David Robillard | 1 | -5/+4 | |
2023-05-12 | X11: Avoid deferring empty exposures | David Robillard | 1 | -10/+13 | |
2023-05-12 | X11: Use available X extensions by default | David Robillard | 1 | -12/+36 | |
2023-05-03 | Fix mismatched types in ternary expressions | David Robillard | 1 | -5/+6 | |
2023-05-03 | Fix implicit sign conversions | David Robillard | 1 | -3/+3 | |
2023-02-18 | Use XSetWMNormalHints instead of XSetNormalHints | sjaehn | 1 | -1/+1 | |
2023-02-15 | Fix crash on views with no title set | David Robillard | 1 | -9/+11 | |
2023-02-10 | Factor out macros | David Robillard | 1 | -8/+1 | |
2023-01-14 | Add general string hint interface | David Robillard | 1 | -10/+20 | |
This replaces the window title and class name APIs with a more general one that can be easily extended to other things, like icon names, more detailed application hints, and so on. | |||||
2023-01-11 | Guard against required hints explicitly being set to PUGL_DONT_CARE | David Robillard | 1 | -0/+5 | |
2023-01-11 | Clean up puglRealize() implementations | David Robillard | 1 | -10/+4 | |
2023-01-11 | X11: Fix puglPostRedisplay() outside of event handlers | David Robillard | 1 | -2/+4 | |
2023-01-11 | X11: Make puglSendEvent() gracefully handle unrealized views | David Robillard | 1 | -0/+3 | |
2023-01-11 | Reduce duplicated code | David Robillard | 1 | -11/+1 | |
2023-01-11 | X11: Fix positioning of top-level windows with decorations | David Robillard | 1 | -8/+65 | |
2023-01-11 | Remove cached frame from view | David Robillard | 1 | -41/+89 | |
This was just a source of ambiguity and bugs, since it represented different things at different times and could become stale. Redundant data is always trouble, so eliminate it, leaving just two positions/sizes: the defaults (used when the view is not yet realized), and the last configuration. | |||||
2023-01-11 | Fix checks for invalid view positions | David Robillard | 1 | -1/+1 | |
2023-01-10 | Add PUGL_CURSOR_ALL_SCROLL | David Robillard | 1 | -0/+1 | |
2023-01-10 | Fix inconsistent naming convention | David Robillard | 1 | -5/+5 | |
2023-01-08 | Remove branch clone | David Robillard | 1 | -2/+0 | |
2023-01-08 | X11: Add support for _NET_WM_PING protocol | David Robillard | 1 | -14/+53 | |
This is mainly used to allow the window manager to close locked or otherwise misbehaving windows. The PID and hostname properties are both required to properly support this, but may also be used for other things. | |||||
2023-01-08 | Add support for raising windows | David Robillard | 1 | -2/+13 | |
2023-01-07 | Replace map/unmap events with more expressive configure events | David Robillard | 1 | -17/+21 | |
2023-01-07 | Add support for special view types and styles | David Robillard | 1 | -51/+185 | |
2023-01-07 | Support closing views by sending a close event | David Robillard | 1 | -4/+26 | |
2023-01-07 | Rename create/destroy events to realize/unrealize | David Robillard | 1 | -4/+3 | |
As evidence that this was confusing, the documentation for these was an outright lie, and I've burned quite a bit of time in the past few days trying to rework things based around that flawed understanding. These names make it clear what these events actually are. If we need actual create/destroy events with a broader scope, they'll have to be added, but I suspect those aren't actually useful anyway. | |||||
2023-01-07 | Replace visible flag with a more descriptive view "stage" | David Robillard | 1 | -4/+4 | |
2023-01-04 | Add puglUnrealize() | David Robillard | 1 | -16/+50 | |
2023-01-02 | X11: Factor out getCurrentConfiguration | David Robillard | 1 | -11/+18 | |
2023-01-02 | Factor out common realize checks and initialization | David Robillard | 1 | -14/+4 | |
2023-01-02 | Fix PUGL_NUM_CURSORS | David Robillard | 1 | -3/+1 | |