about summary refs log tree commit diff
path: root/main.c
AgeCommit message (Collapse)Author
2025-10-28set namespace to suggpicker HEAD suggpickerZach DeCook
2024-01-29event loop: exit if the wayland socket disappears v0.1.4Zach DeCook
(prevents infinite loop when your compositor crashes)
2024-01-14Fix crash on --hiddenZach DeCook
2024-01-14Fix toggling hide/show by copying wvkbd's example event loopZach DeCook
2024-01-14Regression fix: keyboard didn't re-show on SIGUSR2 anymoreWillow Barraco
When triggering show() on kill USR2, everything works as expected, but the keyboard attributes are the same as before. So in layer_surface_configure, we don't match the condition. Checking hidden, and resetting it from inside this scope is enough to solve the problem.
2024-01-14hide/show/toggle: fix a few crashes (still broken)Zach DeCook
2024-01-12main.c: add a real-time signal for toggling visibility of the keyboardBrandon Doornbos
Previously it was only possible to either show or hide the keyboard. When you want to control the keyboard with a single button in, i.e. a window manager, this requires a separate script to keep track of state. This solves this by only needing one signal to toggle. Since there are only 2 USR signals, I had to use real-time signals, which are in the [POSIX standard](https://standards.ieee.org/standard/1003_1b-1993.html) and available in the [Linux kernel since 2.2](https://www.man7.org/linux/man-pages/man7/signal.7.html).
2024-01-11main: prevent crash on sigpipeZach DeCook
This is commonly caused by a bad program in the output chain, e.g. suggpicker | false
2022-07-11Use output dimensions to detect landscape modeArenM
Based off of a commit in wvkbd Most displays are in landscape mode by default, so checking to see if it's rotated will produce the exact opposite of the expected results.
2022-07-11only commit surface when it changedArenM
This is based off of a commit in wvkbd Previously wvkbd (and suggpicker) would commit a (usually unchanged) surface at the framerate of the compositor, this only commits the buffer when we render something new.
2022-06-24release: bump version v0.1.0Zach DeCook
2022-06-24main: Remove unused variablesZach DeCook
2022-06-24layer surface configure: Don't resize unless it needs to be resizedZach DeCook
2022-06-24suggpicker: Allow changing mind about which one you want to pickZach DeCook
2022-01-25main: refactor showZach DeCook
2022-01-22input: redraw after layout changeZach DeCook
2022-01-22kbd: don't send timeZach DeCook
2022-01-22input: fix obvious memory leakZach DeCook
2022-01-21suggestion: take from stdinZach DeCook
2022-01-21Project: Rename from wvkbdZach DeCook
2022-01-21layout: Remove layout fileZach DeCook
2022-01-21layout: Rename to suggsZach DeCook
2022-01-21Event Loop: Handle stdinZach DeCook
2022-01-21remove landscape layers (among other things)Zach DeCook
2022-01-20input event codes: don't useZach DeCook
2022-01-20numlayouts: hard-code to oneZach DeCook
2022-01-20print_intersect: removeZach DeCook
2022-01-20layer names: don't take argumentZach DeCook
2022-01-20remove virtual keyboard from virtual-keyboardZach DeCook
2022-01-09project: rerun clang-formatJohn Sullivan
TODO make a commit or PR hook for this
2022-01-10output: add -O flag to output overlapped keysZach DeCook
the use-case for this is simple 'swipe'-typing: another program can take the output, guess the word which is being typed, and type the rest of the word
2021-10-19renamed freeze/unfreeze to more standard hide/showMaarten van Gompel
2021-10-19implemented a --hidden paramter to start hiddenMaarten van Gompel
2021-10-19applied clang-format (no functional changes), but exempted custom include ↵Maarten van Gompel
order in keyboard.c and main.c
2021-10-19Fix normal_height when using argumentStacy Harper
This was overrided with rotation cause we dont save it
2021-10-19Add landscape height valueStacy Harper
2021-10-19Add landscape layersStacy Harper
2021-10-19Handle hide and show signalsStacy Harper
2021-10-19WIP refacto keyboard.cStacy Harper
2021-10-19refactored keymap loadingMaarten van Gompel
2021-10-19WIP: refactorise keyboard.cStacy Harper
2021-10-19Cleanup some codeStacy Harper
2021-10-19Remove useless variableStacy Harper
2021-10-19Simplify ctx initializerStacy Harper
2021-10-19added --fn parameter to set font at run timeMaarten van Gompel
2021-10-19Handle output scalingStacy Harper
2021-10-19Drop wld and implement our own pangocairo rendererStacy Harper
2021-10-19fixed layout switchingMaarten van Gompel
2021-10-19allow supplying layers through command line parameter or env varMaarten van Gompel
2021-10-19implemented configurable layersMaarten van Gompel