mirror of
https://github.com/0intro/wmii
synced 2024-11-21 21:31:33 +03:00
Fix warnings that I don't get.
This commit is contained in:
parent
b475b96684
commit
0c4e480e44
@ -373,6 +373,7 @@ view_attach(View *v, Frame *f) {
|
||||
|| group_leader(c->group)
|
||||
&& !client_viewframe(group_leader(c->group),
|
||||
c->sel->view);
|
||||
USED(newgroup);
|
||||
|
||||
if(!(c->w.ewmh.type & (TypeSplash|TypeDock))) {
|
||||
if(!(c->tagre.regex && regexec(c->tagre.regc, v->name, nil, 0)))
|
||||
|
@ -1047,7 +1047,8 @@ setfocus(Window *w, int mode) {
|
||||
|
||||
XWindow
|
||||
getfocus(void) {
|
||||
XWindow ret, revert;
|
||||
XWindow ret;
|
||||
int revert;
|
||||
|
||||
XGetInputFocus(display, &ret, &revert);
|
||||
return ret;
|
||||
|
@ -20,7 +20,6 @@ enum {
|
||||
|
||||
static void* xlib;
|
||||
|
||||
static long lastwin;
|
||||
static long transient;
|
||||
static Atom types[32];
|
||||
static long ntypes;
|
||||
@ -89,12 +88,6 @@ init(Display *d) { /* Hrm... assumes one display... */
|
||||
gethostname(hostname, sizeof hostname);
|
||||
}
|
||||
|
||||
static int /* Temporary Xlib error handler */
|
||||
ignoreerrors(Display *d, XErrorEvent *e) {
|
||||
//USED(d, e);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void
|
||||
setprops(Display *d, Window w) {
|
||||
long *l;
|
||||
|
Loading…
Reference in New Issue
Block a user