mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
Use tabs for indentation
This commit is contained in:
parent
969f76a1a4
commit
3955c66ce8
@ -11,13 +11,13 @@
|
||||
#include <arpa/inet.h>
|
||||
|
||||
void cairo_set_source_u32(cairo_t *cairo, uint32_t color) {
|
||||
color = htonl(color);
|
||||
color = htonl(color);
|
||||
|
||||
cairo_set_source_rgba(cairo,
|
||||
(color >> (2*8) & 0xFF) / 255.0,
|
||||
(color >> (1*8) & 0xFF) / 255.0,
|
||||
(color >> (0*8) & 0xFF) / 255.0,
|
||||
(color >> (3*8) & 0xFF) / 255.0);
|
||||
cairo_set_source_rgba(cairo,
|
||||
(color >> (2*8) & 0xFF) / 255.0,
|
||||
(color >> (1*8) & 0xFF) / 255.0,
|
||||
(color >> (0*8) & 0xFF) / 255.0,
|
||||
(color >> (3*8) & 0xFF) / 255.0);
|
||||
}
|
||||
|
||||
static cairo_t *create_border_buffer(swayc_t *view, struct wlc_geometry geo, cairo_surface_t **surface) {
|
||||
|
Loading…
Reference in New Issue
Block a user