Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(#9): ensure border-width 0 is always applied at startup #10

Merged
merged 1 commit into from
Apr 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/displ.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ void control_command_style(const struct Style desired, const struct Style curren
bool displ_init(void) {
d.outputs = ptable_init(5, 5);

// ensure that border width of 0 is set on first run
d.style_current.border_width = -1;

d.wl_display = wl_display_connect(NULL);
if (!d.wl_display) {
log_error("Unable to connect to the compositor. Check or set the WAYLAND_DISPLAY environment variable.");
Expand Down
Loading