[dev] [dwm] [PATCH] create _MOTIF_WM_HINTS atom

2015-04-18 Thread Jason Woofenden
Some clients (such as feh) check for the existance of this atom like so: XInternAtom(disp, _MOTIF_WM_HINTS, True); to see how/if they can get fullscreen. Also my first hit on a web search for x11 howto fullscreen says to check for this atom: http://www.tonyobryan.com/index.php?article=9

[dev] [st] [PATCH] Remove WIN_REDRAW flag.

2015-04-18 Thread noname
WIN_REDRAW flag was not used since introduction of Xdbe in commit 94771d05886fbdd2422e66b7c0256ab27fa375cb --- st.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/st.c b/st.c index bb8c365..12a28e8 100644 --- a/st.c +++ b/st.c @@ -158,8 +158,7 @@ enum

Re: [dev] My dmenu patches

2015-04-18 Thread Eric Pruitt
On Sat, Apr 18, 2015 at 08:51:51AM -0700, Eric Pruitt wrote: that patch was created on top of the Git HEAD: [...] That was the wrong log entry, but in any case, the patch was created on top of the Git HEAD. Eric

[dev] [st] [PATCH 4/5] Make dodraw bool and remove initialization.

2015-04-18 Thread noname
--- st.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/st.c b/st.c index 1bcdb7f..cacb7f6 100644 --- a/st.c +++ b/st.c @@ -3912,7 +3912,8 @@ run(void) { XEvent ev; int w = xw.w, h = xw.h; fd_set rfd; - int xfd =

[dev] [st] [PATCH 2/5] Replace for with while.

2015-04-18 Thread noname
--- st.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/st.c b/st.c index 3fa58da..30f296d 100644 --- a/st.c +++ b/st.c @@ -3930,8 +3930,9 @@ run(void) { clock_gettime(CLOCK_MONOTONIC, last); lastblink = last; + xev = actionfps; - for(xev =

[dev] [st] [PATCH 3/5] Do not use floating point to calculate timeout

2015-04-18 Thread noname
This way is a bit more accurate. --- st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/st.c b/st.c index 30f296d..1bcdb7f 100644 --- a/st.c +++ b/st.c @@ -3956,7 +3956,7 @@ run(void) { clock_gettime(CLOCK_MONOTONIC, now); drawtimeout.tv_sec

[dev] [st] [PATCH 5/5] Monotonic clock cannot jump backwards.

2015-04-18 Thread noname
The check was introduced back when st used gettimeofday. --- st.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/st.c b/st.c index cacb7f6..e10815f 100644 --- a/st.c +++ b/st.c @@ -3968,8 +3968,7 @@ run(void) { dodraw = true; }

[dev] [st] [PATCH 1/5] Place tlinelen type on separate line.

2015-04-18 Thread noname
--- st.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/st.c b/st.c index bb8c365..3fa58da 100644 --- a/st.c +++ b/st.c @@ -671,7 +671,8 @@ y2row(int y) { return LIMIT(y, 0, term.row-1); } -int tlinelen(int y) { +int +tlinelen(int y) { int i = term.col;

[dev] [st] [PATCH 6/6] Remove deltatime variable.

2015-04-18 Thread noname
--- st.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/st.c b/st.c index e10815f..41b932d 100644 --- a/st.c +++ b/st.c @@ -3915,7 +3915,6 @@ run(void) { int xfd = XConnectionNumber(xw.dpy), xev, blinkset = 0; bool dodraw; struct timespec

Re: [dev] My dmenu patches

2015-04-18 Thread Eric Pruitt
On Sat, Apr 18, 2015 at 10:30:37AM +0200, Hiltjo Posthuma wrote: You seem to have based your second patch on dmenu 4.5, not on git. You should always use the latest git version. I can't reproduce the bug on the latest git version. You seem to have not read the other thread involving this bug;

[dev] Introducing JasonWoof

2015-04-18 Thread Jason Woofenden
Hi all, Just wanted to introduce myself. I'm new to this mailing list, though I've been in the chatroom for a bit. I've been coding since 1992, when I was 12. I've dabbled with various free software projects over the years. My most significant contribution in this area is VoR:

[dev] [quark] Fixed typo in config.def.h

2015-04-18 Thread Eric Pruitt
This patch fixes a typo I found in config.def.h. Eric From 214c7db2469738ee2cff51711e04e0ff7711e1ae Mon Sep 17 00:00:00 2001 From: Eric Pruitt eric.pru...@gmail.com Date: Sat, 18 Apr 2015 13:04:26 -0700 Subject: [PATCH] Fixed typo in config.def.h --- config.def.h |2 +- 1 file changed, 1

[dev] [st] [PATCH 1/3] Use true and false with bools.

2015-04-18 Thread noname
--- st.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/st.c b/st.c index 0d73d6e..8e502b0 100644 --- a/st.c +++ b/st.c @@ -1370,7 +1370,7 @@ tsetdirt(int top, int bot) { LIMIT(bot, 0, term.row-1); for(i = top; i = bot; i++) -

[dev] [st] [PATCH 3/3] Place memset arguments in the correct order.

2015-04-18 Thread noname
--- st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/st.c b/st.c index 3a803f3..949cdb7 100644 --- a/st.c +++ b/st.c @@ -1421,7 +1421,7 @@ treset(void) { term.top = 0; term.bot = term.row - 1; term.mode = MODE_WRAP; - memset(term.trantbl,

[dev] [st] [PATCH 2/3] Remove explicit 'return' from 'void' functions.

2015-04-18 Thread noname
--- st.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/st.c b/st.c index 8e502b0..3a803f3 100644 --- a/st.c +++ b/st.c @@ -2466,7 +2466,6 @@ tstrsequence(uchar c) { strreset(); strescseq.type = c; term.esc |= ESC_STR; - return; } void @@ -2548,7 +2547,6 @@

Re: [dev] My dmenu patches

2015-04-18 Thread Hiltjo Posthuma
On Sat, Apr 18, 2015 at 5:46 AM, Eric Pruitt eric.pru...@gmail.com wrote: Could someone with commit privileges please review the dmenu patches I sent within the last week? Links to the archives: - http://lists.suckless.org/dev/0109/26286.html - http://lists.suckless.org/dev/0109/26290.html -