Commit graph

3315 commits

Author SHA1 Message Date
QC
1b469f7ee3 travis fail 2015-09-04 20:56:11 +02:00
QC
234bb088ef Add some debug info 2015-09-04 20:46:42 +02:00
Dave Davenport
67091fa1a7 First calc size then draw handle. 2015-09-04 17:58:30 +02:00
Dave Davenport
1e4721b275 Add linemargin between handle and rows. 2015-09-04 17:55:54 +02:00
Dave Davenport
5031cdd228 Calculate size of handle for scrollbar better. 2015-09-04 14:52:57 +02:00
Rasmus Steinke
21b3ba48fb Merge pull request #221 from t-wissmann/fix-eval-order
First compute cmd_list length before passing it
2015-09-04 13:38:54 +02:00
Thorsten Wißmann
8f0bf673ce First compute cmd_list length before passing it
In switcher_run(), first compute the cmd_list and in particular its
length before passing it to menu().

In C the evaluation order of parameters to a function call is
unspecified, see e.g. http://en.cppreference.com/w/c/language/eval_order
for some background. So it might happen (and indeed did happen on my
machine) that cmd_list_length (of value 0) is pushed to the stack before
sw->get_data() sets the variable to the actual length.
2015-09-04 13:00:17 +02:00
Dave Davenport
72ef9c014f Document doc, fix small drawing things in scrollbar 2015-09-04 08:42:09 +02:00
Dave Davenport
380697b895 scrollbar: Handle mouse clicks, fix width, remove border. 2015-09-04 08:26:57 +02:00
Rasmus Steinke
bcd0ed8674 fix phrasing 2015-09-04 00:53:11 +02:00
Rasmus Steinke
f63fefe918 Merge branch 'master' of https://github.com/DaveDavenport/rofi 2015-09-04 00:33:18 +02:00
Rasmus Steinke
00daa08892 make quotes equal 2015-09-04 00:30:46 +02:00
Rasmus Steinke
18a7bc54e9 fix spacings 2015-09-04 00:27:34 +02:00
QC
d3481de3d6 Fix small 1 px. offset 2015-09-03 22:16:19 +02:00
Dave Davenport
4bbbecd17d Add scrollbar source code. 2015-09-03 22:12:20 +02:00
Dave Davenport
d16bf26bf8 Add initial scrollbar 2015-09-03 18:23:00 +02:00
Dave Davenport
2c45c02c7f Small cleanup. 2015-09-03 08:20:08 +02:00
Rasmus Steinke
e90abbbcf0 first try of manpage cleanup 2015-09-02 23:49:08 +02:00
QC
27f5c7413e cleanup. 2015-09-02 12:29:28 +02:00
QC
9d7518c7ab Add 10 more custom key binding. Issue: #218 2015-09-02 10:05:02 +02:00
QC
583e824726 Indent 2015-09-01 20:44:47 +02:00
Dave Davenport
29d0c109cb Add WINDOW_TYPE_DESKTOP to ignore list.
Issue: #215
2015-08-31 08:00:23 +02:00
Dave Davenport
5c618681c4 Add dialogs.h header. 2015-08-31 07:57:29 +02:00
QC
6c37c0d989 Do not refilter on cursor move 2015-08-29 23:02:30 +02:00
QC
9c53d0121d Move sigchld into signal handling thread. 2015-08-29 15:19:23 +02:00
QC
89dcb5be1e Remove unused function 2015-08-29 11:57:04 +02:00
Dave Davenport
ae3c8c764f Update authors file. 2015-08-28 08:45:15 +02:00
Dave Davenport
3c91c8d6e0 Issue: #213 hide windows marked as type DOCK
Removes i3 hack.
2015-08-27 21:09:12 +02:00
Dave Davenport
b07a9fc904 Fix 1 pixel offset separator 2015-08-27 07:36:24 +02:00
Dave Davenport
353e82b27d Allow 0 line margin 2015-08-27 07:35:34 +02:00
QC
2277501566 Cleanup drawing a bit. 2015-08-26 21:49:53 +02:00
Dave Davenport
d9a9d2489a Add separator color and style option. 2015-08-26 18:11:53 +02:00
Thomas Adam
d676232846 NET_WM_DESKTOP: don't assume desktop zero is invalid
When checking the client's _NET_WM_DESKTOP state, if a client has a desktop
set, allow for desktop zero being valid; no need to add one to the result.
The specification allows for desktop zero.
2015-08-24 20:08:25 +02:00
QC
c170eae8c8 Issue: #207 add generic -filter mode. 2015-08-20 21:42:53 +02:00
Dave Davenport
610c738377 Merge pull request #209 from t-wissmann/menu-over-window
Monitor -2 stands for the focused window
2015-08-19 09:26:27 +02:00
Thorsten Wißmann
cf731b1504 Monitor -2 stands for the focused window
When setting rofi's monitor to -2, rofi is placed over the focused
window.
2015-08-17 18:32:17 +02:00
QC
fbb2e34aab remove xdg-terminal stuff 2015-08-04 12:56:01 +02:00
Dave Davenport
fa1cbe62ab Merge pull request #203 from jubalh/master
Call bash instead of sh for rofi-sensible-terminal
2015-08-04 12:10:02 +02:00
Michael Vetter
1c52aafc3c Call bash instead of sh for rofi-sensible-terminal
In the script you use 'command -v' which AFAIK is a bash built-in and
thus not available on all shells. Although /bin/sh links to /bin/bash on
many systems it does not on every system. So it is possible that it does
not work.
2015-08-04 11:53:37 +02:00
Dave Davenport
1ca7141621 Add quick solution for #202, expose line-margin setting. 2015-08-04 09:42:14 +02:00
QC
7e9ac526b5 Use rofi for nagbar 2015-08-03 20:42:16 +02:00
QC
da044e0a05 Add rofi-sensible-terminal script. 2015-08-03 20:40:01 +02:00
QC
a3089e5709 Update changelog. 2015-08-03 12:05:47 +02:00
QC
1590151c46 -row -t -selected-row 2015-08-02 21:25:02 +02:00
QC
dbf992d756 Fix -l as alias for -lines (in dmenu mode) rename -l to -row 2015-08-02 21:24:07 +02:00
QC
8ca3c276c9 Change -i mode to match dmenu. Bug #200 2015-08-02 16:44:03 +02:00
QC
5777ee57e5 Remove use of g_close, not available on travis 2015-08-02 15:56:52 +02:00
QC
c97d2979e5 Bug #200, add '-b' method. 2015-08-02 15:50:06 +02:00
QC
77e5541ba5 Bug #200 implement -m mode 2015-08-02 15:45:52 +02:00
Dave Davenport
34dee2a3eb Small moving and cleanups 2015-08-01 16:10:52 +02:00