sdhand / picom

A compositor for X11, active fork.
Other
136 stars 10 forks source link

No corner radius #6

Closed mrdgo closed 4 years ago

mrdgo commented 4 years ago

Platform

Ubuntu Desktop 18.04 amd64

GPU, drivers, and screen setup

boring laptop, Lenovo L480

Environment

xdm, dwm, st

picom version

Version: vgit-e3c47

Extensions:

Misc:

Drivers (inaccurate):

Intel

Configuration:

backend = "glx";
glx-no-stencil = true;
glx-copy-from-front = false;
glx-swap-method = 1;
blur-background = true;
blur-kern = "7x7box";

#border-radius = 12;
use-damage = false; 

# Shadow
shadow = true;          # Enabled client-side shadows on windows.
#clear-shadow = true;       # Zero the part of the shadow's mask behind the window (experimental).
shadow-radius = 10;     # The blur radius for shadows. (default 12)
shadow-offset-x = -15;      # The left offset for shadows. (default -15)
shadow-offset-y = -15;      # The top offset for shadows. (default -15)
shadow-opacity = 0.5;
shadow-exclude = [
 #"! name~=''",
 #"n:e:Notification",
 "n:e:Dunst",
 #"g:e:Conky",
 "n:w:Firefox",
];

opacity-rule = [
    "70:class_g = 'st'"
];

# The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches 
# (most applications are fine, only apps that do weird things with xshapes or argb are affected). 
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.

detect-client-opacity = true; # This prevents opacity being ignored for some apps. For example without this enabled my xfce4-notifyd is 100% opacity no matter what.

#Window type settings
wintypes:
{
  tooltip = { fade = true; shadow = false; };
  menu = { shadow = false; };
  dropdown_menu = { shadow = false; };
  popup_menu =  { shadow = false; };
};

Steps of reproduction

  1. picom --corner-radius 12
  2. corners won't have radius

Expected behavior

corners have radius

Current Behavior

corners don't have radius

Stack trace

no crash

Other details

see

eepykate commented 4 years ago

Rounded corners requires the xrender backend

mrdgo commented 4 years ago

Which I had already installed. Also there seems to be a memory leak.

eudaldgr commented 4 years ago

You have installed xrender backend, but need to put in the config file

backend = "xrender";

Try this.