Commit graph

1531 commits

Author SHA1 Message Date
Dave Davenport
3e46228074 Change Padding to RofiPadding 2017-06-02 16:44:16 +02:00
Dave Davenport
ea7d20d150 Change Orientation enum to RofiOrientation. 2017-06-02 16:34:52 +02:00
Dave Davenport
9915857a2e Change Distance struct to RofiDistance. 2017-06-02 16:25:47 +02:00
Dave Davenport
7352f1c2ba Change PixelWidth to RofiPixelUnit. 2017-06-02 16:21:05 +02:00
Dave Davenport
48bf1709b6 Rename HL_ to ROFI_HL_ and fix box test. 2017-06-02 16:09:20 +02:00
Dave Davenport
eec5c6eadc Add orientation property. 2017-06-02 14:05:19 +02:00
Dave Davenport
85b6e32158 Merge remote-tracking branch 'origin/master' into barview 2017-06-01 18:54:30 +02:00
Quentin Glidic
dbac6fba5c
rofi: Make sure we parsed the config before parsing bindings
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 17:46:53 +02:00
Quentin Glidic
e576bc441c
xcb: Hide WM discover function
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 15:08:20 +02:00
Quentin Glidic
48a80e3f82
display: Introduce display.h
The API is meant to be neutral to fit any display backend.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 15:06:57 +02:00
Dave Davenport
cdc8e462b8 Merge remote-tracking branch 'origin/master' into barview 2017-06-01 14:20:36 +02:00
Quentin Glidic
1d99363ce9
helper: Move cairo_image_surface_create_from_svg to helper.c
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 13:36:11 +02:00
Quentin Glidic
93cb04e30f
xcb: Move (most) event handling to xcb.c
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 13:30:29 +02:00
Quentin Glidic
4792a16593
xcb: Hide release details
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 13:26:31 +02:00
Quentin Glidic
2b6c084f32
textbox: Fix appending more than one character
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 13:26:19 +02:00
Quentin Glidic
711d97b66d
xcb: Fix normal window mode
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 12:47:11 +02:00
Quentin Glidic
2586cc926a
rofi: Remove some leftovers ticks
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 12:03:23 +02:00
Quentin Glidic
000dce1083
xcb: Hide grab details
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 11:57:57 +02:00
Quentin Glidic
f042851add
xcb: Hide some internal details
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 11:57:17 +02:00
Quentin Glidic
93cf26414e
xcb: Reorder and hide events callbacks
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 11:50:26 +02:00
Quentin Glidic
a8aac87bb0
xcb: Move GWater source in xcb.c
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 11:44:21 +02:00
Quentin Glidic
9b58a9bc31
xcb: Move more stuff to xcb.c
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 00:39:11 +02:00
Quentin Glidic
46dee2671d
x11-helper: Rename xcb.c
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 00:12:58 +02:00
Quentin Glidic
4c8e9247ad
rofi: Fix NkBindings calls order
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 00:00:09 +02:00
Quentin Glidic
087acb1028
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-31 22:42:33 +02:00
Quentin Glidic
52aac6d3b6
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-31 20:26:12 +02:00
Quentin Glidic
ac8868f3b1
Indent icon code rework
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-31 20:21:58 +02:00
Dave Davenport
45e76b781e Merge remote-tracking branch 'origin/master' into barview 2017-05-31 17:52:25 +02:00
Dave Davenport
4e3830a519 [TextBox] Fix icon alignment issue when scaling icon. 2017-05-31 17:52:09 +02:00
Dave Davenport
2c0b398e78 Merge remote-tracking branch 'origin/master' into barview 2017-05-31 11:46:20 +02:00
Dave Davenport
939495f00b [TextBox] Fix icon offset. 2017-05-31 11:46:02 +02:00
Dave Davenport
f53e58ad95 Merge remote-tracking branch 'origin/master' into barview 2017-05-31 11:25:14 +02:00
Dave Davenport
59e012e85b [Textbox] fix wrong flag check for icon. 2017-05-31 11:23:24 +02:00
Dave Davenport
d8b0e24b09 Merge remote-tracking branch 'origin/master' into barview 2017-05-31 11:18:30 +02:00
Dave Davenport
4d8784cf85 Port fixes from icon-cleanup branch.
- Thread for fetching icons for drun.
- Fixed placing of icons instead of adding place-holder token that can
  mis-render.
- Give textbox TB_ICON flag.
2017-05-31 11:05:45 +02:00
Quentin Glidic
8a6bdd827d
config: Add a setting to disable icons loading
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 19:08:33 +02:00
Dave Davenport
f3b4af1da0
window: Add icons support (quick and dirty) 2017-05-30 19:08:20 +02:00
Quentin Glidic
03eb4a3abb
drun: Implement icon support
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 19:01:01 +02:00
Quentin Glidic
fb37aaa70d
view: Use \uFFFC character as icon placeholder
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 19:01:01 +02:00
Aaron Ash
43053cdfc3
view: Add icon (basic) support 2017-05-30 19:00:57 +02:00
Dave Davenport
9a6fd1c6c3 Merge in master 2017-05-30 16:23:19 +02:00
Quentin Glidic
4891bcd7eb
bindings: Use a wrapper around rofi_view_trigger_action
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 14:14:59 +02:00
Quentin Glidic
4e448eac45
widget.test: Add NULL tests for trigger_action functions
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:20 +02:00
Quentin Glidic
a24af6e64c
mode/keys: Display all bindings
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:20 +02:00
Quentin Glidic
6d27a89b99
bindings: Drop unused (and buggy) sentinel
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:19 +02:00
Quentin Glidic
acc1fa45b9
widget: Add motion grab support
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:19 +02:00
Quentin Glidic
0555d15c46
scrollbar: Make it scroll again
On click for now, will add motion grab in the following commit

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:19 +02:00
Quentin Glidic
823a45f711
scrollbar: Rework scrollbar_scroll_get_line to work on relative y
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:19 +02:00
Quentin Glidic
685d4f0e13
widget: Rely on find_mouse_target to send motion events
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:17 +02:00
Quentin Glidic
30da7e587a
widget: Add widget_xy_to_relative helper
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:44:05 +02:00