diff --git a/docs/03-declarative-layout.md b/docs/03-declarative-layout.md index 7d8c1c8a..10869e3c 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 02a2a4e3..1e86036f 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 3d5d35f1..a65d6df3 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 [])