Commit graph

56 commits

Author SHA1 Message Date
Quentin Glidic
51d34b662e
helper: Add API to support startup notification
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02 14:54:21 +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
bc295bddd5
tests: Properly define placeholders
And include all needed headers, to catch misdefinitions.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 17:05:27 +02:00
Quentin Glidic
1bbb19b4cb
tests: Drop leftover placeholder functions
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 14:55:58 +02:00
Dave Davenport
dbf551ec15 Cleanup some compile warning on the tests 2017-05-03 17:57:08 +02:00
Quentin Glidic
9a68b22009
Fix licenses headers
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15 12:32:05 +02:00
Dave Davenport
4156d142fe Set PID and wm_client_machine hints on rofi window. 2017-04-10 09:27:22 +02:00
Dave Davenport
5259eb11bc Merge the configuration loading into something more simple (3) 2017-03-28 17:33:43 +02:00
Dave Davenport
5b387f76b1 Fix tests 2017-03-28 12:08:14 +02:00
Dave Davenport
9941efa5f4 Fix textbox test 2017-01-26 17:40:46 +01:00
Dave Davenport
d88a5197b5 Fix tests. 2017-01-09 23:15:45 +01:00
Dave Davenport
da917993f7 Fix tests 2017-01-03 19:35:23 +01:00
Dave Davenport
d20587da54 Fix? tests 2017-01-01 16:32:01 +01:00
Dave Davenport
b8e58b0342 Make parser more flexible, allow global properties to be anywhere in file and allow multiple similar entries. 2016-12-16 09:28:13 +01:00
Dave Davenport
a38ac9caf3 Update scrollbar behaviour, so dragging is more natural. (limit range from hw/2 to h-hw/2) 2016-10-25 21:19:39 +02:00
Dave Davenport
881056ea9b Add some more tests, make some textbox api's private 2016-10-20 09:41:32 +02:00
Dave Davenport
3c64507f02 Qtk widgets (#478)
* Initial support for using boxes for packing widgets.

* Make CapiTalIzation more consistent

* Move widgets to subdirectory

* Removed nolonger needed resize function.

* Small cleanup

* When switching mode, reuse view, don't rebuild it. Reduces artifacts.

* Needs cleaning up.

* Remove separate prompt argument, use display_name

* Simplify run-switcher code.

* Add notion of parents, and trigger parent update on resize.

* Use widget_get_height wrapper, avoid crash

* Size separator width based on height. (indent)

 * TODO add margin to box.

* First draft version of listview.

* Add scrollbar to listview widget

* Add padding option to box

* Move access to global config out of widget. (1/2 done)

*  Remove printf

* Make listview not access global config

* Add click support, implement on mode buttons.

* Re-introduce mouse handling on list-view.

* TODO draggin on scrollbar.

* Fix multi-select

* Fix warnings

* Fix include
2016-10-08 18:57:59 +02:00
Dave Davenport
0da0587087 Make widget_free work on textbox and scrollbar, use widget specific free. 2016-09-27 22:38:26 +02:00
Dave Davenport
1aed0427f9 Remove hack with config file. 2016-03-05 20:16:10 +01:00
Dave Davenport
b4cc0f611b Fix build test 2016-03-03 08:23:12 +01:00
Dave Davenport
a4fd907fe8 Run indenter 2016-02-28 15:32:53 +01:00
Quentin Glidic
909241ddfe Remove X11 headers includes
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-28 12:21:26 +01:00
Dave Davenport
ab57479da9 Remove Atom with xcb_atom_t. 2016-02-28 12:19:56 +01:00
Dave Davenport
6d0d6d9eb2 Tests. 2016-02-28 01:21:22 +01:00
Dave Davenport
be76712dba Fix tests. 2016-02-21 16:40:29 +01:00
Dave Davenport
5a86ae5c99 Cleanups 2016-02-08 09:03:11 +01:00
Dave Davenport
adfc83f07d Restructuring, my biggest joy. 2016-02-06 14:27:36 +01:00
Dave Davenport
312ca274fc Split of files. 2016-02-06 13:06:58 +01:00
Dave Davenport
984257fffc Very dirty first attempt at glib mainloop in switcher (not yet dmenu.) 2016-01-20 20:57:26 +01:00
Dave Davenport
c6a9de8c4a Use snprintf instead of sprintf 2016-01-09 19:25:03 +01:00
Dave Davenport
d7dab65e5b Making widget class, moving stuff around 2016-01-09 16:22:09 +01:00
Dave Davenport
51b5511017 More doxygen sugar. 2016-01-07 16:01:56 +01:00
Dave Davenport
c49c47542c Fix textbox test, set global PangoContext 2015-12-28 11:33:22 +01:00
Dave Davenport
38fabb6b1b Issue #303: Create one pango context from xlib surface
- Create one pango context and set font options from main xlib surface
        - Set font type on global pango context.
        - Use CAIRO_OPERATOR_OVER for drawing text (otherwise subpixel rendering is not done).
2015-12-28 11:27:27 +01:00
Dave Davenport
0a899185f8 Indenting fix 2015-12-23 19:16:47 +01:00
Dave Davenport
4510f65d5a textbox: advance cursor correctly for multi-char input
Thanks to eigengrau
fixes: #280
2015-11-22 20:41:45 +01:00
QC
29360b20aa Parse name in textbox. 2015-09-28 21:41:58 +02:00
QC
8f1f03e6d2 Use cairo to do drawing. 2015-09-26 20:34:34 +02:00
QC
b18d68eff2 Adjust new editor width 2015-09-19 12:57:48 +02:00
QC
442e235c24 Some cleanups, tweak uncrustify. 2015-09-19 12:21:30 +02:00
QC
558bb38630 Fix normal mode keyboard grab. 2015-09-16 21:01:40 +02:00
Dave Davenport
8d6a78939c Small cleanup + fail more gracefull here and there 2015-07-30 08:57:09 +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
Michael Vetter
2a91b66bfa Remove trailing whitespaces 2015-07-28 21:54:08 +02:00
QC
09d2be260b Allow keybindings to be set. 2015-04-30 22:42:04 +02:00
Dave Davenport
a70404f128 First part of infrastructure for Issue: #131 customizable keybindings. 2015-04-30 21:52:30 +02:00
QC
10b22e0c7d Update test. 2015-04-06 20:55:33 +02:00
QC
2590ecf7e5 ADd new coloring scheme. 2015-04-06 17:13:26 +02:00
Dave Davenport
8b50e94fea Make compiler more picky.
Add -Werror=missing-prototypes
2015-02-18 08:53:38 +01:00