Commit Graph

52 Commits

Author SHA1 Message Date
Maarten van Gompel 1fff13a1b4 fixed a bug that reset the layer to layer one after hiding the overlay 2020-12-11 18:25:53 +01:00
Hiltjo Posthuma 0bd17df5ed a few more tweaks 2020-08-05 00:09:41 +02:00
Hiltjo Posthuma 73f0edf709 some code-style consistency changes + small tweaks 2020-08-04 23:52:57 +02:00
Hiltjo Posthuma 9f5404990d fixup strdup() from the last patch 2020-08-04 23:12:03 +02:00
Maarten van Gompel 3d03b522e0 cleaned up code style, fixed buffer overflow in layers configuration, added a printdbg function. 2020-08-04 23:08:13 +02:00
Maarten van Gompel 13d20da8ef Made the old layouts compatible with the new svkbd, re-added the old english layout that was removed, and re-added the initial sxmo layout and renamed the mobile layouts. Documentation updated accordingly. Final cleanup and fixes for the whole patch series. 2020-08-02 18:00:42 +02:00
Maarten van Gompel eae90f28d9 fixed the select() logic in run() to handle sigterm situations 2020-08-02 18:00:40 +02:00
Maarten van Gompel 12fe4c8923 adding some minor error catching 2020-08-02 18:00:39 +02:00
Maarten van Gompel 4dab556580 Added a dialer/numpad keyboard, added the ability to handle layouts with less keys/different layouts. Extra configurability: select layout on startup, customisable height factor. 2020-08-02 18:00:35 +02:00
Maarten van Gompel 99935775af added an extra key column (alt now on keyboard by default), added cyrillic keymap, added a toggle to enable/disable overlays, added quick toggle buttons to toggle primary two layers. Added some configurability using command line parameters and environment variables. 2020-08-02 18:00:32 +02:00
Maarten van Gompel 48994f125e Added overlays (appearing on long press), multiple layer support (rather than just a toggle) with new layers, style changes 2020-08-02 18:00:31 +02:00
Miles Alan b488ae6410 Fix SIGTERM functionality by making sure to sync before free in cleanup() 2020-08-02 18:00:30 +02:00
Maarten van Gompel c8ee269e73 Added Xft support (in the same fashion as done in dmenu by Hiltjo Posthuma), Xinerama support, changed colors and key layout
Signed-off-by: Miles Alan <m@milesalan.com>
2020-08-02 18:00:00 +02:00
Miles Alan edfd50cdcb Run XFlush instead of XSync before starting main loop; fixes bug where rending of keys fails when used in conjunction w/ dwm dock patch 2020-08-02 17:59:59 +02:00
Miles Alan 819f92950e Fix SIGTERM handler - flip terminate flag in sigterm handler & cleanup properly
Modify run function to use select() with a timeout since X events will be
blocked otherwise and terminate wouldn't apply for a while.
2020-08-02 17:59:44 +02:00
Miles Alan 6e5bf2d8e4 Move layouts to single layout.h file & toggle layers via memcpy w/ XK_Cancel 2020-08-02 17:59:28 +02:00
Hiltjo Posthuma 1c75314faf cleanup Makefile, add initial man page svkbd.1 2020-05-29 14:46:33 +02:00
Christoph Lohmann fc267005ce Bump year. 2016-01-01 14:19:33 +01:00
Christoph Lohmann ce0779e5c9 Unpress modifiers so there is no problem when exiting svkbd inbetween. 2012-10-27 00:01:15 +02:00
Christoph Lohmann d356e43d9c Fixing the problem of repeating keys. 2012-10-26 23:53:29 +02:00
Christoph Lohmann fc23b8e713 Ed is <3. 2011-11-10 19:15:05 +01:00
Christoph Lohmann e43381833b Fixing -g option. 2011-10-19 10:49:23 +02:00
Christoph Lohmann ef52905a3f Width and height cannot be negative in geometry. 2011-10-09 18:08:18 +02:00
Christoph Lohmann c63a877003 Fixing geometry arg handling (i++). 2011-10-09 18:03:23 +02:00
Christoph Lohmann 2806bed425 Making -g -geometry compatible. 2011-10-09 18:00:21 +02:00
Christoph Lohmann 3a5d2f3ed8 Fixing the geometry parsing. 2011-10-09 17:59:03 +02:00
Christoph Lohmann cfe0f2d84e Add default static floating. 2011-10-09 17:45:12 +02:00
Christoph Lohmann 08b907930c Adding xgeometry standard parsing to svkbd. 2011-10-09 17:36:09 +02:00
Christoph Lohmann b6a96b6df9 Highlighting + unpress handling fixed. 2011-10-09 17:22:50 +02:00
Christoph Lohmann bd80a579dc Removing unused variable and silencing the compiler. 2011-10-03 16:30:45 +02:00
Christoph Lohmann d4336c659c Now the bottom border is drawn again. 2011-04-13 19:09:53 +02:00
Enno Boland (Gottox) f3ec05ff37 fixing button height (again) 2011-04-13 09:46:51 +02:00
Enno Boland (Gottox) 6f0e75ccc0 merging christophs "Fixing border and sizes now for real."-patch 2011-04-10 13:36:41 +02:00
Enno Boland (Gottox) 7223d56428 small row fix 2011-04-10 13:32:16 +02:00
Christoph Lohmann ce9fd8d282 Adding a toolbar option and changing the window type. 2011-04-06 09:03:25 +02:00
Christoph Lohmann 5c97d98c63 _NET_WM_WINDOW_TYPE needs to be atom. 2011-04-05 17:23:40 +02:00
Christoph Lohmann 6e23a19d2f Adding close button. 2011-04-04 22:43:12 +02:00
Enno Boland (Gottox) fb55e57fc1 fixing segment fault while resizing. 2011-04-04 13:47:27 +02:00
Enno Boland (Gottox) 3619838eb7 Adding Christoph Lohmanns patches again. Thx :D 2011-04-04 13:39:31 +02:00
Enno Boland (tox) 31e00125e8 removing unneeded SetWMHints 2011-03-25 16:28:46 +01:00
Enno Boland (tox) 6ad5403859 merging __20h__s changes. 2011-03-25 15:14:12 +01:00
Enno Boland (tox) e485fdb9eb Small argument fix 2011-03-24 21:53:40 +01:00
Christoph Lohmann 9ff7c9fea2 Adding commandline options. 2011-03-24 19:41:58 +01:00
Christoph Lohmann 76a8bc5c3c Fixing the not properly drawn rectangles. 2011-03-24 19:10:37 +01:00
Christoph Lohmann c1e2682915 Adding a way for configuring the position and size. 2011-03-24 18:14:07 +01:00
Enno Boland (tox) 13f7f8ffb2 Added patch to make svkbd work with dwm again. Thanks Łukasz Pankowski :) 2011-02-01 20:04:02 +01:00
Enno Boland (tox) 3330664265 typo. 2010-08-10 23:15:12 +02:00
Enno Boland (tox) d002c1dd3a typo fix, removing hover. 2010-05-16 12:17:09 +02:00
Enno Boland (Gottox) 6436823105 drawkey does now copy the button to the window directly. 2008-07-16 10:10:35 +02:00
Enno Boland (Gottox) 81e162dc4b rearranging source, adding mousebuttonmodifier. 2008-07-16 08:59:28 +02:00