Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
made gravitate effectless, waiting for complains ;)
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
220d2a0
..
5926bb3
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-135,6
+135,7
@@
void
gravitate(Client *c, Bool invert) {
int dx = 0, dy = 0;
gravitate(Client *c, Bool invert) {
int dx = 0, dy = 0;
+ return;
switch(c->grav) {
default:
break;
switch(c->grav) {
default:
break;
@@
-361,12
+362,12
@@
updatetitle(Client *c) {
if(!name.nitems)
return;
if(name.encoding == XA_STRING)
if(!name.nitems)
return;
if(name.encoding == XA_STRING)
- strncpy(c->name, (char *)name.value, sizeof(c->name));
+ strncpy(c->name, (char *)name.value, sizeof c->name);
else {
if(XmbTextPropertyToTextList(dpy, &name, &list, &n) >= Success
&& n > 0 && *list)
{
else {
if(XmbTextPropertyToTextList(dpy, &name, &list, &n) >= Success
&& n > 0 && *list)
{
- strncpy(c->name, *list, sizeof(c->name));
+ strncpy(c->name, *list, sizeof c->name);
XFreeStringList(list);
}
}
XFreeStringList(list);
}
}