Commit Graph

13 Commits

Author SHA1 Message Date
Jason Creighton
60a6b53e39 Tabbed.hs: Get correct color values instead of assuming a 24-bit display
Using, eg, 0xBBBBBB directly makes assumptions about the server's colormap and
only works on 24-bit displays.

This patch fetches the colors on every doLayout call, which is ugly, but works.
It would be nice if we could do all the required initColors only once.
2007-06-13 23:50:49 +00:00
Spencer Janssen
dc497c6dd2 Update license information 2007-06-13 15:28:29 +00:00
Andrea Rossato
8d75aada58 template for module information e documentation 2007-06-13 13:10:29 +00:00
David Roundy
10fd36db47 changes to work with Stacks that can't be empty. 2007-06-12 15:12:09 +00:00
Andrea Rossato
1b0a012dd4 the Stack can be Empty 2007-06-12 05:51:44 +00:00
Spencer Janssen
fca67d33d7 Updates to work with recent API changes 2007-06-11 18:34:39 +00:00
Jason Creighton
d18e7045e5 redraw decorations on PropertyNotify
newDecoration now takes a Window parameter, which is the window the decoration
is "for". If there is a PropertyNotify for that window, the decoration is
redrawn.
2007-06-11 02:14:08 +00:00
Jason Creighton
d9905bffac use safe peek instead of unsafe focus
Fixes crashing bug with Xinerama where you have a tabbed layout on one screen
and attempt to switch to an empty workspace on the other.
2007-06-11 01:54:37 +00:00
Jason Creighton
47ed40466a make Tabbed respect the y position of the layout rect (statusbar bugfix) 2007-06-10 23:15:10 +00:00
David Roundy
e0224746b0 tune layout of Tabbed just a bit. 2007-06-10 20:35:13 +00:00
David Roundy
2d4e0b6e94 color focussed tab differently. 2007-06-10 19:57:43 +00:00
David Roundy
438a5931d0 display names of windows on tabs. 2007-06-10 16:37:29 +00:00
David Roundy
69347d1d98 add sketch of tabbed layout. 2007-06-10 15:39:26 +00:00