diff options
| author | Federico Angelilli <code@fedang.net> | 2024-03-16 17:15:38 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-03-16 17:15:38 +0100 |
| commit | e5cf2bb25fdec735240bf7d965db6f6ef694ccc0 (patch) | |
| tree | 971106acd1f64b20a64c59b10378ebe780f216b9 /src/connect.c | |
| parent | 339f20abbe83da4ac094ae875fdaca9479d28ce6 (diff) | |
Fix some leaks and refactor
Diffstat (limited to 'src/connect.c')
| -rw-r--r-- | src/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connect.c b/src/connect.c index 9e709af..1ad5c9a 100644 --- a/src/connect.c +++ b/src/connect.c @@ -235,7 +235,6 @@ static gboolean source_dispatch(GSource *source, GSourceFunc callback, gpointer if (property->atom == XCB_ATOM_RESOURCE_MANAGER) { update_xrm(xsource->con); update_scale(xsource->con); - state_request_redraw(xsource->con->state, true); } break; @@ -349,6 +348,7 @@ Connection *connect_create() con->database = xcb_xrm_database_from_default(con->connection); g_assert_nonnull(con->database); + // TODO: Dpi aware scaling update_scale(con); g_assert(xcb_errors_context_new(con->connection, &con->errors) == 0); |
