quality: Remove trailing white spaces

Fix #1129
This commit is contained in:
Emmanuel Lepage Vallee 2017-06-11 00:11:29 -04:00
parent ffead7dcda
commit 5d6d8043ec
3 changed files with 9 additions and 9 deletions

View File

@ -175,7 +175,7 @@ Code:
local tb = wibox.widget.textbox() local tb = wibox.widget.textbox()
tb:set_markup("Hello world! ") tb:set_markup("Hello world! ")
-- Repeat "tb" 3 times -- Repeat "tb" 3 times
s.mywibox : setup { s.mywibox : setup {
tb, tb,
@ -222,7 +222,7 @@ Code:
id = "first", id = "first",
layout = wibox.layout.fixed.horizontal, layout = wibox.layout.fixed.horizontal,
} }
s.mywibox.first.second:set_markup("changed!") s.mywibox.first.second:set_markup("changed!")
s.mywibox:get_children_by_id("third")[1]:set_markup("Also changed!") s.mywibox:get_children_by_id("third")[1]:set_markup("Also changed!")
@ -284,10 +284,10 @@ Code:
end, end,
layout = wibox.widget.base.make_widget, layout = wibox.widget.base.make_widget,
} }
-- Define a layout with the imperative syntax -- Define a layout with the imperative syntax
local l = wibox.widget.align() local l = wibox.widget.align()
-- 3 circle -- 3 circle
s.mywibox : setup { s.mywibox : setup {
circle, circle,
@ -296,12 +296,12 @@ Code:
l, l,
layout = wibox.layout.align.horizontal layout = wibox.layout.align.horizontal
} }
-- This can be done instead -- This can be done instead
local three_circle = {layout = wibox.layout.align.horizontal} local three_circle = {layout = wibox.layout.align.horizontal}
for i=1, 3 do for i=1, 3 do
table.insert(three_circle, circle) table.insert(three_circle, circle)
end end
s.mywibox : setup (three_circle) s.mywibox : setup (three_circle)

View File

@ -168,7 +168,7 @@ You can ensure no application ever starts maximized in the first rule of your
-- Search for this rule, -- Search for this rule,
keys = clientkeys, keys = clientkeys,
-- add the following two: -- add the following two:
maximized_vertical = false, maximized_vertical = false,
maximized_horizontal = false, maximized_horizontal = false,
@ -217,7 +217,7 @@ terminal output you can use the following to match clients in awesome:
| |--- class | |--- class
| |
|--- instance |--- instance
WM_NAME(STRING) = "SMPlayer" WM_NAME(STRING) = "SMPlayer"
| |
|--- name |--- name

View File

@ -215,7 +215,7 @@ drawin_apply_moveresize(drawin_t *w)
w->geometry_dirty = false; w->geometry_dirty = false;
client_ignore_enterleave_events(); 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_X | XCB_CONFIG_WINDOW_Y
| XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT, | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT,
(const uint32_t []) (const uint32_t [])