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
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
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
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
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
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
Dave Davenport
1ca7141621
Add quick solution for #202 , expose line-margin setting.
2015-08-04 09:42:14 +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
Dave Davenport
dffc27e5aa
Try to make things more robust, e.g. try to recover before giving up.
2015-07-31 12:23:41 +02:00
Dave Davenport
69c75971f3
Print error to stderr when fclose fails.
2015-07-31 10:21:32 +02:00
Dave Davenport
f8ed184415
Fix for #199 , properly reset pointer to NULL after free'ing
2015-07-30 18:18:37 +02:00
Dave Davenport
8d6a78939c
Small cleanup + fail more gracefull here and there
2015-07-30 08:57:09 +02:00
Dave Davenport
c0cb4df860
Small tweak to print
2015-07-29 18:16:06 +02:00
Dave Davenport
5cea640a34
Obey quiet a bit better, update manpage with signals
2015-07-29 17:55:26 +02:00
Dave Davenport
c68ab67dd8
Add some comments and cleanups, allow reeloading of keybindings at run-time
2015-07-29 09:37:40 +02:00
QC
681bd5bcbb
Updates
2015-07-28 23:08:12 +02:00
Dave Davenport
93c01ccbd5
Add new event handling
2015-07-28 22:22:18 +02:00
QC
b3a77589eb
Fix makefile indent
2015-07-28 22:14:21 +02:00
QC
979a63d242
Fix not clearing of pointer after free-ing it.
2015-07-27 23:24:38 +02:00
QC
70f4f3d119
Remove HUP signal handler as it is incorrect. #193 , to be re-added later
2015-07-27 21:20:06 +02:00
Dave Davenport
c25396d50b
Use calculated top offset for arrow_down.
...
Fixes : #189
2015-07-24 17:00:59 +02:00
Dave Davenport
fa5c36835d
Allow escape to quit in no-custom mode
2015-07-23 18:19:20 +02:00
Dave Davenport
4d0e04614a
Fix more mouse handling. (click on modi switcher)
2015-07-22 09:09:16 +02:00
QC
b75b60fa99
Remove debug printf
2015-07-19 10:11:55 +02:00
QC
09bc6017ee
Fix double click in gui
2015-07-19 10:02:20 +02:00
QC
36c9746d69
Fix modifier
2015-07-13 20:52:35 +02:00
Dave Davenport
d27b8a21e9
Undo commit of sorting changes, did not want to apply this yet.
2015-07-10 21:33:26 +02:00
QC
d549659f1e
Use right modifier
2015-07-09 20:44:12 +02:00
QC
1de8d448f7
Make color parsing more robust, report failing of parsing color.
...
Involves: #181
2015-07-07 21:51:15 +02:00
Dave Davenport
b3bc620211
Fix window matching.
2015-07-06 12:30:15 +02:00
QC
f88cfacfde
Replace all qsorts.
2015-07-05 09:47:55 +02:00
QC
dc356d81c4
Use glib qsort as qsort is not portable.
2015-07-05 09:37:35 +02:00
QC
9b83c6133f
Fix typo (thx to jpleau)
2015-07-04 19:58:17 +02:00
QC
5c9ad80758
Trying 2nd bsd patch
2015-07-04 16:53:36 +02:00
QC
d60f6701de
Add patches from BSD (hopefully ok?)
2015-07-04 15:36:11 +02:00
Dave Davenport
98b8e583cb
Make fuzzy matching available everywhere: #133 (-fuzzy)
2015-07-01 09:12:22 +02:00
Dave Davenport
c7ed92e40c
Use tokenmatch in window_match.
2015-07-01 09:02:25 +02:00
QC
aaf9e1e345
Free in right order
2015-06-30 21:18:45 +02:00
Dave Davenport
30743d1789
Move fuzzy_token_match to where it can be reused.
2015-06-28 13:53:37 +02:00
QC
67089677b5
Fix naming
2015-06-27 22:38:06 +02:00
Dave Davenport
9977d7ef69
Fix fuzzy match to continue at next character. #133
2015-06-25 02:54:00 +02:00
QC
bcbb64f615
Don't do unneeded compares
2015-06-24 21:28:13 +02:00
QC
db1331ed66
Test implementation for #133 .
2015-06-23 21:22:38 +02:00
QC
ce73f468ca
Possible fix for #179
2015-06-20 15:11:30 +02:00
Dave Davenport
90eb18b3c0
Make 'all?' keys user configurable.
...
Fixes #66
2015-06-15 09:01:22 +02:00
Dave Davenport
25633ca4dc
Issue #66 , allow keybindings for navigation to be changed.
...
up,down,left,right
2015-06-15 08:48:13 +02:00
Dave Davenport
6c9a493b56
[SSH] Ignore comments in the Host: line.
...
Fixes #178
2015-06-14 14:37:53 +02:00
QC
bd9f4ebf07
More dmenu fixes (shift -enter on custom)
2015-06-11 21:20:09 +02:00
QC
a811011a1d
Fix dmenu mode.
2015-06-11 21:07:25 +02:00
QC
d11c61cef1
Fixes #176 add mode that user expects.
2015-06-11 20:38:48 +02:00
Dave Davenport
1a188af2e9
Add markup support to error msg.
2015-06-08 23:23:33 +02:00
Qball Cow
00ffa9f148
Move comment to right place
2015-06-09 18:14:09 +02:00
Qball Cow
e5caaf9d1a
Possible fix issue #175
2015-06-09 18:10:23 +02:00
QC
95beb58730
tiny cleanup
2015-06-05 23:08:02 +02:00
Dave Davenport
e517001d39
Fix ellip. in entry box, wrap message box.
2015-06-03 09:04:29 +02:00
Dave Davenport
e8adc8042d
Add a -no-config
option to run rofi stock.
2015-05-31 09:46:39 +02:00
QC
34538cefaf
Try to fix (suddenly) broke font height estimation.
2015-05-26 23:58:37 +02:00
QC
d312090701
Issue #168 : Add note about pkg-config and update packages.
2015-05-25 10:31:10 +02:00
Buglloc
861d752c01
Ignores bits 13 and 14 of the modifiers while checking keybinding states
2015-05-23 23:29:17 +02:00
QC
a93aec02bd
Add support for msg string with pango markup.
2015-05-23 20:06:06 +02:00
Dave Davenport
0e7009bcad
Test fix for issue #167
2015-05-21 23:53:28 +02:00
Qball Cow
09e4a64780
fix issue #165
2015-05-19 19:59:50 +02:00
QC
300234611d
First fix for #164
2015-05-18 22:38:51 +02:00
QC
1a7cddc8aa
Fix for faulty commit on Issue: #163
2015-05-17 11:57:51 +02:00
QC
354ccdd94d
Fix Issue #164
2015-05-16 13:58:09 +02:00
QC
571aca9834
Fix : #163
2015-05-15 15:44:43 +02:00
QC
14c50132c8
more small cleanups
2015-05-14 19:45:57 +02:00
QC
652a6ed7d2
Fix clang-tidy warnings.
2015-05-14 19:39:30 +02:00
Dave Davenport
22f35983c0
Add quote and escape string option.
2015-05-13 18:36:16 +02:00
Dave Davenport
8abf3335dc
Remove silly test.
2015-05-12 21:59:51 +02:00
Dave Davenport
4d7b5a02d6
Cleanup and add d format
2015-05-11 23:20:34 +02:00
QC
9307a1668e
Add -format option to dmenu.
2015-05-10 12:08:08 +02:00
QC
4d3b9e414d
Small cleanup
2015-05-09 14:17:27 +02:00
Dave Davenport
89d2190f8e
[ #158 ] Patch implementing -only-match mode.
2015-05-07 21:07:15 +02:00
Dave Davenport
94c9303d89
Fix issue #160 . Return selected line.
2015-05-06 08:03:10 +02:00