* 9wm: A Lightweight X Window Manager in the style of 8 1/2
@ 1994-12-12 11:28 Amos
0 siblings, 0 replies; 4+ messages in thread
From: Amos @ 1994-12-12 11:28 UTC (permalink / raw)
Now all we need as the opposite -- a more versatile window manager
which can do on P9 what mwm does on X. (Yes, I know, wait for ACME in
the next release....)
--
Amos Shapir Net: amos@cs.huji.ac.il
Paper: The Hebrew Univ. of Jerusalem, Dept. of Comp. Science.
Givat-Ram, Jerusalem 91904, Israel
Tel: +972 2 585706,586950 GEO: 35 11 46 E / 31 46 21 N
^ permalink raw reply [flat|nested] 4+ messages in thread
* 9wm: A Lightweight X Window Manager in the style of 8 1/2
@ 1994-12-12 11:47 Dave
0 siblings, 0 replies; 4+ messages in thread
From: Dave @ 1994-12-12 11:47 UTC (permalink / raw)
------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <27918.787232825.1@sco.com>
: 9wm is particularly handy for users who are constantly moving back
: and forth between Plan 9 and X windows
i wish i had this problem.
9wm works well for me, with two problems:
- if i use a proportionally spaced font the menus are a bit wild,
- i have a two-headed display. 9wm doesn't deal with two displays (which i
can live with - i just run two 9wm's), but a bigger problem is that selecting
a window on one screen causes a grab on the display, so that if i move my
mouse to the other screen it _looks_ as though i have selected a window
(border is dark), but the `other' 9wm has grabbed the keyboard focus. i have
to select another window on the new screen and then go back to the one i
really want. did i explain that right ? hmm. sounds more complicated than
it actually is.
anyway, here's a patch for the first problem:
------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <27918.787232825.2@sco.com>
Content-Description: grab.c diffs
*** 1.1 1994/12/12 11:34:52
--- 1.2 1994/12/12 11:41:19
***************
*** 66,74 ****
return -1;
dx = 0;
for (n = 0; m->item[n]; n++) {
! wide = strlen(m->item[n]) * font->max_bounds.width + 4;
if (wide > dx)
dx = wide;
}
wide = dx;
--- 66,74 ----
return -1;
dx = 0;
for (n = 0; m->item[n]; n++) {
! wide = XTextWidth(font, m->item[n], strlen(m->item[n])) + 4;
if (wide > dx)
dx = wide;
}
wide = dx;
***************
*** 163,171 ****
XFillRectangle(dpy, menuwin, gc, 0, cur*high, wide, high);
break;
case Expose:
for (i = 0; i < n; i++) {
! tx = (wide - strlen(m->item[i])*font->max_bounds.width)/2;
ty = i*high + font->ascent + 1;
XDrawString(dpy, menuwin, gc, tx, ty, m->item[i], strlen(m->item[i]));
}
if (cur >= 0 && cur < n)
--- 163,171 ----
XFillRectangle(dpy, menuwin, gc, 0, cur*high, wide, high);
break;
case Expose:
for (i = 0; i < n; i++) {
! tx = (wide - XTextWidth(font, m->item[i], strlen(m->item[i]))) / 2;
ty = i*high + font->ascent + 1;
XDrawString(dpy, menuwin, gc, tx, ty, m->item[i], strlen(m->item[i]));
}
if (cur >= 0 && cur < n)
------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <27918.787232825.3@sco.com>
great work !
dave.
--
Dave Edmondson, The Santa Cruz Operation, davided@sco.com
How many retired bricklayers from FLORIDA are out purchasing
PENCIL SHARPENERS right NOW??
------- =_aaaaaaaaaa0--
^ permalink raw reply [flat|nested] 4+ messages in thread
* 9wm: A Lightweight X Window Manager in the style of 8 1/2
@ 1994-12-12 17:22 Arnold
0 siblings, 0 replies; 4+ messages in thread
From: Arnold @ 1994-12-12 17:22 UTC (permalink / raw)
I'd rather have something like acme for unix and x. sigh...
^ permalink raw reply [flat|nested] 4+ messages in thread
* 9wm: A Lightweight X Window Manager in the style of 8 1/2
@ 1994-12-13 0:36 David
0 siblings, 0 replies; 4+ messages in thread
From: David @ 1994-12-13 0:36 UTC (permalink / raw)
I have just released version 1.0 of my X window manager, 9wm. 9wm
attempts to capture the look and feel of the Plan 9 windowing system
"8 1/2". This provides a minimal yet comfortable user interface.
9wm is particularly handy for users who are constantly moving back
and forth between Plan 9 and X windows, but it should also appeal
to non-Plan 9 users, particularly those who are sick of the amount
of time that certain other window managers take to start up ;-)
9wm should be appearing on comp.sources.x soon, if all goes well. In
the meantime, you can get it via anonymous ftp from ftp.cs.su.oz.au,
in the directory /dhog/9wm. 9wm is freely available.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1994-12-13 0:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-12-12 11:28 9wm: A Lightweight X Window Manager in the style of 8 1/2 Amos
1994-12-12 11:47 Dave
1994-12-12 17:22 Arnold
1994-12-13 0:36 David
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).