Commit graph

1211 commits

Author SHA1 Message Date
QC
3df30438b1 Fix some font stuff. 2015-03-19 23:48:49 +01:00
Dave Davenport
21144aef17 Fix one-off pasting text in rofi. 2015-03-19 20:01:52 +01:00
Dave Davenport
9530f195d1 Better way of getting font height. Use ascent and descent. 2015-03-19 19:58:47 +01:00
QC
7a4ef111e8 Update Changelog 2015-03-18 20:57:55 +01:00
QC
743f1919cd Autoscale when drawing the number of columns and col width. 2015-03-18 20:56:50 +01:00
QC
4dd0a85fc4 Update header. 2015-03-17 20:05:37 +01:00
Dave Davenport
101998e5b1 Update changelog with fix for auto-select. 2015-03-16 08:13:24 +01:00
QC
916e7356fe Try to fix mountains__ function. 2015-03-15 11:51:48 +01:00
Dave Davenport
4579a62b2d Add ctrl-(shift)-tab for switching modi. 2015-03-12 17:57:00 +01:00
Dave Davenport
42b86015c3 Make pointers static. 2015-03-12 08:39:50 +01:00
Dave Davenport
4fad02225e Cleanup argc/argv lugging around. 2015-03-11 18:32:37 +01:00
Dave Davenport
c89a272d4d Add number mode for dmenu (Request from Taharqa)
* option -i.
2015-03-11 18:07:54 +01:00
QC
51ac73b7b8 Add 'Jason Pleau' to Authors. 2015-03-08 16:36:15 +01:00
QC
f6ad00c7bf Pointless commit fixing comments. 2015-03-08 15:43:31 +01:00
QC
19e849d4e7 Tiny cleanup. 2015-03-07 17:22:25 +01:00
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