From 5d6d8043ec8039866ed4f057d7843f721369d48e Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 11 Jun 2017 00:11:29 -0400 Subject: [PATCH] quality: Remove trailing white spaces Fix #1129 --- docs/03-declarative-layout.md | 12 ++++++------ docs/90-FAQ.md | 4 ++-- objects/drawin.c | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/03-declarative-layout.md b/docs/03-declarative-layout.md index 7d8c1c8a1..10869e3cb 100644 --- a/docs/03-declarative-layout.md +++ b/docs/03-declarative-layout.md @@ -175,7 +175,7 @@ Code: local tb = wibox.widget.textbox() tb:set_markup("Hello world! ") - + -- Repeat "tb" 3 times s.mywibox : setup { tb, @@ -222,7 +222,7 @@ Code: id = "first", layout = wibox.layout.fixed.horizontal, } - + s.mywibox.first.second:set_markup("changed!") s.mywibox:get_children_by_id("third")[1]:set_markup("Also changed!") @@ -284,10 +284,10 @@ Code: end, layout = wibox.widget.base.make_widget, } - + -- Define a layout with the imperative syntax local l = wibox.widget.align() - + -- 3 circle s.mywibox : setup { circle, @@ -296,12 +296,12 @@ Code: l, layout = wibox.layout.align.horizontal } - + -- This can be done instead local three_circle = {layout = wibox.layout.align.horizontal} for i=1, 3 do table.insert(three_circle, circle) end - + s.mywibox : setup (three_circle) diff --git a/docs/90-FAQ.md b/docs/90-FAQ.md index 02a2a4e39..1e86036f4 100644 --- a/docs/90-FAQ.md +++ b/docs/90-FAQ.md @@ -168,7 +168,7 @@ You can ensure no application ever starts maximized in the first rule of your -- Search for this rule, keys = clientkeys, - + -- add the following two: maximized_vertical = false, maximized_horizontal = false, @@ -217,7 +217,7 @@ terminal output you can use the following to match clients in awesome: | |--- class | |--- instance - + WM_NAME(STRING) = "SMPlayer" | |--- name diff --git a/objects/drawin.c b/objects/drawin.c index 3d5d35f13..a65d6df3d 100644 --- a/objects/drawin.c +++ b/objects/drawin.c @@ -215,7 +215,7 @@ drawin_apply_moveresize(drawin_t *w) w->geometry_dirty = false; client_ignore_enterleave_events(); - xcb_configure_window(globalconf.connection, w->window, + xcb_configure_window(globalconf.connection, w->window, XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT, (const uint32_t [])