Browse Source

changing XFlush into XSync

main
Anselm R. Garbe 18 years ago
parent
commit
f60c597d65
4 changed files with 11 additions and 6 deletions
  1. +5
    -0
      dwm.h
  2. +3
    -3
      dwm.html
  3. +1
    -1
      event.c
  4. +2
    -2
      main.c

+ 5
- 0
dwm.h View File

@ -8,9 +8,14 @@
/********** CUSTOMIZE **********/ /********** CUSTOMIZE **********/
#define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*" #define FONT "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*"
#define BGCOLOR "#0a2c2d"
#define FGCOLOR "#ddeeee"
#define BORDERCOLOR "#176164"
/*
#define BGCOLOR "#666699" #define BGCOLOR "#666699"
#define FGCOLOR "#eeeeee" #define FGCOLOR "#eeeeee"
#define BORDERCOLOR "#9999CC" #define BORDERCOLOR "#9999CC"
*/
#define MASTERW 52 /* percent */ #define MASTERW 52 /* percent */
#define WM_PROTOCOL_DELWIN 1 #define WM_PROTOCOL_DELWIN 1


+ 3
- 3
dwm.html View File

@ -74,9 +74,9 @@
wmiir and what not... wmiir and what not...
</li> </li>
<li> <li>
garbeam <b>does not</b> want any feedback to dwm. If you ask for support,
Anselm <b>does not</b> want any feedback to dwm. If you ask for support,
feature requests, or if you report bugs, they will be <b>ignored</b> feature requests, or if you report bugs, they will be <b>ignored</b>
with a high chance. dwm is only intended to fit garbeams needs.
with a high chance. dwm is only intended to fit Anselms needs.
However you are free to download and distribute/relicense it, with the However you are free to download and distribute/relicense it, with the
conditions of the <a href="http://wmii.de/cgi-bin/hgwebdir.cgi/dwm?f=f10eb1139362;file=LICENSE;style=raw">MIT/X Consortium license</a>. conditions of the <a href="http://wmii.de/cgi-bin/hgwebdir.cgi/dwm?f=f10eb1139362;file=LICENSE;style=raw">MIT/X Consortium license</a>.
</li> </li>
@ -99,7 +99,7 @@
<h3>Miscellaneous</h3> <h3>Miscellaneous</h3>
<p> <p>
You can purchase this <a href="https://www.spreadshirt.net/shop.php?op=article&article_id=3298632&view=403">tricot</a> You can purchase this <a href="https://www.spreadshirt.net/shop.php?op=article&article_id=3298632&view=403">tricot</a>
if you like dwm and the dwm logo, which has been designed by garbeam.
if you like dwm and the dwm logo, which has been designed by Anselm.
</p> </p>
<p><small>--Anselm (20060714)</small></p> <p><small>--Anselm (20060714)</small></p>
</body> </body>


+ 1
- 1
event.c View File

@ -128,7 +128,7 @@ buttonpress(XEvent *e)
Client *c; Client *c;
if(barwin == ev->window) { if(barwin == ev->window) {
x = (arrange == dofloat) ? textw("~") : 0;
x = 0;
for(a.i = 0; a.i < TLast; a.i++) { for(a.i = 0; a.i < TLast; a.i++) {
x += textw(tags[a.i]); x += textw(tags[a.i]);
if(ev->x < x) { if(ev->x < x) {


+ 2
- 2
main.c View File

@ -204,12 +204,12 @@ main(int argc, char *argv[])
XSetErrorHandler(xerrorstart); XSetErrorHandler(xerrorstart);
/* this causes an error if some other WM is running */ /* this causes an error if some other WM is running */
XSelectInput(dpy, root, SubstructureRedirectMask); XSelectInput(dpy, root, SubstructureRedirectMask);
XFlush(dpy);
XSync(dpy, False);
if(otherwm) if(otherwm)
eprint("dwm: another window manager is already running\n"); eprint("dwm: another window manager is already running\n");
XSetErrorHandler(0);
XSetErrorHandler(NULL);
xerrorxlib = XSetErrorHandler(xerror); xerrorxlib = XSetErrorHandler(xerror);
/* init atoms */ /* init atoms */


Loading…
Cancel
Save