mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-03 04:23:42 -05: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",
|
.separator_style = "dash",
|
||||||
/** Hide scrollbar */
|
/** Hide scrollbar */
|
||||||
.hide_scrollbar = FALSE,
|
.hide_scrollbar = FALSE,
|
||||||
.fullscreen = FALSE,
|
|
||||||
.fake_transparency = FALSE,
|
.fake_transparency = FALSE,
|
||||||
.dpi = -1,
|
.dpi = -1,
|
||||||
.threads = 0,
|
.threads = 0,
|
||||||
|
|
|
@ -712,12 +712,6 @@ Define the inner margin of the window.
|
||||||
.PP
|
.PP
|
||||||
Default: \fI5\fP
|
Default: \fI5\fP
|
||||||
|
|
||||||
.PP
|
|
||||||
\fB\fC\-fullscreen\fR
|
|
||||||
|
|
||||||
.PP
|
|
||||||
Use the full\-screen height and width.
|
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\fC\-sidebar\-mode\fR
|
\fB\fC\-sidebar\-mode\fR
|
||||||
|
|
||||||
|
|
|
@ -393,10 +393,6 @@ Define the inner margin of the window.
|
||||||
|
|
||||||
Default: *5*
|
Default: *5*
|
||||||
|
|
||||||
`-fullscreen`
|
|
||||||
|
|
||||||
Use the full-screen height and width.
|
|
||||||
|
|
||||||
`-sidebar-mode`
|
`-sidebar-mode`
|
||||||
|
|
||||||
Open in sidebar-mode. In this mode a list of all enabled modes is shown at the bottom.
|
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;
|
char *separator_style;
|
||||||
/** hide scrollbar */
|
/** hide scrollbar */
|
||||||
unsigned int hide_scrollbar;
|
unsigned int hide_scrollbar;
|
||||||
/** fullscreen */
|
|
||||||
unsigned int fullscreen;
|
|
||||||
/** bg image */
|
/** bg image */
|
||||||
unsigned int fake_transparency;
|
unsigned int fake_transparency;
|
||||||
/** dpi */
|
/** dpi */
|
||||||
|
|
|
@ -695,7 +695,6 @@ int config_sanity_check ( void )
|
||||||
if ( g_strcmp0 ( config.monitor, "-3" ) == 0 ) {
|
if ( g_strcmp0 ( config.monitor, "-3" ) == 0 ) {
|
||||||
// On -3, set to location 1.
|
// On -3, set to location 1.
|
||||||
config.location = 1;
|
config.location = 1;
|
||||||
config.fullscreen = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( found_error ) {
|
if ( found_error ) {
|
||||||
|
|
|
@ -848,7 +848,7 @@ void __create_window ( MenuFlags menu_flags )
|
||||||
}
|
}
|
||||||
|
|
||||||
TICK_N ( "setup window attributes" );
|
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 ) {
|
if ( CacheState.fullscreen ) {
|
||||||
xcb_atom_t atoms[] = {
|
xcb_atom_t atoms[] = {
|
||||||
xcb->ewmh._NET_WM_STATE_FULLSCREEN,
|
xcb->ewmh._NET_WM_STATE_FULLSCREEN,
|
||||||
|
|
|
@ -158,7 +158,7 @@ static XrmOption xrmOptions[] = {
|
||||||
"Cycle through the results list", CONFIG_DEFAULT },
|
"Cycle through the results list", CONFIG_DEFAULT },
|
||||||
{ xrm_Boolean, "sidebar-mode", { .num = &config.sidebar_mode }, NULL,
|
{ xrm_Boolean, "sidebar-mode", { .num = &config.sidebar_mode }, NULL,
|
||||||
"Enable sidebar-mode", CONFIG_DEFAULT },
|
"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 },
|
"Enable hover-select", CONFIG_DEFAULT },
|
||||||
{ xrm_SNumber, "eh", { .snum = &config.element_height }, NULL,
|
{ xrm_SNumber, "eh", { .snum = &config.element_height }, NULL,
|
||||||
"Row height (in chars)", CONFIG_DEFAULT },
|
"Row height (in chars)", CONFIG_DEFAULT },
|
||||||
|
@ -189,8 +189,6 @@ static XrmOption xrmOptions[] = {
|
||||||
"Separator style (none, dash, solid) *DEPRECATED*", CONFIG_DEFAULT },
|
"Separator style (none, dash, solid) *DEPRECATED*", CONFIG_DEFAULT },
|
||||||
{ xrm_Boolean, "hide-scrollbar", { .num = &config.hide_scrollbar }, NULL,
|
{ xrm_Boolean, "hide-scrollbar", { .num = &config.hide_scrollbar }, NULL,
|
||||||
"Hide scroll-bar *DEPRECATED*", CONFIG_DEFAULT },
|
"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,
|
{ xrm_Boolean, "fake-transparency", { .num = &config.fake_transparency }, NULL,
|
||||||
"Fake transparency *DEPRECATED*", CONFIG_DEFAULT },
|
"Fake transparency *DEPRECATED*", CONFIG_DEFAULT },
|
||||||
{ xrm_SNumber, "dpi", { .snum = &config.dpi }, NULL,
|
{ xrm_SNumber, "dpi", { .snum = &config.dpi }, NULL,
|
||||||
|
|
Loading…
Reference in a new issue