mirror of
https://github.com/lbonn/rofi
synced 2024-11-26 22:00:20 +00:00
Remove -fullscreen option, deprecated by new theme format.
Use 'window {fullscreen: true;}' instead.
This commit is contained in:
parent
d539e6478a
commit
67eda1a776
7 changed files with 2 additions and 18 deletions
|
@ -141,7 +141,6 @@ Settings config = {
|
|||
.separator_style = "dash",
|
||||
/** Hide scrollbar */
|
||||
.hide_scrollbar = FALSE,
|
||||
.fullscreen = FALSE,
|
||||
.fake_transparency = FALSE,
|
||||
.dpi = -1,
|
||||
.threads = 0,
|
||||
|
|
|
@ -712,12 +712,6 @@ Define the inner margin of the window.
|
|||
.PP
|
||||
Default: \fI5\fP
|
||||
|
||||
.PP
|
||||
\fB\fC\-fullscreen\fR
|
||||
|
||||
.PP
|
||||
Use the full\-screen height and width.
|
||||
|
||||
.PP
|
||||
\fB\fC\-sidebar\-mode\fR
|
||||
|
||||
|
|
|
@ -393,10 +393,6 @@ Define the inner margin of the window.
|
|||
|
||||
Default: *5*
|
||||
|
||||
`-fullscreen`
|
||||
|
||||
Use the full-screen height and width.
|
||||
|
||||
`-sidebar-mode`
|
||||
|
||||
Open in sidebar-mode. In this mode a list of all enabled modes is shown at the bottom.
|
||||
|
|
|
@ -165,8 +165,6 @@ typedef struct
|
|||
char *separator_style;
|
||||
/** hide scrollbar */
|
||||
unsigned int hide_scrollbar;
|
||||
/** fullscreen */
|
||||
unsigned int fullscreen;
|
||||
/** bg image */
|
||||
unsigned int fake_transparency;
|
||||
/** dpi */
|
||||
|
|
|
@ -695,7 +695,6 @@ int config_sanity_check ( void )
|
|||
if ( g_strcmp0 ( config.monitor, "-3" ) == 0 ) {
|
||||
// On -3, set to location 1.
|
||||
config.location = 1;
|
||||
config.fullscreen = 0;
|
||||
}
|
||||
|
||||
if ( found_error ) {
|
||||
|
|
|
@ -848,7 +848,7 @@ void __create_window ( MenuFlags menu_flags )
|
|||
}
|
||||
|
||||
TICK_N ( "setup window attributes" );
|
||||
CacheState.fullscreen = rofi_theme_get_boolean ( WIDGET ( win ), "fullscreen", config.fullscreen );
|
||||
CacheState.fullscreen = rofi_theme_get_boolean ( WIDGET ( win ), "fullscreen", FALSE );
|
||||
if ( CacheState.fullscreen ) {
|
||||
xcb_atom_t atoms[] = {
|
||||
xcb->ewmh._NET_WM_STATE_FULLSCREEN,
|
||||
|
|
|
@ -158,7 +158,7 @@ static XrmOption xrmOptions[] = {
|
|||
"Cycle through the results list", CONFIG_DEFAULT },
|
||||
{ xrm_Boolean, "sidebar-mode", { .num = &config.sidebar_mode }, NULL,
|
||||
"Enable sidebar-mode", CONFIG_DEFAULT },
|
||||
{ xrm_Boolean, "hover-select", { .num = &config.hover_select }, NULL,
|
||||
{ xrm_Boolean, "hover-select", { .snum = &config.hover_select }, NULL,
|
||||
"Enable hover-select", CONFIG_DEFAULT },
|
||||
{ xrm_SNumber, "eh", { .snum = &config.element_height }, NULL,
|
||||
"Row height (in chars)", CONFIG_DEFAULT },
|
||||
|
@ -189,8 +189,6 @@ static XrmOption xrmOptions[] = {
|
|||
"Separator style (none, dash, solid) *DEPRECATED*", CONFIG_DEFAULT },
|
||||
{ xrm_Boolean, "hide-scrollbar", { .num = &config.hide_scrollbar }, NULL,
|
||||
"Hide scroll-bar *DEPRECATED*", CONFIG_DEFAULT },
|
||||
{ xrm_Boolean, "fullscreen", { .num = &config.fullscreen }, NULL,
|
||||
"Fullscreen", CONFIG_DEFAULT },
|
||||
{ xrm_Boolean, "fake-transparency", { .num = &config.fake_transparency }, NULL,
|
||||
"Fake transparency *DEPRECATED*", CONFIG_DEFAULT },
|
||||
{ xrm_SNumber, "dpi", { .snum = &config.dpi }, NULL,
|
||||
|
|
Loading…
Reference in a new issue