Merge pull request #4330 from orestisfl/revert-clear-framebuffer

Revert "Clear framebuffer before drawing borders (#4308)"
This commit is contained in:
Orestis Floros 2021-01-26 10:37:49 +01:00 committed by GitHub
commit 921226783f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View File

@ -25,7 +25,6 @@ strongly encouraged to upgrade.
• when initializing new outputs, avoid duplicating workspace numbers
• fix workspaces not moving to assigned output after output becomes available
• fix duplicate bindcode after i3-config-wizard
• clear pixmap before drawing to prevent visual grabage in clients using 'Shape'
• i3bar: properly close file descriptors
• i3bar: properly restart status command after config change
• i3bar: exit with 1 when a wrong command line argument is used

View File

@ -535,10 +535,6 @@ void x_draw_decoration(Con *con) {
con->pixmap_recreated = false;
con->mark_changed = false;
/* Clear background before drawing. Clearing here makes sure we are in a
* state where we are expected to redraw the borders */
draw_util_clear_surface(&(con->frame_buffer), (color_t){.red = 0.0, .green = 0.0, .blue = 0.0});
/* 2: draw the client.background, but only for the parts around the window_rect */
if (con->window != NULL) {
/* top area */