aboutsummaryrefslogtreecommitdiffstats
path: root/swaynag/render.c
Commit message (Collapse)AuthorAge
* cairo: Replace <cairo/cairo.h> by <cairo.h>Libravatar Issam E. Maghni2021-05-10
| | | | | | | For full context, read https://gitlab.freedesktop.org/cairo/cairo/-/issues/479 TL;DR, cairo’s pc file adds `/cairo` to CFLAGS. So namespace cairo shouldn’t be used.
* swaynag: add details background optionLibravatar Mustafa Abdul-Kader2020-09-14
| | | | | | Adds a new config option for details background for swaynag issue/#5673
* swaynag: adds option to separately specify the text color for buttonsLibravatar oliver-giersch2020-09-04
|
* Fix dead stores found by scan-buildLibravatar M Stoeckl2019-01-22
| | | | | | | | In addition to removing unused code, two minor problems are fixed: (1) `resize set` and `resize adjust` did not error when given too many arguments. (2) `orientation` was incorrectly overridden to be 'U' for scroll events in the swaybar tray `handle_click` function.
* swaynag: Small graphical fix, add offset of +1 to X/Y.Libravatar Connor E2019-01-22
|
* Replace wlr_log with sway_logLibravatar M Stoeckl2019-01-21
| | | | | | | | | | | | | This commit mostly duplicates the wlr_log functions, although with a sway_* prefix. (This is very similar to PR #2009.) However, the logging function no longer needs to be replaceable, so sway_log_init's second argument is used to set the exit callback for sway_abort. wlr_log_init is still invoked in sway/main.c This commit makes it easier to remove the wlroots dependency for the helper programs swaymsg, swaybg, swaybar, and swaynag.
* Align titles to baselineLibravatar Ryan Dwyer2018-09-08
| | | | | | | | | | | | | This does the following: * Adds a baseline argument to get_text_size (the baseline is the distance from the top of the texture to the baseline). * Stores the baseline in the container when calculating the title height. * Takes the baseline into account when calculating the config's max font height. * When rendering, pads the textures according to the baseline so they line up.
* swaynag: fix hidpiLibravatar Brian Ashworth2018-08-01
|
* swaynag: allow more config optionsLibravatar Brian Ashworth2018-08-01
|
* swaynag: refactor {sway_,}nagbar to swaynagLibravatar Brian Ashworth2018-08-01
|
* Disable pango markup for extended messageLibravatar Drew DeVault2018-08-01
|
* swaynag: implement config file supportLibravatar Brian Ashworth2018-08-01
|
* Address first round review for swaynagLibravatar Brian Ashworth2018-08-01