Andrea Rossato
c5a57f337e
Decoration: remove mouse resize and more
...
- since mouse resize is not related to decoration, I removed the code
from here. Mouse resize will be handled by a separated layout
modifier (in a separated module)
- now also stacked decoration will be removed (I separated insert_dwr
from remove_stacked)
2008-02-12 16:53:06 +00:00
Andrea Rossato
0d69127db5
Decoration.hs: variable names consistency only
2008-02-11 12:30:56 +00:00
Andrea Rossato
7ffe391d6c
Decoration: DecorationStyle class cleanup and focus/drag unification
...
- moved decoEventHook to decorationEventHook
- added decorationMouseFocusHook, decorationMouseDragHook,
decorationMouseResizeHook methods
- added a handleMouseFocusDrag to focus and drag a window (which makes
it possible to focus *and* drag unfocused windows too
2008-02-11 11:36:50 +00:00
Andrea Rossato
041f12f21d
Move DefaultDecoration from DecorationMadness to Decoration
2008-02-10 10:43:04 +00:00
Andrea Rossato
29093c6493
Decoration: change mouseEventHook to decoEventHook and more
...
Fix also the problem with window's movement when the grabbing starts
2008-02-09 16:51:01 +00:00
Andrea Rossato
b8cf0d0694
Decoration: enable mouse dragging of windows
2008-02-08 08:36:02 +00:00
Andrea Rossato
7f5d86009d
Decoration: add a mouseEventHook methohd and move mouse button event there
2008-02-08 07:35:14 +00:00
Andrea Rossato
8578cf419a
Decoration: consistency of variable names
...
Since the configuration is now called Theme, the variable 'c' is now a
't'
2008-02-07 19:14:42 +00:00
Andrea Rossato
2170415689
Decoration: add a SetTheme message and releaseResources
...
...which should make it harder to forget to release the font structure.
2008-02-07 18:40:48 +00:00
David Roundy
a19af8a4f0
enable button click for focus in tabbed.
...
Note that this patch doesn't work with
Thu Dec 27 03:03:56 EST 2007 Spencer Janssen <sjanssen@cse.unl.edu >
* Broadcast button events to all layouts, fix for issue #111
but this isn't a regression, since button events have never worked with
tabbed and this change.
2008-02-04 01:05:36 +00:00
David Roundy
dc81032fa8
in Decoration, remove windows that are precisely hidden underneath other windows.
...
This is needed for WindowNavigation to work properly with the new
Decorations framework.
2008-02-04 00:54:13 +00:00
Andrea Rossato
3b04fd4235
Make LayoutHints a decoration aware layout modifier
2008-01-31 08:23:14 +00:00
Spencer Janssen
dfa3a4ee01
Various decorations related updates
...
* remove deprecated TConf stuff
* Remove 'style' from DeConf
* Change DeConf to Theme
* share defaultTheme across all decorations
2008-01-30 06:46:24 +00:00
Andrea Rossato
97acd14ed5
Decoration: the fontset must be released even when we don't decorate the first window
...
This is quite an old bug! It affected Tabbed since the very beginning..;)
2008-01-28 00:44:11 +00:00
Andrea Rossato
beea8ab5d8
Decoration: I forgot we need to release the fontset too!
2008-01-27 23:35:21 +00:00
Andrea Rossato
700944720b
Decoration: after deleting the windows we must update the layout modifier
...
Thanks to Feuerbach for reporting this.
2008-01-27 23:18:15 +00:00
Andrea Rossato
de40bee12f
Add SimpleFloat a very basic floating layout that will place windows according to their size hints
2008-01-26 20:54:10 +00:00
Andrea Rossato
a7bc2bf88e
Decoration: code formatting only
2008-01-26 10:13:54 +00:00
Andrea Rossato
6a6a09a991
Add Decoration, a layout modifier and a class for easily writing decorated layouts
2008-01-25 15:17:26 +00:00