mirror of
https://github.com/davatorium/rofi.git
synced 2025-07-31 21:59:25 -04:00
Fix (old style) fake-transparency and fake-background option.
- Broke and only setting it via theme worked.
This commit is contained in:
parent
94aa4a9b7c
commit
ae4ea622bb
1 changed files with 2 additions and 0 deletions
|
@ -782,6 +782,8 @@ void __create_window ( MenuFlags menu_flags )
|
||||||
const char *transparency = rofi_theme_get_string ( WIDGET ( win ), "transparency", NULL );
|
const char *transparency = rofi_theme_get_string ( WIDGET ( win ), "transparency", NULL );
|
||||||
if ( transparency ) {
|
if ( transparency ) {
|
||||||
rofi_view_setup_fake_transparency ( transparency );
|
rofi_view_setup_fake_transparency ( transparency );
|
||||||
|
} else if ( config.fake_transparency && config.fake_background ) {
|
||||||
|
rofi_view_setup_fake_transparency ( config.fake_background );
|
||||||
}
|
}
|
||||||
if ( xcb->sncontext != NULL ) {
|
if ( xcb->sncontext != NULL ) {
|
||||||
sn_launchee_context_setup_window ( xcb->sncontext, CacheState.main_window );
|
sn_launchee_context_setup_window ( xcb->sncontext, CacheState.main_window );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue