change a few default settings
This commit is contained in:
parent
d52c5c6470
commit
1b2dbd30fe
|
@ -170,7 +170,7 @@ speedwm.mouse.mousepreview: 1 ! Enable previewing tags by hovering ove
|
|||
|
||||
!! Rule options
|
||||
|
||||
speedwm.rule.refresh: 1 ! Allow rules to be refreshed if a title/class changes (0/1)
|
||||
speedwm.rule.refresh: 0 ! Allow rules to be refreshed if a title/class changes (0/1)
|
||||
|
||||
!! Stack options
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ static Key keys[] = {
|
|||
{ MODIFIER1|CONTROL|SHIFT, -1, XK_s, spawn, cmd( "speedwm-swal" ) },
|
||||
{ MODIFIER1|CONTROL|SHIFT, -1, XK_n, spawn, cmd( "speedwm-netctrl" ) },
|
||||
{ MODIFIER1|CONTROL|SHIFT, -1, XK_b, spawn, cmd( "speedwm-btctrl" ) },
|
||||
{ MODIFIER1|CONTROL|SHIFT, -1, XK_r, spawn, cmd( "libspeedwm --perform core_wm_reload" ) },
|
||||
{ MODIFIER1|CONTROL|SHIFT, -1, XK_r, spawn, cmd( "libspeedwm --perform core_wm_restart" ) },
|
||||
|
||||
/* System tray */
|
||||
#if USESYSTRAY
|
||||
|
|
|
@ -85,7 +85,7 @@ static int stackcount = 0; /* Number of clients in the s
|
|||
static int resizehints = 0; /* Show resize hints */
|
||||
static int decorhints = 1; /* Respect decoration hints */
|
||||
static int savefloat = 1; /* Save position of floating windows */
|
||||
static int refreshrules = 1; /* Refresh rules when a CLASS or TITLE changes */
|
||||
static int refreshrules = 0; /* Refresh rules when a CLASS or TITLE changes */
|
||||
static int i3mastercount = 0; /* Enable i3-gaps like mastercount (1/0) */
|
||||
static int mousemfact = 1; /* Enable adjusting mfact using the mouse (1/0) */
|
||||
static int mousecfact = 1; /* Enable adjusting cfact using the mouse (1/0) */
|
||||
|
|
|
@ -4899,7 +4899,8 @@ propertynotify(XEvent *e)
|
|||
}
|
||||
if (ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
|
||||
updatetitle(c);
|
||||
updaterules(c);
|
||||
|
||||
if (refreshrules) updaterules(c);
|
||||
if (c == c->mon->sel && !selmon->hidetitle)
|
||||
drawbaritems(c->mon);
|
||||
}
|
||||
|
@ -6793,8 +6794,6 @@ updatestatus(void)
|
|||
void
|
||||
updaterules(Client *c)
|
||||
{
|
||||
if (refreshrules)
|
||||
{
|
||||
const char *class, *instance;
|
||||
unsigned int i;
|
||||
const Rule *r;
|
||||
|
@ -6838,7 +6837,6 @@ updaterules(Client *c)
|
|||
resize(c, c->x, c->y,
|
||||
c->w, c->h, 0);
|
||||
arrange(c->mon);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue