Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added licensing back; testing markdown readme
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d20f3304c3d03d8220d8a2425b4559ab08657d8915720a871995a227493db7a4
User & Date: jmcclure 2018-06-15 14:22:26
Context
2018-06-15
14:23
README revision check-in: 1b8cb38c08 user: jmcclure tags: trunk
14:22
Added licensing back; testing markdown readme check-in: d20f3304c3 user: jmcclure tags: trunk
2018-05-27
01:33
Rescinded licenses for future commits check-in: 743b49d88e user: jmcclure tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added README.md.



















































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<div class="fossil-doc" data-title="Minimalist X Windows Session">

## OVERVIEW

Code is shared here for educational purposes.  As all files are under the permissive
ISC license, you are free to take these and use them as they are.  You may not,
however, be happy with the results as these are tailored to my tastes and my
hardware.  Instead, you are encouraged to use these as examples, or starting points
with which to make your version that works best for you.

Questions and suggestions are welcome via email.  Bug reports will likely be ignored:
these work perfectly as they are for me.

## FILES

[xi](https://code.jessemcclure.org/xtools/file/xi.c)
- Minimal xinit replace

[tmuxwm](https://code.jessemcclure.org/xtools/file/tmuxwm.c)  
- Tmux oriented fullsreen window manager

[muswm](https://code.jessemcclure.org/xtools/file/muswm.c)  
- Mouse-based floating window management


Changes to muswm.c.

1
2












3
4
5
6
7
8
9
/* MUSWM.C
 * Copyright Jesse McClure 2015, 2018












 */

#include <X11/Xlib.h>

int main(int argc, const char **argv) {
	Display *dpy;
	if(!(dpy = XOpenDisplay(0x0))) return 1;

|
>
>
>
>
>
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* MUSWM.C
 * Copyright (c) 2015, 2018 Jesse McClure <code@jessemcclure.org>
 *
 * Permission to use, copy, modify, and distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */

#include <X11/Xlib.h>

int main(int argc, const char **argv) {
	Display *dpy;
	if(!(dpy = XOpenDisplay(0x0))) return 1;

Changes to tmuxwm.c.

1
2












3
4
5
6
7
8
9
/* TMUXWM.C
 * Copyright Jesse McClure 2015-2018












 */

#include <stdlib.h>
#include <signal.h>
#include <unistd.h>
#include <X11/Xlib.h>
#include <X11/keysym.h>

|
>
>
>
>
>
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* TMUXWM.C
 * Copyright (c) 2015-2018 Jesse McClure <code@jessemcclure.org>
 *
 * Permission to use, copy, modify, and distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */

#include <stdlib.h>
#include <signal.h>
#include <unistd.h>
#include <X11/Xlib.h>
#include <X11/keysym.h>

Changes to xi.c.

1
2












3
4
5
6
7
8
9
/* xi.c
 * Copyright (c) 2017, 2018 Jesse McClure <code@jessemcclure.org>












 */

#include <stdlib.h>
#include <stdio.h>
#include <signal.h>
#include <unistd.h>
#include <sys/ioctl.h>
|

>
>
>
>
>
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* XI.C
 * Copyright (c) 2017, 2018 Jesse McClure <code@jessemcclure.org>
 *
 * Permission to use, copy, modify, and distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */

#include <stdlib.h>
#include <stdio.h>
#include <signal.h>
#include <unistd.h>
#include <sys/ioctl.h>