mirror of
https://github.com/swaywm/sway.git
synced 2026-04-17 06:46:32 -04:00
fix indentation to use tabs
This commit is contained in:
parent
e445fc1344
commit
85f0a101c3
8 changed files with 13 additions and 11 deletions
|
|
@ -169,7 +169,8 @@ ContextMenu|Activate|SecondaryActivate|ScrollDown|ScrollLeft|ScrollRight|ScrollU
|
||||||
for button3).
|
for button3).
|
||||||
|
|
||||||
*tray_last* yes|no
|
*tray_last* yes|no
|
||||||
Sets the tray icons to appear as the last element in the bar. If _no_, the tray will appear to the left of the status command. Default is _yes_.
|
Sets the tray icons to appear as the last element in the bar. If _no_, the
|
||||||
|
tray will appear to the left of the status command. Default is _yes_.
|
||||||
|
|
||||||
*tray_padding* <px> [px]
|
*tray_padding* <px> [px]
|
||||||
Sets the pixel padding of the system tray. This padding will surround the
|
Sets the pixel padding of the system tray. This padding will surround the
|
||||||
|
|
|
||||||
|
|
@ -675,7 +675,7 @@ static uint32_t render_to_cairo(struct render_context *ctx) {
|
||||||
* utilize the available space.
|
* utilize the available space.
|
||||||
*/
|
*/
|
||||||
double x = output->width;
|
double x = output->width;
|
||||||
/* config->tray_last = false; */
|
|
||||||
#if HAVE_TRAY
|
#if HAVE_TRAY
|
||||||
if (bar->tray && config->tray_last) {
|
if (bar->tray && config->tray_last) {
|
||||||
uint32_t h = render_tray(cairo, output, &x);
|
uint32_t h = render_tray(cairo, output, &x);
|
||||||
|
|
@ -692,6 +692,7 @@ static uint32_t render_to_cairo(struct render_context *ctx) {
|
||||||
max_height = h > max_height ? h : max_height;
|
max_height = h > max_height ? h : max_height;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
x = 0;
|
x = 0;
|
||||||
if (config->workspace_buttons) {
|
if (config->workspace_buttons) {
|
||||||
struct swaybar_workspace *ws;
|
struct swaybar_workspace *ws;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue