Commit graph

696 commits

Author SHA1 Message Date
QC
7322819a1d No need to check nullptr on nonnull argument. 2015-03-06 20:38:11 +01:00
Dave Davenport
444d09b905 Update spell. 2015-03-05 20:26:52 +01:00
Dave Davenport
923dbb93ec Typo o rama. 2015-03-04 22:47:52 +01:00
Dave Davenport
8a86ad5084 Merge pull request #136 from jpleau/fix_compilation_warning
xrmoptions: give a name to the union in XrmOption struct
2015-03-04 21:54:41 +01:00
Jason Pleau
2fe71512fb xrmoptions: give a name to the union in XrmOption struct
fixes a compilation warning when building with -Wpedantic
2015-03-03 18:43:51 -05:00
Dave Davenport
94ae8d09e2 Move test with X stuff in test-x target. 2015-03-03 22:11:17 +01:00
Dave Davenport
ab0f53caf6 Generate tar.xz for dist. 2015-03-02 22:23:55 +01:00
QC
6238816a5b Fix travis mail. 2015-03-01 20:17:30 +01:00
QC
bd9055f291 Patch from roomcays, fix building old version 2015-03-01 19:52:06 +01:00
Qball Cow
3b21f1dac8 Update copyright notice 2015-02-28 18:11:46 +01:00
Qball Cow
c97c81e9af Update makefile dependency. 2015-02-27 16:34:57 +01:00
Qball Cow
1fad2812d4 Update version to 15.2 2015-02-27 15:12:52 +01:00
Dave Davenport
a83a06a95c Re-add zeltak mode. 2015-02-24 17:35:09 +01:00
Dave Davenport
d3157e336f Add Rasi as contributer. 2015-02-24 02:44:55 +01:00
Dave Davenport
df7b98ac7f Add 'modi' alias for 'switchers' and update manpage. 2015-02-23 08:39:29 +01:00
QC
c0a409185b Add pedantic 2015-02-22 23:04:08 +01:00
Dave Davenport
2474575a90 Small move. 2015-02-19 13:44:59 +01:00
Dave Davenport
da8902ac88 Replace signal by sigaction 2015-02-19 13:22:10 +01:00
Dave Davenport
d9db18266c Remove unused TIMING. 2015-02-19 13:11:39 +01:00
Dave Davenport
b143a8cd94 Update configuration. 2015-02-18 14:00:19 +01:00
Dave Davenport
8b50e94fea Make compiler more picky.
Add -Werror=missing-prototypes
2015-02-18 08:53:38 +01:00
Dave Davenport
95f7d2d7cd Fix typo in makefile, wrong path. 2015-02-17 15:19:26 +01:00
Dave Davenport
ba6d122ccb Update Authors file. 2015-02-17 15:04:51 +01:00
Qball Cow
3b18c28792 Remove unused function. 2015-02-17 14:27:12 +01:00
Dave Davenport
a534a0f244 Rewrite of the configuration parsing, no longer duplicating options between Xrm and CMD.
* NEEDS TESTING.
2015-02-17 10:31:59 +01:00
Dave Davenport
bda97e0849 Throw a warning when using old commandline arguments.
* Give error on -now, -rnow, -snow, -key, -skey, -rkey
        * Update manpage.
2015-02-16 09:07:05 +01:00
Dave Davenport
e47ebf359f Merge pull request #129 from gbitzes/master
Fix bugs relating to hotkeys with modifiers. (Thanks gbitzes)
2015-02-16 08:42:50 +01:00
Georgios Bitzes
07df49a5af Fix bugs relating to hotkeys with modifiers
This commit makes the following changes:
1) Fix a bad check introduced in dee0bfb, which checks the modstate of the
event with the keysym of the switcher, not its modmask:

        modstate & ( switchers[i].keysym )

I think it was broken before as well, a binary AND between the two masks
will not tell much about whether they are equal. Instead, the masks are
now checked for equality after removing LockMask and NumlockMask.

2) Stop binding to AnyModifier when none is used. This conflicts with the case
in which we want to bind different modes to the same key, but different
modifiers.

for example, rofi -key-run F2 -key-ssh alt+F2 -key-window shift+F2

Binding F2 with AnyModifier would prevent alt+F2 and shift+F2 from being used.

3) Remove UngrabKey from x11_grab_key to make the above example possible.
4) Refactor search for any of the global keybindings into function locate_switcher.
2015-02-16 03:20:28 +02:00
QC
faf6a708dc Fix travis test. 2015-02-15 21:34:13 +01:00
QC
dee0bfb821 Fix #128: Better handling of keybindings and remove deprecated launching.
See manpage.
2015-02-15 21:15:16 +01:00
QC
b6652a0221 Small move 2015-02-14 19:42:04 +01:00
Dave Davenport
8347963ed8 Fix some warnings from clang-check. 2015-02-13 15:37:55 +01:00
Dave Davenport
7e1063803a Comments, compile order and Display argument. 2015-02-13 08:26:23 +01:00
QC
1b5d0d1ad1 Update copyright 2015-02-12 23:00:47 +01:00
QC
ee24b209bb Fixing i3 crash. 2015-02-12 22:42:29 +01:00
QC
4e55889223 Update indenting. 2015-02-12 22:34:33 +01:00
QC
877c8051c6 Update copyright license. 2015-02-12 22:34:06 +01:00
QC
c760432a6c Moving files around, dialogs in dialog directory. 2015-02-12 22:26:28 +01:00
Dave Davenport
605fe4911c Refactor code, split out window switcher code. 2015-02-12 22:16:32 +01:00
Dave Davenport
9240a636d4 Fix stupid typo in previous commit, swapping columns/rows in positioning textboxes. 2015-02-12 07:55:23 +01:00
Dave Davenport
f74c8c1839 Cleanup. 2015-02-11 23:07:55 +01:00
Dave Davenport
c5f95d4e25 Small comment updates. 2015-02-10 08:12:03 +01:00
Dave Davenport
472dc452d5 Update Changelog and Authors file. 2015-02-10 08:00:18 +01:00
Dave Davenport
a50219e903 Remove hmode. (Rather no implementation then a bad one.) 2015-02-10 07:42:40 +01:00
QC
e76db3fce3 Fix indenting. 2015-02-09 20:23:55 +01:00
QC
a69eb4e22c Simplify paste code. 2015-02-09 20:20:51 +01:00
QC
67cbd48c8b Add some comments, rename. 2015-02-09 20:05:30 +01:00
QC
f6bc8f7c32 Fix test compile warning. 2015-02-09 19:58:17 +01:00
Dave Davenport
682907d340 Splitting over more files. 2015-02-09 19:35:51 +01:00
Dave Davenport
f7eeaec60f Fix #126: Allow (simplistic) word movement and deletion.
* Ctrl-Alt-d: Delete word
        * Ctrl-Alt-h: Delete previous word
        * Alt-f: Forward one word
        * Alt-b: Backwards one word
2015-02-07 16:42:42 +01:00