Commit graph

62 commits

Author SHA1 Message Date
Pavel Labath
129bac1e0f Convert Focusable::dieSig to FbTk::Signal 2011-05-10 13:00:45 +02:00
Mathias Gumz
e850b01919 compile fix: sunCC 5.11 (sunstudio 12) compiles and links again
biggest change: renaming of 'class Layer' to 'class ResourceLayer' in
Layer.hh to handle complaints about 'ambiguous Layer: Layer or FbTk::Layer'.
'ResourceLayer' sounds crappy, but that was the best I could come
up with right now.
2011-03-23 12:02:15 +01:00
Mathias Gumz
faa4c97888 added 'SetXProp' action and (@PROP=foo) clientpattern
these two allow 'tagging' of arbitrary windows with 'tags' (or 'labels'). such 'tagged' windows can then be used in ':NextWindow (@PROP=foo)' commands to quickly cycle through a subset of available windows.
since the 'tags' are applied as real xproperties to a window they survive a restart of fluxbox or even another windowmanager. the user can also set the tags by using xprop(1).

the next step regarding the UI should be to visualize the tags of a window.
2010-09-11 17:09:07 +02:00
Mathias Gumz
77f39235cf added FbTk::Util::clamp() and simplified related code 2010-09-09 15:31:54 +02:00
Mathias Gumz
bc2b21547b implemented 'ActivateTab' action to (re)allow activation of tabs via mouse 2010-08-20 19:01:25 +02:00
Mathias Gumz
a443d46117 bugfix: resizing/moving a maximized window via keys do not end maximization state (#2980313) 2010-05-06 20:09:59 +02:00
Mathias Gumz
46261a8284 implemented 'MoveN' and 'ClickN' support in keys file.
the hardcoded 'OnTitlebar Mouse1 :Raise' (see Window.cc, FluxboxWindow::buttonPressEvent())
is disabled for now, should be added to fluxbox-update_configs
2009-12-18 08:05:07 +01:00
Mathias Gumz
078438e993 compile fix: missing headers (sun compiler complained about) 2009-10-01 08:41:04 +02:00
Mathias Gumz
884db973bb cosmetic fixes: removed redundant ';' + some whitespaces 2009-09-30 21:02:24 +02:00
Mark Tiefenbruck
5f9f2475b7 make Raise/LowerLayer accept integer argument for number of layers, default 2 2009-06-28 10:15:06 -07:00
Mark Tiefenbruck
ea9f80399b fix crash when trying to set the title on a window that's already closed 2008-09-18 11:15:15 -07:00
Mark Tiefenbruck
55fd49614b move FbWinFrame::State class to a new file 2008-08-27 13:05:49 -04:00
Mark Tiefenbruck
0116a83aa6 add SendToNextHead/SendToPrevHead commands, plus some cleanup in CurrentWindowCmd 2008-08-21 03:22:57 -07:00
Mark Tiefenbruck
74df0fcda9 add SetDecor key command 2008-08-20 03:22:51 -07:00
Mark Tiefenbruck
18ae02875f fix :Focus <pattern> when all windows are minimized 2008-08-18 15:20:16 -07:00
Mark Tiefenbruck
37b18a9694 combined code for saved window positions and MoveTo key command
added left, right, top, and bottom center reference points
2008-08-18 05:12:30 -07:00
Mark Tiefenbruck
a23778a44d add SetTitle and SetTitleDialog key commands 2008-08-17 04:10:17 -07:00
Mark Tiefenbruck
80059c6dae move size hints to a struct 2008-08-15 04:02:14 -07:00
Mark Tiefenbruck
22aa93c56d fix the Focus key command 2008-08-05 05:00:48 -07:00
Mark Tiefenbruck
24bea22035 add SetLayer key command 2008-08-05 00:05:21 -07:00
Mark Tiefenbruck
9f2f65a698 make FbTk::Command a template class, split parsing information out of ObjectRegistry 2008-01-10 23:41:22 -08:00
Mark Tiefenbruck
9c105111d2 remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
Mathias Gumz
04cd2fd14c removed some unneeded headers 2007-12-30 16:32:53 +01:00
Mark Tiefenbruck
1f5cd12fac simplify the window transparency menu and handling a bit 2007-12-26 20:42:10 -08:00
Mark Tiefenbruck
0a14d911c6 added key command StartTabbing 2007-12-20 23:07:46 -08:00
Mark Tiefenbruck
8516f1e2a2 changed CommandRegistry to a template class, renamed to ObjectRegistry<Type> 2007-12-15 19:36:01 -08:00
markt
8b7464046c added FbTk::CommandRegistry, decentralized command parsing, and made them auto-register 2007-12-13 05:48:00 +00:00
markt
0a7cb3db1f use winclient instead of fluxboxwindow for matching, and removing old code 2007-11-22 04:41:36 +00:00
markt
675bc5d66a added conditional statements to keys file 2007-11-22 04:07:57 +00:00
markt
1c05af4329 allow remembering minimized, maximized, and fullscreen state 2007-10-23 17:34:30 +00:00
markt
c6a2605d76 replaced ModKey with new key commands StartMoving and StartResizing 2007-10-22 17:45:39 +00:00
markt
72130f350e add OnWindow modifier to keys file 2007-10-15 18:05:28 +00:00
mathias
79cd21ce0f bugfix for SendToPrevWorkspace/TakeToPrevWorkspace, destination was calculated
wrong due to (wrong) implicit casting effects
2007-10-14 17:11:38 +00:00
markt
a59428d67a merged changes from pre-devel 2007-10-13 21:51:37 +00:00
markt
562fa26423 minor usability fix for :Tab command and fixed handle rendering when switching from a style without them 2007-07-02 05:26:32 +00:00
markt
2b25b05b27 added SetAlpha key command 2007-02-02 19:04:57 +00:00
markt
09cc0bf6af little cleanup 2007-01-13 18:59:49 +00:00
markt
81c650c63e add support for negative arguments to :Tab 2006-08-03 18:39:32 +00:00
markt
c929da4054 replacing some instances of focusedWindow()->fbwindow() with focusedFbWindow() 2006-07-12 00:08:57 +00:00
mathias
dc53283060 * cosmetics to Workspace.hh CurrentWindowCmd.cc
* added first draft of new docs in asciidoc format, needs to be converted
  properly to roff-format, right now its just a temporary "home"
* rename of Coding_style to CODESTYLE
2006-04-22 07:03:58 +00:00
fluxgen
5ceacc6592 moved all focus handling to FocusControl 2006-02-18 20:19:22 +00:00
mathias
ae05ad9a01 updated copyright info 2006-02-16 06:53:05 +00:00
mathias
56580b2321 respect border size in the MoveTo action, especially at the right and lower
border of the screen.
2005-07-05 21:57:33 +00:00
fluxgen
1727656e0a cleaning, change getCount to numberOfWorkspace 2005-07-04 18:18:32 +00:00
mathias
d69e300376 Enhanced MoveTo, fixes #1074568
MoveTo <int|*> <int|*> <Reference Corner>
   - * means "use current value"
   - Reference Corner is one of:
     - UpperLeft, Upper, UpperRight
     - Left, Right
     - LowerLeft, Lower, Right
   examples:
     MoveTo 0 * Left       -> snap to left workspace edge
     MoveTo * 0 Lower      -> snap to lower workspace edge
     MoveTo 0 0 UpperRight -> snap to upper right workspace corner
TODO: perhaps add some "aliases" to make it more userfriendly
2005-06-15 15:17:48 +00:00
mathias
cdc4338c6b Fixes #1213003, SendToWorkspace shouldnt follow
SendToWorkspace and the rest are putting the window onto the new workspace
silently, TakeToWorkspace warps to the new workspace with the window.
2005-06-15 09:48:46 +00:00
mathias
12dff3d3a9 added "Fullscreen" - command, removes borders and maximizes to
the full screen ... hence the name :)
2005-03-23 20:36:12 +00:00
mathias
cf46669bc1 copyright date 2005-01-24 18:34:57 +00:00
mathias
6dffafc39e * added new command:
sethead <int>

  which sets the current window to head<int>

* added remembering of the head to apps-file:
    
   [Head] {<int>}
2004-12-21 16:09:36 +00:00
fluxgen
6ba7744f65 Tab command, thanks Steeve Lennmark, steeve dot lennmark at mediasvar dot se 2004-12-10 09:49:01 +00:00