Compare commits
	
		
			2 Commits
		
	
	
		
			5d304c99af
			...
			abe52747fe
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| abe52747fe | |||
| 7869969e0d | 
@ -45,6 +45,7 @@ static const Rule rules[] = {
 | 
				
			|||||||
    { "vesktop",            NULL,       NULL,       1 << 3,     0,          -1 },
 | 
					    { "vesktop",            NULL,       NULL,       1 << 3,     0,          -1 },
 | 
				
			||||||
    { "discord",            NULL,       NULL,       1 << 3,     0,          -1 },
 | 
					    { "discord",            NULL,       NULL,       1 << 3,     0,          -1 },
 | 
				
			||||||
    { "KotatogramDesktop",  NULL,       NULL,       1 << 3,     0,          -1 },
 | 
					    { "KotatogramDesktop",  NULL,       NULL,       1 << 3,     0,          -1 },
 | 
				
			||||||
 | 
					    { "64Gram",             NULL,       NULL,       1 << 3,     0,          -1 },
 | 
				
			||||||
    // ----- 5 -----
 | 
					    // ----- 5 -----
 | 
				
			||||||
    { "Steam",              NULL,       NULL,       1 << 4,     0,          -1 },
 | 
					    { "Steam",              NULL,       NULL,       1 << 4,     0,          -1 },
 | 
				
			||||||
    { "steam",              NULL,       NULL,       1 << 4,     0,          -1 },
 | 
					    { "steam",              NULL,       NULL,       1 << 4,     0,          -1 },
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										24
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								dwm.c
									
									
									
									
									
								
							@ -170,7 +170,6 @@ static void enternotify(XEvent *e);
 | 
				
			|||||||
static void expose(XEvent *e);
 | 
					static void expose(XEvent *e);
 | 
				
			||||||
static void focus(Client *c);
 | 
					static void focus(Client *c);
 | 
				
			||||||
static void focusin(XEvent *e);
 | 
					static void focusin(XEvent *e);
 | 
				
			||||||
static void focusmon(const Arg *arg);
 | 
					 | 
				
			||||||
static void focusstack(const Arg *arg);
 | 
					static void focusstack(const Arg *arg);
 | 
				
			||||||
static Atom getatomprop(Client *c, Atom prop);
 | 
					static Atom getatomprop(Client *c, Atom prop);
 | 
				
			||||||
static int getrootptr(int *x, int *y);
 | 
					static int getrootptr(int *x, int *y);
 | 
				
			||||||
@ -210,7 +209,6 @@ static void seturgent(Client *c, int urg);
 | 
				
			|||||||
static void showhide(Client *c);
 | 
					static void showhide(Client *c);
 | 
				
			||||||
static void spawn(const Arg *arg);
 | 
					static void spawn(const Arg *arg);
 | 
				
			||||||
static void tag(const Arg *arg);
 | 
					static void tag(const Arg *arg);
 | 
				
			||||||
static void tagmon(const Arg *arg);
 | 
					 | 
				
			||||||
static void togglebar(const Arg *arg);
 | 
					static void togglebar(const Arg *arg);
 | 
				
			||||||
static void togglefloating(const Arg *arg);
 | 
					static void togglefloating(const Arg *arg);
 | 
				
			||||||
static void togglefullscr(const Arg *arg);
 | 
					static void togglefullscr(const Arg *arg);
 | 
				
			||||||
@ -939,20 +937,6 @@ focusin(XEvent *e)
 | 
				
			|||||||
		setfocus(selmon->sel);
 | 
							setfocus(selmon->sel);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					 | 
				
			||||||
focusmon(const Arg *arg)
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
	Monitor *m;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	if (!mons->next)
 | 
					 | 
				
			||||||
		return;
 | 
					 | 
				
			||||||
	if ((m = dirtomon(arg->i)) == selmon)
 | 
					 | 
				
			||||||
		return;
 | 
					 | 
				
			||||||
	unfocus(selmon->sel, 0);
 | 
					 | 
				
			||||||
	selmon = m;
 | 
					 | 
				
			||||||
	focus(NULL);
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
focusstack(const Arg *arg)
 | 
					focusstack(const Arg *arg)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
@ -1820,14 +1804,6 @@ tag(const Arg *arg)
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					 | 
				
			||||||
tagmon(const Arg *arg)
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
	if (!selmon->sel || !mons->next)
 | 
					 | 
				
			||||||
		return;
 | 
					 | 
				
			||||||
	sendmon(selmon->sel, dirtomon(arg->i));
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
togglebar(const Arg *arg)
 | 
					togglebar(const Arg *arg)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user