Dave Davenport
ef509865fb
Add extra debug to DRun Desktop File parsing.
2016-08-30 08:52:02 +02:00
Dave Davenport
51eac318fd
Test #454 unmap window before switching.
2016-08-30 08:14:53 +02:00
Dave Davenport
e79361e890
Fix configure script a bit.
2016-08-29 21:38:29 +02:00
Dave Davenport
5cfe9a89b3
Improve DRun handling a bit.
...
- Remove entries that are deprecated or unsupported.
- Handle field codes %c and %k
TODO:
- Detect multiple identical field code entries and throw error.
2016-08-29 21:14:03 +02:00
Dave Davenport
1f641135e2
Extra checks when parsing file.
2016-08-29 08:55:28 +02:00
Dave Davenport
a90ff48032
But broken drun under a configure option.
2016-08-29 08:46:21 +02:00
Dave Davenport
58eaa81520
Name field in desktop file is required.
2016-08-29 08:23:55 +02:00
Dave Davenport
56c2d0dfb2
Disable drun mode as it is broken.
...
* Does not handle %[uf] whatever in Exec command.
* It is not it own binary.
* It has no build in file browser.
* etc.
2016-08-29 07:49:11 +02:00
Dave Davenport
e4cab560f4
First hack at fixing Desktop file parser.
2016-08-28 22:43:42 +02:00
Dave Davenport
20e55e1e4e
Add fuzzy matching, make a -matching option.
...
* -matching *method* option instead of -regex, -glob, -fuzzy.
* Re-add fuzzy matching pattern.
* When there are substrings in regex, only highlight those matches.
Fixes : #447
2016-08-25 21:17:58 +02:00
fice-t
a657f81145
Bind Control+g to kb-cancel ( #452 )
...
Control+g is the Emacs/readline standard for abort, so it would be nice
to have this by default.
2016-08-25 07:52:54 +02:00
Dave Davenport
99cb1e6f11
Don't force an second error when monitor is not found.
2016-08-24 10:36:39 +02:00
Dave Davenport
ef3c773097
Constness.
2016-08-24 00:39:56 +02:00
Dave Davenport
ad53de507c
Extra cleanup at exit.
2016-08-22 08:39:22 +02:00
Dave Davenport
284b3cb78b
Update manpage to show -display- option, sidebar mode uses display name.
2016-08-22 08:04:20 +02:00
Dave Davenport
6225b29d94
Issue 448, Take another default that should not fail, better error mesg
2016-08-19 18:01:26 +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
b5595d7a7e
Fix #443
2016-08-13 16:22:15 +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
6495d8e8df
Add -input to -h output
2016-08-05 07:45:39 +02:00
Dave Davenport
eb0bfc60c4
Indicate what set an option, comment default options in dump-xresources.
2016-08-04 20:24:01 +02:00
Dave Davenport
ce822a3bbf
Fix memory leak run dialog when skipping.
2016-08-02 18:37:14 +02:00
Dave Davenport
90c6c1125f
Fix memory leak overlay widget
2016-08-02 18:33:55 +02:00
Dave Davenport
604b4cb619
Fix memory leak, re-indent
2016-07-31 23:28:31 +02:00
Dave Davenport
4ad2c37eea
textbox: Handle tall glyphs better ( #433 )
...
We now place text based on the baseline, instead of the top of the
tallest glyph.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-07-30 20:39:45 +02:00
Dave Davenport
4be25abad7
Fix some doxygen warnings.
2016-07-29 08:32:34 +02:00
Dave Davenport
8478b427f1
Fix Control+u behaviour
2016-07-27 08:10:55 +02:00
Dave Davenport
fe230eb95c
Fix #432 , Control+k removes till eol.
2016-07-25 11:32:30 +02:00
Dave Davenport
22c8760e32
First try at fixing #430 . Needs testin.
2016-07-22 09:44:12 +02:00
Dave Davenport
5d5c9713d7
Fix crasher on no scrollbar and mouse seek.
2016-07-21 07:57:35 +02:00
Dave Davenport
602eb63557
Add `-multi-select
flag to dmenu.
...
* Changes default behaviour.
2016-07-18 23:58:08 +02:00
Dave Davenport
59635919ea
Add selection indicator to dmenu mode.
2016-07-18 23:49:26 +02:00
Dave Davenport
85d95c4f8f
Fix memory leak
2016-07-16 22:36:20 +02:00
Dave Davenport
e9c3b930bc
[Window] Chomp result
...
Fixes #426
2016-07-16 22:25:00 +02:00
Dave Davenport
b31cf1d32f
On rofi -show without argument, run de first one from the modi list.
2016-07-13 08:55:40 +02:00
Dave Davenport
b47e9c3846
Allow for more advanced window 'line' formatting
2016-07-12 10:44:43 +02:00
Dave Davenport
342192b4ed
Remove work-around for older i3 version (< 4.9)
...
- I3 got ewhm support in Feb. 2015.
2016-07-06 08:34:47 +02:00
Dave Davenport
dfc952f570
Add missing static
2016-07-05 18:13:53 +02:00
Dave Davenport
b7fba9752f
Don't double switch something trivial.
2016-07-05 09:21:50 +02:00
Dave Davenport
7c9f5e01fd
Fix tests and crash.
2016-06-28 23:34:07 +02:00
Dave Davenport
9f25a975ae
Fix windowcd command and allow custom Window string format
2016-06-28 23:07:48 +02:00
Dave Davenport
3ac07c3535
Fix indenting
2016-06-27 20:43:09 +02:00
Dave Davenport
baee50e346
XRM: rofi is not a class name
2016-06-27 08:26:09 +02:00
Dave Davenport
4af6976411
Fix piece of weird code to fetch background image.
2016-06-26 17:10:29 +02:00
Dave Davenport
6e2d0b6319
Add selection counter in dmenu mode
2016-06-26 15:48:12 +02:00
Dave Davenport
c87e91b6d9
Make select behave more Rasi-ish
2016-06-26 11:00:23 +02:00
Dave Davenport
40f95ae81f
Make bit functions static
2016-06-25 17:40:24 +02:00
Dave Davenport
ce645d78b3
Multi-select with unselect
2016-06-25 17:36:35 +02:00
Dave Davenport
a7922cc07c
Remove xlib dependency, add xcb-util-xrm.
2016-06-25 14:01:41 +02:00
Dave Davenport
77a0800ccf
Copy memory instead of mixing malloc and g_malloc'ed memories (and freeing them all with g_free)
2016-06-21 22:40:42 +02:00
Dave Davenport
5fb6ee1383
Fix rootwindow set at wrong pointer level.
2016-06-21 22:09:29 +02:00
Dave Davenport
1f4af41e96
Split Custom and Alternate command.
2016-06-19 18:02:49 +02:00
Dave Davenport
dab872879e
Remove Tab from row-down list
2016-06-18 21:18:06 +02:00
Dave Davenport
03239cb989
Remove fuzzy matching option.
2016-06-18 20:54:29 +02:00
Dave Davenport
7a2435a23b
Indent don't use partial match.
2016-06-16 22:23:55 +02:00
Dave Davenport
57336b96f0
Merge remote-tracking branch 'origin/master' into highlight_match
2016-06-16 08:41:40 +02:00
Dave Davenport
60cb992cac
Fix double free
2016-06-12 00:58:43 +02:00
Dave Davenport
e966fbe583
Terminate rofi if switcher is not found
2016-06-07 09:58:48 +02:00
Dave Davenport
0b84d63959
Merge remote-tracking branch 'origin/master' into highlight_match
2016-06-07 09:02:03 +02:00
Dave Davenport
0170aef0e6
Add Control-Backspace as keybinding.
2016-06-06 09:31:48 +02:00
Dave Davenport
9ff7a26c7e
Some indenting fixes
2016-06-05 20:41:10 +02:00
Dave Davenport
3f31620a3e
Wip/drun subdirs ( #416 )
...
* drun: Walk subdirectories too
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
* Remove goto, make it work for Filesystems that do not support reporting file type.
* Fix using filename before creating it.
* Run indenter over drun file.
* Fix stupid typo
2016-06-05 19:01:38 +02:00
Dave Davenport
72d6c20876
Merge remote-tracking branch 'origin/master' into highlight_match
2016-06-01 19:04:52 +02:00
Dave Davenport
01ce909c97
Update some headers.
2016-06-01 07:34:41 +02:00
Dave Davenport
ed7aeb7722
Fix 'Tab' binding description
2016-05-31 08:05:09 +02:00
Dave Davenport
10e3526237
Fix description, -switchers does not exist.
2016-05-31 07:59:40 +02:00
marduk
be5a66c9b5
Added the descriptions of the keybindings
2016-05-31 07:47:17 +02:00
Dave Davenport
8616b32310
Remove initialization
2016-05-30 21:10:10 +02:00
Dave Davenport
d62cc8a4ba
First throw at issue #403 , show wm name.
2016-05-30 18:35:22 +02:00
Quentin Glidic
56ed9e6a04
gitmodules: Update libgwater
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-30 18:25:40 +02:00
Dave Davenport
0fb7258470
Fix missing equals
2016-05-30 10:27:58 +02:00
Dave Davenport
1b5bcaa9f4
Issue #411 : Show list of Keyboard bindings with rofi, from rofi.
2016-05-30 10:25:58 +02:00
Dave Davenport
e84e387e94
Fix 1 character entries in git.
2016-05-27 09:31:57 +02:00
Dave Davenport
0e86050db8
Fix combi mode 'bang' behaviour, improve levenshtein with combi
2016-05-26 08:39:33 +02:00
Yaroslav
f901494c6a
Switch to stop cycling feature ( #407 )
...
* Added 'cycle' option to switch list navigation wrapping
* Replaced tabs with spaces
* Updating the expected rofi properties with 'cycle' option
* Updating documentation with the 'cycle' option
2016-05-25 20:40:23 +02:00
Dave Davenport
7aff2ae243
Merge remote-tracking branch 'origin/master' into highlight_match
2016-05-23 17:11:41 +02:00
Dave Davenport
5b3239a748
Fix : #409 Use display-name for prompt.
2016-05-23 08:19:36 +02:00
Dave Davenport
99a79f7eb4
Don't use g_ascii on utf8 string.
2016-05-22 19:41:52 +02:00
Dave Davenport
498fadc735
Remove the is_ascii mess.
2016-05-22 17:47:34 +02:00
Dave Davenport
8091558ed8
Go Regex Go
2016-05-21 10:37:23 +02:00
Dave Davenport
2a20821ddd
Merge remote-tracking branch 'origin/master' into hm
2016-05-20 09:57:25 +02:00
Quentin Glidic
db4f087487
window: Make custom action run a command on the window
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-12 11:31:12 +02:00
Quentin Glidic
3bd41b9a41
window: Kill the window on delete-entry
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-12 11:30:34 +02:00
Dave Davenport
c8a6b26607
First try at highlighting match (regex only)
2016-05-10 18:02:23 +02:00
Dave Davenport
09437e3f0e
We don't have a negative page number.
2016-05-10 17:51:23 +02:00
Dave Davenport
6070826c4d
Avoid needles updates when using continious scrolling
2016-05-10 11:47:32 +02:00
Dave Davenport
bd412b9975
Grab mouse pointer with keyboard.
2016-05-09 08:47:28 +02:00
Dave Davenport
b8ecbdcef5
Add option to set background for rofi window
2016-05-08 11:14:34 +02:00
Dave Davenport
8f6c9ee070
Fix indenting
2016-05-08 11:13:11 +02:00
Georgios Bitzes
8af7f014cd
Permit binding a modifier key on its own
2016-05-07 15:20:48 +02:00
Quentin Glidic
67b0ce036f
keybindings: Implement on-release bindings
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:31:04 +02:00
Quentin Glidic
20791d4a71
view: Split action triggering to an helper function
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:31:00 +02:00
Quentin Glidic
54f85fabaa
keybindings: Rework the matching
...
Now we check all bindings in one place, allowing for future naughty
matching.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:25:04 +02:00
Quentin Glidic
65447b496a
view/navigation: Cleanup
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:24:32 +02:00
Quentin Glidic
aa350a1583
textbox/key: Cleanup
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:24:22 +02:00
Quentin Glidic
67c9fe158a
textbox/keybinding: Reindent
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:24:16 +02:00
Quentin Glidic
5b0964ae32
textbox: Split keybinding and text handling
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:24:10 +02:00
Quentin Glidic
143acf622b
view/keypress: Reindent
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:24:09 +02:00
Quentin Glidic
117c2360a4
view/keypress: Cleanup some useless stuff
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:23:44 +02:00
Quentin Glidic
0d899f1bbd
view: Split keypress handling to an helper function
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-05-07 11:23:13 +02:00
Dave Davenport
8e05106c87
Add option to view background image instead of screenshot in fake transparency. Issue #390
2016-05-06 12:40:55 +02:00
Dave Davenport
09d1955338
Issue: #395 adding more options.
2016-04-29 21:42:31 +02:00
Dimitar Yordanov
74d1b234d9
When switching windows also switch the desktop
...
If the window we switch to is not on the same desktop, first switch to
the desktop.
2016-04-28 22:45:01 +02:00
Dave Davenport
4dbf2813d0
Issue #388 , Try to make history parser more robust against corruption.
2016-04-27 12:57:43 +02:00
Dave Davenport
1661244407
Issue: 386: Fix getting desktop number property
2016-04-26 07:52:29 +02:00
Dave Davenport
85aeffbd24
small cleanup
2016-04-20 17:03:34 +02:00
Dave Davenport
44481cdb40
Small cleanups, fix worker error dialog.
2016-04-20 08:08:18 +02:00
Dave Davenport
3918625804
Move teardown to the logic place again (possible with deamon mode removed)
2016-04-20 08:04:23 +02:00
Dave Davenport
26e1083812
Issue: #380 Make combi complete prepend bang
2016-04-10 20:57:12 +02:00
Dave Davenport
cbf625ec9f
Work around crash. echo error to stderr.
2016-04-10 15:04:34 +02:00
Dave Davenport
96cb3a8695
Remove fgets and replace by getline.
2016-04-10 14:30:13 +02:00
Dave Davenport
b63f8e2275
Move history to getline and remove magic limit.
2016-04-10 13:55:18 +02:00
Dave Davenport
a69754abff
Remove left-over printf.
2016-04-10 12:08:36 +02:00
Dave Davenport
e54e012500
Issue: #381 : Try to handle X11 input and UTF-8 better.
...
In window_get_text_prop do conversion when input is of type STRING. (latin1) to utf8.
Dmenu: don't skip invalid lines, but try to display as much as possible.
Window mode: Double check all input from X.
2016-04-10 12:05:34 +02:00
Dave Davenport
bf51983150
Fix possible macro expansion problem.
...
As indicated by llvm analysis passes.
2016-04-05 21:26:21 +02:00
Quentin Glidic
29f6823cf9
rofi: Only display GIT_VERSION if available
...
It now contains the latest tag, so we have all the relevant information.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-04-05 16:57:52 +02:00
Dave Davenport
3397ae1150
Remove unused -quiet commandline option.
...
This option, with the removal of daemon mode, no longer had any purpose.
2016-04-02 22:11:38 +02:00
Dave Davenport
541f5b1fc9
Fixes issue #370 : Move dmenu option into dmenu.
2016-04-02 10:39:02 +02:00
Dave Davenport
d3350afbed
Use SYSCONFDIR
2016-04-01 19:51:24 +02:00
Dave Davenport
53242dab7d
Merge branch 'master' of github:DaveDavenport/rofi
2016-04-01 18:03:32 +02:00
Dave Davenport
1b4e5069f6
Revert "Test config file before load, support ~/.config/rofi/theme and remove config_path global, fix loading dynamic options from /etc/rofi.conf"
...
This reverts commit 0c7d1a6b17
.
2016-04-01 17:58:41 +02:00
Quentin Glidic
13601fb892
rofi: Fix g_file_test calls
...
G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR will return TRUE even for
directory.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-04-01 09:33:58 +02:00
Dave Davenport
0c7d1a6b17
Test config file before load, support ~/.config/rofi/theme and remove config_path global, fix loading dynamic options from /etc/rofi.conf
2016-04-01 08:40:23 +02:00
Dave Davenport
2127682573
Cleanup unused type specifier (dialogs).
2016-03-24 22:15:10 +01:00
Dave Davenport
c4b65d975c
Cleanup unused type specifier.
2016-03-24 22:13:19 +01:00
Dave Davenport
3ac0c6dd7d
Quick fix.
2016-03-21 20:27:16 +01:00
Quentin Glidic
6a84d29e02
x11-helper: Drop RControl/LControl from Control modifier mask
...
They are not used for that, and Control was a #define in X11 headers anyway.
Fixes #362
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-03-20 14:00:29 +01:00
Quentin Glidic
20c9abf0a2
keybindings: Merge accept-custom and accept-entry-continue
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-03-20 10:39:34 +01:00
Dave Davenport
c7bc850bb8
Fix reloading after deleting entry
2016-03-20 10:20:40 +01:00
Dave Davenport
d36ae81408
Fix positioning window on top of window.
2016-03-20 10:16:55 +01:00
Dave Davenport
a2869ef39d
Make clang static code analyzer happy (300+ -> 5)
2016-03-19 13:29:04 +01:00
Dave Davenport
1f8db0fc5a
Remove pointless else if statement
2016-03-19 12:21:08 +01:00
Quentin Glidic
f5231ca24d
rofi: Allow fullscreen on specified monitor
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-03-18 09:21:36 +01:00
Dave Davenport
cdd9f97072
Issue 213: Memcpy the right size for atoms
2016-03-17 22:03:19 +01:00
Quentin Glidic
3a781d6fb9
x11-helper: Advertise the correct set of supported modifiers
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-03-17 12:10:50 +01:00
Dave Davenport
5d7bf1cfcf
Issue 358 Set monitor width and height for monitor -3 mode.
2016-03-15 09:40:32 +01:00
Dave Davenport
9549dfdd3e
Terminate mainloop after error message when trying to start it in daemon mode.
2016-03-13 20:11:39 +01:00
Dave Davenport
545c423b61
Tried to fix strlen on NULL
2016-03-12 14:00:19 +01:00
Quentin Glidic
abe44475fc
view: Fix multi-character compose sequences
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-03-07 18:10:22 +01:00
Dave Davenport
1d2625cbb8
Read default config from /etc/rofi.conf if exists.
2016-03-07 17:52:29 +01:00
Dave Davenport
d5be6d232e
Add MENU_ERROR_DIALOG flag.
2016-03-06 16:03:04 +01:00
Dave Davenport
b13bff6d1d
Try to fix things
2016-03-05 23:25:46 +01:00
Dave Davenport
f4f2e3d129
Add option to position rofi at mouse
2016-03-05 23:01:16 +01:00
Dave Davenport
9978feb600
Make cppcheck happy
2016-03-05 20:07:25 +01:00
Dave Davenport
d99111c73b
Remove deprecated theme system.
2016-03-05 18:28:39 +01:00
Dave Davenport
bfd338dfc8
Allow X parsed colors
2016-03-05 16:33:18 +01:00
Dave Davenport
7aa289d90c
Fix color parsing
2016-03-05 16:25:17 +01:00
Dave Davenport
4c8375189c
More cleanups
2016-03-05 12:06:14 +01:00
Dave Davenport
5effc9581c
Cleanup
2016-03-05 11:34:44 +01:00
Dave Davenport
c0690c8afb
Cleanups.
2016-03-05 11:18:23 +01:00
Dave Davenport
72dfe2ad4c
Propagate error down, show dialog.
...
Fix positioning dialog.
2016-03-05 11:08:32 +01:00
Dave Davenport
881ca572df
Return NULL when empty property.
2016-03-04 19:41:32 +01:00
Dave Davenport
fa7ceaf580
Check for the availability of the xinerama extension.
2016-03-04 17:03:24 +01:00
Dave Davenport
fd707acac5
Move keymap updating into right x11 event loop handler.
2016-03-04 08:15:12 +01:00
Dave Davenport
9d7d8a9aeb
Be able to run without compose table.
2016-03-04 08:02:54 +01:00
Dave Davenport
fc75a204d5
Check table exists.
2016-03-04 00:22:04 +01:00
Dave Davenport
fe8aa55fdc
Correctly check error
2016-03-03 16:02:14 +01:00
Dave Davenport
ba0b2379a6
Check if connection was succesfull
2016-03-03 15:59:31 +01:00
Martijn Koedam
797a3b8ea5
Free was too early.
2016-03-03 12:46:12 +01:00
Dave Davenport
06d25c0ca2
Quit on error msg fail.
2016-03-03 08:21:28 +01:00
Dave Davenport
3d2f0a07db
Quit when failing to create dialog.
2016-03-03 08:11:48 +01:00
Dave Davenport
93b80be913
is active can be NULL, check
2016-03-03 08:09:36 +01:00
Dave Davenport
f0b1998703
Cleanups (cppcheck)
2016-03-02 18:07:59 +01:00
Dave Davenport
f05f0de583
Fix #348 , give a warning when font failed to parse
2016-03-01 19:48:18 +01:00
Dave Davenport
8c950a984c
Small cleanup
2016-03-01 18:33:26 +01:00
Dave Davenport
7d046a1f5b
Pack magic externs into a xcb_stuff.
2016-03-01 18:11:55 +01:00
Dave Davenport
fb2c23a429
Try to get fullscreenmode to draw nicer.
2016-02-29 12:11:04 +01:00
Dave Davenport
131b8eaaea
Remove dead code
2016-02-28 18:33:01 +01:00
Dave Davenport
cc5db086bf
Indenting
2016-02-28 18:22:00 +01:00
Dave Davenport
ef98b3928a
Small cleanup.
2016-02-28 18:20:39 +01:00
Dave Davenport
3fa1940a5c
Do a redraw after changing selected line
2016-02-28 18:13:58 +01:00
Dave Davenport
28ed4eab7b
Take SardemFF7 advice on aliasing Ctrl+s and Ctrl+S, shift needs to mentioned explicit
2016-02-28 16:57:16 +01:00
Dave Davenport
21bce63e79
Do some filtering on the keybinding, to get the right keycombo for alt+shift+s.
2016-02-28 16:42:20 +01:00
Dave Davenport
bd04e90d9e
Change window id from long unsigned to unsigned.
2016-02-28 15:33:57 +01:00
Dave Davenport
a4fd907fe8
Run indenter
2016-02-28 15:32:53 +01:00
Dave Davenport
594bf00194
Fix keybindings and fix tests
2016-02-28 13:08:08 +01:00
Dave Davenport
057f156009
Remove unneeded atom
2016-02-28 12:35:47 +01:00
Quentin Glidic
644556b7b6
Change Window/Atom to xcb_window_t/xcb_atom_t
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-28 12:21:26 +01:00
Dave Davenport
73a0eb3e39
Remove X11/* include headers.
2016-02-28 12:22:10 +01:00
Dave Davenport
ab57479da9
Remove Atom with xcb_atom_t.
2016-02-28 12:19:56 +01:00
Dave Davenport
c519b6a65a
Fix free'ing of ewmh calls, remove old X codes
2016-02-28 11:57:52 +01:00
Dave Davenport
91ad94aef3
Free right memory, get right window class name.
2016-02-28 11:16:54 +01:00
Dave Davenport
4cd76a6d8e
Merge remote-tracking branch 'github/master' into wip/xcb/full
2016-02-28 11:04:09 +01:00
Dave Davenport
460cad8bc8
Fix grab keyboard to wait on success.
2016-02-28 10:36:13 +01:00
Dave Davenport
6d0d6d9eb2
Tests.
2016-02-28 01:21:22 +01:00
Dave Davenport
93cb9ee7eb
Remove opening of display.
2016-02-28 01:08:12 +01:00
Dave Davenport
764992e4bb
Remove more display usage
2016-02-28 00:25:53 +01:00
Dave Davenport
c261aa8e89
change startup notification to xcb
2016-02-28 00:15:42 +01:00
Dave Davenport
d813d03a5f
Convert more stuff to xcb, keyboard grab, cleanup
2016-02-28 00:09:05 +01:00
Dave Davenport
4c661c3932
Move most of window modi to xcb
2016-02-27 22:55:47 +01:00
Dave Davenport
bb2f0d8b83
Move more to xcb, window_*_ functions to xcb_ functions
2016-02-27 21:55:43 +01:00
Dave Davenport
a02cb83a98
Move more to xcb.
2016-02-27 20:45:47 +01:00
Dave Davenport
305829fcc8
query pointer to xcb
2016-02-27 19:51:06 +01:00
Dave Davenport
dce35ba4ef
Move more stuff to xcb_
2016-02-27 19:26:51 +01:00
Dave Davenport
f79a6d6d2e
Convert view.c to xcb_ functions. secondary paste fails.
2016-02-27 17:57:43 +01:00
Dave Davenport
15ad8e1da3
Removing XCB from view.c, paste less
2016-02-27 17:42:50 +01:00
Dave Davenport
9cb5829303
Use xcb_flush instead of XFlush
2016-02-27 14:05:29 +01:00
Dave Davenport
5a204829f0
Fix not updating in daemon mode
2016-02-23 23:54:35 +01:00
Dave Davenport
3f8efed56d
Add missing flush
2016-02-23 22:04:44 +01:00
Dave Davenport
3b58c3a26a
Fix issue: #347 .
2016-02-23 21:14:15 +01:00
Dave Davenport
319524c7c5
Test for single mainloop
2016-02-23 21:04:24 +01:00
Dave Davenport
87546caa8f
Fix previous commit.
2016-02-23 19:34:48 +01:00
Dave Davenport
faf5c49b8c
Remove hardcoded string length in window list.
2016-02-23 19:14:21 +01:00
Quentin Glidic
2ef950eab9
WIP: Port window stuff to xcb
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-23 17:37:25 +01:00
Quentin Glidic
6bb1d4b1a2
x11-helper: Migrate to libxkbcommon
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-23 17:34:38 +01:00
Quentin Glidic
42e9709207
keybindings: Merge left/right variants of modifiers
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-23 17:34:33 +01:00
Quentin Glidic
3029e05ac7
keybindings: Rework modmask matching
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-23 17:34:31 +01:00
Quentin Glidic
590e61b417
view: Store modstate on keypress event
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-23 12:52:35 +01:00
Quentin Glidic
990914d20f
rofi: Drop daemon mode
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-23 12:15:03 +01:00
Quentin Glidic
88ddb7f04e
x11-helper: Directly store the useful value
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-23 12:13:44 +01:00
Quentin Glidic
f39f5bb0cb
view-internal: Use XCB types
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-23 12:13:21 +01:00
Quentin Glidic
09e520dfe8
rofi: Always use ARGB for Cairo image surfaces
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-21 22:10:03 +01:00
Dave Davenport
aa1d8b4046
Remove x11-event-source, replaced by libgwater.
2016-02-21 17:47:19 +01:00
Dave Davenport
75c9f58900
Remove XIC and XIM.
2016-02-21 17:14:37 +01:00
Quentin Glidic
ee52e50662
view/compose: Use Xlib cancelling behaviour
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-21 17:00:28 +01:00
Quentin Glidic
5d6f2ee1ab
Compose stuff
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-21 16:04:53 +01:00
Quentin Glidic
e1f87a67b4
rofi: Migrate to libxkbcommon
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-21 16:04:53 +01:00
Quentin Glidic
fe7ca2079d
rofi: Convert to XCB events
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-21 16:04:53 +01:00
Dave Davenport
2eb63456db
view: Flush after drawing
2016-02-21 16:04:53 +01:00
Dave Davenport
9121732e36
Cleanups.
2016-02-19 21:16:35 +01:00
Dave Davenport
038346b640
Cleanup + fix
2016-02-19 21:08:46 +01:00
Dave Davenport
758d155a20
Fixing.
2016-02-19 20:08:14 +01:00
Dave Davenport
6e3bb506de
Full mainloop madness
2016-02-19 19:50:48 +01:00
Dave Davenport
4eb3fd1da3
Test for single mainloop
2016-02-19 19:29:06 +01:00
Dave Davenport
a125f6d515
Try to fix crash with new scrolling method.
2016-02-18 19:23:41 +01:00
Dave Davenport
638e58e7d8
Issue: #219 Rounding down.
2016-02-17 22:13:13 +01:00
Dave Davenport
d2567a6884
#219 : Implement continious scroll
2016-02-17 20:29:23 +01:00
Dave Davenport
99515f986e
Fix issue #281
...
if one entry as input and autoselect enabled return immediately
2016-02-17 08:46:22 +01:00
Dave Davenport
63be750c5b
Quick work-around fix for rofi blocking X on unavailable monitor
2016-02-17 00:00:41 +01:00
Dave Davenport
6217edf622
#343 Add history support to drun mode.
2016-02-16 10:40:21 +01:00
Dave Davenport
354e65fa06
Do not pass the same information twice.
2016-02-12 08:23:59 +01:00
Dave Davenport
11c347fad8
Use accessors in RofiView to get modi's and num modi for sidebar.
2016-02-11 08:41:19 +01:00
Dave Davenport
3b007b7eff
Pull StartupNotificaiton Display event handling into the main event loop
2016-02-11 08:22:48 +01:00
Dave Davenport
46e3429040
Fix #336 , missing prototype
2016-02-10 22:12:49 +01:00
Dave Davenport
fdb4c99456
Remove normal window global.
2016-02-10 19:40:19 +01:00
Dave Davenport
2cd8888d2c
Merge remote-tracking branch 'origin/master' into glib-loop
2016-02-09 22:35:03 +01:00
Dave Davenport
289795b22a
Fix finding active desktop!
2016-02-09 21:25:29 +01:00
Dave Davenport
f7e2632624
Merge remote-tracking branch 'origin/master' into glib-loop
2016-02-09 19:55:31 +01:00
Dave Davenport
5185f1181c
Validate if input is utf-8 for dmenu, if not ignore that line
...
This should avoid crashing on invalid encoding.
2016-02-09 19:54:43 +01:00
Dave Davenport
2cc2522e57
Revert part of commit e7b18d3a88
...
Allow markup to be set via textbox flags.
2016-02-09 19:53:46 +01:00
Dave Davenport
c3f15a4e2a
Merge remote-tracking branch 'origin/master' into glib-loop
2016-02-09 07:56:45 +01:00
Dave Davenport
e7b18d3a88
Issue: #334 : Only allow markup-rows to be set on cmdline
...
This should avoid people setting this in XResrouces and breaking random dmenu scripts.
2016-02-09 07:37:48 +01:00
Dave Davenport
5d430824b3
Doxygen updates.
2016-02-08 18:16:16 +01:00
Dave Davenport
5a86ae5c99
Cleanups
2016-02-08 09:03:11 +01:00
Dave Davenport
ad932c8fd0
More cleanups
2016-02-07 20:38:34 +01:00
Dave Davenport
ca3afc6a6e
more renameing
2016-02-07 14:09:00 +01:00
Dave Davenport
7c8605764b
Remove unneeded redraws
2016-02-07 12:43:07 +01:00
Dave Davenport
69b3a360fc
Continue cleanup
2016-02-07 12:31:17 +01:00
Dave Davenport
c217307b43
Update!
2016-02-06 14:41:08 +01:00