Commit graph

149 commits

Author SHA1 Message Date
Quentin Glidic
a9199e3e17
Use libnkutils for keybindings
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-29 16:51:06 +02:00
Dave Davenport
494550d38d [ThemeParser] Add CSS color names support
* [ThemeParser] Add css color names

* Add CSS color support (WIP)

* Parse color names in the lexer.

* Add test for css color names

* Indent and fix ordering
2017-05-15 22:46:33 +02:00
Quentin Glidic
bb5d839f9c
xkb: Allow binding modifiers
And modified modifiers too.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 23:53:52 +02:00
Quentin Glidic
9a68b22009
Fix licenses headers
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15 12:32:05 +02:00
Quentin Glidic
cfbe4027bc
Consolidate logging
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15 12:07:29 +02:00
Dave Davenport
ba9e1fb92a Switch to g_{debug,warning} instead of g_log 2017-04-15 11:37:50 +02:00
Dave Davenport
9ae1344d56 Improve error message when called with -show 2017-03-31 13:47:44 +02:00
Dave Davenport
898e4a2717 Remove old color structure and name based parsing 2017-03-30 08:30:02 +02:00
Dave Davenport
904ab9eafc Force sync and finishing of pending requests before shutting disconnecting from X11 #576 2017-03-29 19:49:10 +02:00
Dave Davenport
0900b0d925 README: Call run-mode application launcher 2017-03-24 09:51:57 +01:00
Dave Davenport
3f4d58ef53 Indent code. 2017-03-04 19:41:06 +01:00
Dave Davenport
8608a46633 Fix missing capital. (sorry not awake yet) 2017-02-18 12:12:51 +01:00
Dave Davenport
ed7cfcb6aa Add openbox to the naughty list 2017-02-18 10:47:53 +01:00
Dave Davenport
97be4e9c72 Use xcb_ewmh_get_supporting_wm to get window to get wm name on 2017-02-11 19:51:02 +01:00
Dave Davenport
c386521574 Add an window manager detection function to startup.
current_window_manager now is an enum of known window managers.
2017-02-11 16:53:37 +01:00
Dave Davenport
0ebd6a260b Add auto-detect option to DPI setting. 2017-01-21 12:58:52 +01:00
Dave Davenport
30f7846e4c Give error when multiple (non-modifier) keys are hit. 2017-01-15 21:14:43 +01:00
Dave Davenport
f42e4ffbd7 Remove old cairo color set functions 2017-01-09 08:32:16 +01:00
Dave Davenport
baab2047ad Indent magic, rework makefile so lexer and yacc file are not passed. 2017-01-08 21:36:06 +01:00
Dave Davenport
051be0cfe6 Change keyboard grabbing behaviour, if you fail, continue running and try in background to get them. 2017-01-06 11:00:27 +01:00
Dave Davenport
22e2d7587d Update copyright to 2017. 2017-01-03 17:59:28 +01:00
Dave Davenport
d7b5b9fbfa Fix some compile warnings 2016-12-15 09:17:39 +01:00
Dave Davenport
ea28bcdc74 Use g_strsplit_set instead of strtok so we can run g_strsplit in place 2016-12-08 16:53:48 +01:00
Dave Davenport
3e3fb24ea5 Strip spaces from key-name (Issue: #511) 2016-12-06 19:30:53 +01:00
Dave Davenport
7e74d39a01 Fix indentation 2016-11-15 08:24:27 +01:00
Dave Davenport
c86a28ca70 Small code restructure 2016-11-15 08:24:06 +01:00
Dave Davenport
a9dbd787cf Include in error mesg, what key failed to bind. 2016-11-14 18:42:41 +01:00
Dave Davenport
29cacd0e83 Try to improve parsing of Keybinding. Give more specific error of what failed.
+ Implementation is slower. but is one time, so should be fine.
2016-11-14 18:32:22 +01:00
Dave Davenport
62879ee739 Continue parsing when keybinding fail, only show errors after all are done. 2016-11-14 16:53:01 +01:00
Dave Davenport
fcf3c33415 Fix keybinding with Shift in name. Alt-Shift-S -> Alt-S. Alt-Shift-1 -> Alt-exclam
+ indent.
2016-11-14 16:25:04 +01:00
Dave Davenport
e72508b782 Remove opacity option. 2016-11-01 08:10:27 +01:00
Dave Davenport
fb459e1660 Make scrollbar behave better 2016-10-26 08:24:34 +02:00
Dave Davenport
163934fa8c Simplify some code, more comments. (90% docu) 2016-10-25 22:45:11 +02:00
Dave Davenport
ce341f6885 Document more headers. 2016-10-14 16:46:54 +02:00
Dave Davenport
f6755d8a18 Always fallback to mouse position when one of the -X options are choosen. 2016-10-13 18:09:03 +02:00
Dave Davenport
e3fb17a843 Ask window manager to hide decoration in normal-window mode.
Issue #485
2016-09-08 08:57:35 +02:00
Dave Davenport
4379f3be7c Ctrl-click does alternate accept entry.
Fixes #429
2016-09-02 18:19:16 +02:00
Dave Davenport
642cad350d Remove pointless NULL check. 2016-09-02 09:32:32 +02:00
Dave Davenport
4a4769f0b4 Add debug and indent 2016-08-31 10:06:42 +02:00
Dave Davenport
4a95285212 Merge branch 'seletskiy-xinerama'
* Tweak some minor things.
2016-08-31 09:59:51 +02:00
Stanislav Seletskiy
a6207e473a remove functions from .h, free memory, int to bool 2016-08-31 14:29:25 +07:00
Stanislav Seletskiy
05165a02f2 add xinerama support 2016-08-31 14:10:30 +07:00
Dave Davenport
ad53de507c Extra cleanup at exit. 2016-08-22 08:39:22 +02:00
Dave Davenport
df7468b491 Use XRandr to get monitor layout instead of xinerama.
* You can now specify monitor by name, or primary status.
2016-08-19 10:46:38 +02:00
Dave Davenport
26d1e64b22 Make textbox use character position instead of byte index for cursor. 2016-08-15 09:01:56 +02:00
Dave Davenport
026a8cbb34 Fix #438 look for a 8 bpc 32bit visual, fixes 10bpc 30bit screen 2016-08-07 13:26:28 +02:00
Dave Davenport
4be25abad7 Fix some doxygen warnings. 2016-07-29 08:32:34 +02:00
Dave Davenport
4af6976411 Fix piece of weird code to fetch background image. 2016-06-26 17:10:29 +02:00
Dave Davenport
5fb6ee1383 Fix rootwindow set at wrong pointer level. 2016-06-21 22:09:29 +02:00
Dave Davenport
bd412b9975 Grab mouse pointer with keyboard. 2016-05-09 08:47:28 +02:00