1
0
mirror of https://github.com/xmonad/xmonad-contrib.git synced 2025-07-28 10:41:52 -07:00
Commit Graph

51 Commits

Author SHA1 Message Date
Spencer Janssen
067bda6f29 defaultLayouts -> layouts 2007-10-15 20:55:42 +00:00
Andrea Rossato
6ab50d3f84 Tabbed: haddock fixes 2007-10-13 09:03:42 +00:00
Devin Mullins
0927815c14 doco fix: s/SomeLayout/Layout/g 2007-10-12 02:59:53 +00:00
David Roundy
dcd7388f1b make createNewWindow set background and foreground to a given color.
This means we don't need to draw colors that are this color.  Also
speeds up redrawing, since the X server can do all the drawing on its
own, without talking with xmonad.
2007-10-08 12:52:06 +00:00
Shachaf Ben-Kiki
73c055bd46 Add LANGUAGE pragams
It seems that GHC 6.6 just enables -fglasgow-exts when it sees any LANGUAGE
pragma, so not all of them were added; this patch adds the rest of them, which
is necessary for xmonad to compile in GHC >=6.7.
2007-10-08 02:21:41 +00:00
Andrea Rossato
574cb0baa0 Tabbed and XPrompt updated to lates Extras changes 2007-10-07 16:38:25 +00:00
Andrea Rossato
bac3846853 Tabbed: updated to the last (unannounced) API changes 2007-10-07 07:20:18 +00:00
Andrea Rossato
7e00195c4b Tabbed: check if we really have a window to focus 2007-10-05 11:17:33 +00:00
David Roundy
db1026f6e9 some renaming of classes and data types. 2007-09-29 19:12:38 +00:00
Andrea Rossato
e9365723a8 Make Tabbed use XUtils.releaseFont 2007-10-02 06:27:09 +00:00
Andrea Rossato
39c272d85f Tabbed: updated usage information 2007-10-01 08:22:19 +00:00
Andrea Rossato
3ed5f5cde0 Removed fromIMaybe from Tabbed ad added it to Invisible 2007-09-30 18:19:12 +00:00
Andrea Rossato
d758a8b412 Tabbed: reintroduced shrinker configuration option and removed the unneeded Read instance 2007-09-30 13:19:36 +00:00
Andrea Rossato
33f5c17bab Tabbed: moved string positioning to XUtils 2007-09-30 09:54:41 +00:00
Andrea Rossato
24f28e2ba6 make Tabbed use XUtils 2007-09-29 17:28:23 +00:00
Andrea Rossato
46452ba025 Tabbed: fixed a bug: when only one window is in the stack doLayout must still return a Tabbed (I Nothing) TConf 2007-09-28 22:31:36 +00:00
Andrea Rossato
b5cabd671e Tabbed now uses Invisible 2007-09-28 18:58:08 +00:00
Andrea Rossato
285ade1cbe Tabbed: removed two little bugs due to the mess during the transition (my fault, sorry ;) 2007-09-28 08:55:13 +00:00
Spencer Janssen
de6968d1b4 Use LANGUAGE pragmas over -fglasgow-exts 2007-09-28 18:16:14 +00:00
Spencer Janssen
1593bb54cd Tabbed: give a nice description 2007-09-28 05:26:08 +00:00
Andrea Rossato
91f98540be NewTabbed: after a ReleaseResources we should return Tabbed Nothing... 2007-09-28 01:16:45 +00:00
Spencer Janssen
9609ec3cc3 Move NewTabbed to Tabbed 2007-09-27 23:18:40 +00:00
Spencer Janssen
d562b3c572 Remove Tabbed.hs 2007-09-27 23:10:02 +00:00
Michael Fellinger
0994d187f2 Typo in Tabbed.hs documentation 2007-09-11 02:18:15 +00:00
Alex Tarkovsky
d0adeca94a Docstring parser for generating xmonad build configs with default settings for extensions 2007-09-05 20:01:28 +00:00
David Roundy
3861c22e8b use a little more contrast in default tabs. 2007-07-24 14:37:23 +00:00
Andrea Rossato
9ca82609b4 Tabbed.hs: corrected error in Usage reported by Xavier Maillard 2007-07-17 05:00:34 +00:00
Andrea Rossato
ef0992f291 Tabbed: updated usage information 2007-07-07 06:51:23 +00:00
Andrea Rossato
5f827b68e7 Tabbed: added more configuration options
It is now possible to configure active and inactive border colors, and
active and inactive text colors (i.e. tabs are now very similar to Ion3
tabs: former Ion users may appreciate).
2007-07-06 13:08:45 +00:00
David Roundy
69a55a44bf resolve conflicts in Decoration and Tabbed.
Note that you no longer need simpleStacking when using tabbed.
2007-06-29 20:45:18 +00:00
David Roundy
d3048ed615 make everything work with new doLayout.
This modifies all the contrib modules to work (so far as I know) with the
new contrib layout.  The exception is the LayoutHooks module, which isn't
used.  It exports an API that is inherently unsafe, so far as I can tell
(and always has been).
2007-06-23 21:09:52 +00:00
Jason Creighton
614fec4e8b Tabbed: Make use of the Stack to get focused window 2007-06-27 03:39:10 +00:00
Andrea Rossato
bd050c396c Tabbed.hs: updated usage information 2007-06-25 14:07:35 +00:00
Andrea Rossato
fa57ef76df added configration options and moved font stuff to Decorations.hs
Added a new data type to keep configuration options. tabbed now takes the shrinker and the configuration
type.
Fixed a bug related to vertical alignment of text.
2007-06-25 14:01:12 +00:00
David Roundy
10f20c432e add SimpleStacking module to make Combo and Tabbed work together.
WARNING! This change will break existing Tabbed configurations.  The
problem is that there is no way within a Layout's "doLayout" to safely
modify the layout itself.  This makes LayoutHooks fragile, and more to the
point, makes SimpleStacking fragile, so we can't safely define a

tabbed' = simpleStacking . tabbed

A workaround would have been to duplicate the tabbed code, but I'd rather
leave the ugliness and get this fixed.
2007-06-21 15:15:24 +00:00
joachim.fasting
88d77b244f Fix type signatures.
Think this fixes the rest of the errors caused by the Layout change.
2007-06-19 22:03:23 +00:00
David Roundy
517e3417a7 shrink window names to fit tabs. 2007-06-17 15:23:40 +00:00
Andrea Rossato
0b86826b77 Tabbed.hs: fixed centerText issues and some binding shadowing warnings
This patch fixes the centerText issue due to the inappropriate use of
textExtends and textWidth. Those functions need a FontStruct id to
operate, and this cannot be retrieved with queryFont (see comments in
Graphics.X11.Xlib.Font).
So we now get the FontStruct with loadQueryFont, we set the default
Xorg fonts and we calculate things for (vertical and horizontal)
centering.
It also removes some binding shadows compiler warnings
2007-06-17 10:42:19 +00:00
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