Commit graph

480 commits

Author SHA1 Message Date
markt
09cc0bf6af little cleanup 2007-01-13 18:59:49 +00:00
markt
d2bb60239b remove race condition from workspace warping code 2007-01-07 18:44:46 +00:00
simonb
1cc7b60aa2 per-window transparency, including apps and menu support, plus some
infrastructure and related changes. Thanks for original patch from 
Julien Trolet, dmxen at sourceforge dot net
2007-01-07 11:55:14 +00:00
markt
8db2d4f26e little fix for previous patch to transient window raising 2007-01-06 18:56:50 +00:00
markt
2e438fde2c set active client when raising a transient window 2007-01-05 21:48:42 +00:00
markt
4ffd744f81 window wasn't staying focused when dragging across workspaces with outline window moving 2007-01-05 21:24:37 +00:00
markt
dbe528755e fix window menu placement with toolbar at top of screen, and disable titlebar when doing it 2007-01-05 19:58:44 +00:00
markt
9d5e2f143b add session.screenN.defaultDeco: <bitmask> to the apps file 2007-01-04 19:13:55 +00:00
markt
6d4d17b5f9 little cleanup 2007-01-04 19:02:46 +00:00
markt
3bbcd3540e this seems to be a change that will affect a lot of things,
so it should wait until after 1.0, even though I think it's important
2007-01-04 02:53:26 +00:00
markt
e71346bd50 set IconicState on all unmapped clients, and unmap all clients when set to IconicState
also, a little bug fix for previous commit
2007-01-04 02:15:29 +00:00
markt
1dc07de318 move iconified windows to the end of the focused list for cycling/reverting 2007-01-04 00:11:22 +00:00
markt
5ee7d3e72e update window scroll action and direction on reconfigure 2006-12-31 21:00:46 +00:00
markt
aee80a2424 _FLUXBOX_GROUP_LEFT wasn't being removed on detach, and the correct client in tabbed windows wasn't always being raised on restart 2006-12-20 16:10:02 +00:00
mathias
e5e76e7761 Cosmetic patch from Slava Semushin 2006-10-30 19:31:15 +00:00
markt
db80ce64d7 fix restoring fullscreen windows 2006-08-13 00:51:52 +00:00
markt
6c4dcc679b it never existed (what never existed?) 2006-08-09 04:54:58 +00:00
markt
9b9d5a9617 fix some compiler warnings in gcc 4.1 2006-08-08 19:25:48 +00:00
markt
7b49c4a00b don't call placement strategy on maximized or fullscreen windows 2006-08-05 23:38:41 +00:00
markt
721c02204a a little fix for auto-grouping after restart 2006-08-05 05:21:15 +00:00
markt
1dd5e0143e don't re-apply remembered settings on restart if they are set as window properties 2006-08-04 21:43:47 +00:00
markt
fc550ba2e0 whoops 2006-07-30 23:58:08 +00:00
markt
f031de3c32 little cleanup, remove FluxboxWindow::isInitialized() 2006-07-30 23:50:43 +00:00
markt
f66d91cf22 2006-07-29 06:28:58 +00:00
markt
14efe686cd added resource and menu item for maximizing over tabs 2006-07-26 01:22:42 +00:00
markt
be2f40a10d use a timer to make sure focus always reverts if possible 2006-07-23 09:51:54 +00:00
markt
def26c19e5 fix restacking while cycling 2006-07-23 01:41:37 +00:00
markt
f9ade8947c properly revert focus when two windows close at the same time 2006-07-20 07:15:59 +00:00
markt
f4d1af1208 keep tabs in same order on restart (except some extremely unlikely cases) 2006-07-20 03:25:28 +00:00
markt
155cf7aa61 whoops 2006-07-19 08:07:08 +00:00
markt
a7da03c022 a little code simplification 2006-07-13 04:48:03 +00:00
markt
7a79953f04 fix detach focus again 8) 2006-07-09 06:51:28 +00:00
markt
8a640f8d63 setting focus the right way 2006-07-09 04:45:02 +00:00
markt
2de7a0b821 use auto-raise for attached window 2006-07-06 04:32:42 +00:00
markt
84ca1f2e2f re-fixing the focus after fixing the crash bug 2006-07-06 04:10:34 +00:00
simonb
c3846743fb fix some sizing issues with gravity fixes 2006-07-04 13:20:04 +00:00
markt
1cc6cc4b15 new windows don't steal focus from fullscreen windows 2006-07-04 06:42:28 +00:00
simonb
12e80f3faf fix gravity 2006-07-03 17:18:17 +00:00
markt
6f2a566206 more focus issues with linear cycling and tabbed windows 2006-06-28 19:17:38 +00:00
markt
c5c316e09b one more focus issue on detach 2006-06-28 01:02:57 +00:00
markt
03631ca98e Fix some focus issues on detach and restart 2006-06-28 00:54:40 +00:00
simonb
6e60c53ae7 fix _NET_FRAME_EXTENTS 2006-06-26 11:45:14 +00:00
markt
ee02bc2258 Fix FocusHidden (added m_focus_hidden to FluxboxWindow) 2006-06-26 05:52:30 +00:00
markt
87e401edf6 Fix DetachClient key command so new window is visible 2006-06-25 06:18:41 +00:00
markt
a23ad67197 Make Urgency Hint flash the correct WinClient's tab. 2006-06-24 18:19:49 +00:00
mathias
dedbd7e468 Added patch from Jim Ramsay (i dot am at jimramsay dot com) to freely
define the used modkey.

Added new action SetModKey too
2006-06-22 07:46:12 +00:00
simonb
94db19c007 Fix window placement when apps remembers size but not location 2006-06-19 23:09:51 +00:00
simonb
aaf3651830 try ignoring NotifyUngrab to fix focus revert issues when closing
unmanaged windows that grab pointer
2006-06-19 12:57:16 +00:00
fluxgen
85f45be727 added support for _NET_WM_WINDOW_TYPE_DIALOG and _NET_FRAME_EXTENTS 2006-06-18 21:23:24 +00:00
fluxgen
331a52115d support for _NET_WM_MOVERESIZE 2006-06-11 13:09:44 +00:00
simonb
8bcd03c172 issue with maximise and quadrant resize 2006-05-16 13:37:25 +00:00
fluxgen
bd1221a5b2 fixed some redraw issues with the title, thanks _markt 2006-05-13 19:29:55 +00:00
fluxgen
98db6c7128 added new signal, attentionSig(), will notify listeners when this window demands attention 2006-05-13 16:20:38 +00:00
simonb
520f552be7 handle utf-8 strings properly.
use utf8 internally
2006-05-07 03:41:27 +00:00
simonb
4d6e5e3f1c resize and notify client when autogrouping 2006-04-26 12:34:24 +00:00
simonb
acf4326f3c Use -Wall when --enable-debug and some warning fixes
+ thanks Jonas Koelker
2006-04-24 14:29:21 +00:00
simonb
97c89e64b3 focus a window if it's the only one.
Thanks Jonas Koelker
2006-04-23 09:58:49 +00:00
simonb
853b034037 mouse focus fixes - thanks Scott Kuhl: skuhl AT cs utah edu 2006-04-19 06:55:14 +00:00
simonb
b9af026688 iconbutton handling fixes 2006-04-17 23:34:01 +00:00
simonb
553104ee1d fix all compiler warnings with -Wall 2006-04-16 11:18:22 +00:00
simonb
0780952b10 fix window button image updates 2006-04-14 14:22:16 +00:00
mathias
48579408d1 situation: a maximized xterm changes its size (coz the user changes the font).
after unmaximizing the window it snaps back to its old values .. which are not
in sync with the sizehints anymore. hence we need to apply them for maximizing
/ unmaximizing and unfullscreen to avoid ugly visual appearance.
2006-04-11 19:55:24 +00:00
fluxgen
894a7148be size_t fixes, thanks Semushin Slava aka php-coder 2006-04-02 21:37:44 +00:00
simonb
5e22dcd9ff more external tab work, tidying and tab width config option 2006-03-22 13:06:00 +00:00
simonb
fe4a7db228 external tabs features and bugfixes 2006-03-22 12:23:17 +00:00
simonb
f2d3fff4d4 external tabs 2006-03-20 11:31:24 +00:00
fluxgen
bdc74e7995 We now create titlebar resource session.screen<num>.titlbar.left/right on the fly here instead of fluxbox.cc 2006-03-18 21:58:24 +00:00
fluxgen
369b4e1b92 moved class Layer from class Fluxbox and thus reduces some dependecies 2006-02-20 21:04:35 +00:00
fluxgen
6d42d1cf5e Added center resize. Resizes all corners at the same time. 2006-02-19 12:50:01 +00:00
fluxgen
98209ba704 FbWinFrame should not depend on class Fluxbox 2006-02-19 11:44:57 +00:00
fluxgen
5ceacc6592 moved all focus handling to FocusControl 2006-02-18 20:19:22 +00:00
fluxgen
4d52797b95 moved all focus handling to class FocusControl 2006-02-18 11:39:38 +00:00
mathias
ae05ad9a01 updated copyright info 2006-02-16 06:53:05 +00:00
mathias
f803d8f250 applied patch from php-coder to fix some warnings, mostly signed vs unsigned
issues
2006-01-16 18:46:39 +00:00
fluxgen
3d012e07a1 unused headers 2006-01-03 18:21:27 +00:00
fluxgen
05ac62be90 removed unused variable 2005-12-22 23:40:36 +00:00
fluxgen
37a435f1d7 indentation 2005-11-22 21:00:07 +00:00
mathias
4dec832b6b Fixed reordering of tabs, patch from Rob Stevens 2005-10-19 04:46:05 +00:00
mathias
42afb46169 avoid drawing the resize outline when not really resizing, caused flickering. 2005-10-04 07:19:56 +00:00
mathias
15c21ed267 reverted last change .. the problem of the user must be handled differently... never commit after 3 hours of sleep again. 2005-09-16 15:20:26 +00:00
mathias
3a0d8391f8 LeftMouseButton should always setInputFocus() to avoid focus problems
when changing the active window via NextWindow/PrevWindow and then
not beeing able to set the focus of the window underneath the mouse
with a simple click again (in MouseFocus - mode). Suggestion via
mail to devel-ml from Eike von Seggern
2005-09-16 05:58:26 +00:00
simonb
013b07900b tweak last patch for titlebar scroll options 2005-09-08 00:41:05 +00:00
simonb
070a216aa8 Add titlebar scrolling options (thanks Krzysiek Pawlik <krzysiek.pawlik__AT__people.pl>)
New init options added:
  session.screenN.windowScrollAction: Shade|NextTab
   - set the action that happens when scrolling on the titlebar
  session.screenN.windowScrollReverse: true|false
   - reverse the action direction
2005-09-07 16:46:17 +00:00
mathias
cfb26be269 added feature request #1084510:
when mod1 + leftmouse are clicked on a window and the mouse is not
moved, the window is raised at leftmouserelease. i dont think we
need an extra option for that since its very unobtrusive but neat
to have.
2005-09-04 21:22:09 +00:00
mathias
7b21abc421 Fix for #1240248, Segfaults for :MoveTabLeft/Right
wrong code in Container.cc
2005-07-25 23:17:41 +00:00
mathias
460dffdcc1 Changed some *Focus options, just to make some things a bit more clear.
the "Sloppy" was always a bit .. unprecise.

removed SloppyFocus, SemiSloppyFocus and ClickToFocus options
added MouseFocus, ClickFocus, MouseTabFocus, ClickTabFocus
- MouseFocus - change the focus to the window under the mouse
  (almost similar to the 'old' SloppyFocus)
- ClickFocus - change the focus to the window the user clicks
- MouseTabFocus - change active tabclient to the one under the
  mouse in titlebar, does NOT change the focus
- ClickTabFocus - change active tabclient when clicked onto a 
  tabbutton
to achieve former SemiSloppyFocus behavior one needs MouseFocus and
ClickTabFocus
2005-07-20 18:29:01 +00:00
mathias
3e16ad8cf8 When the screen is filled with windows it can be pretty hard to find a "valid"
area to drop a tab button to detach the client from the group. solution is to
detach the client if the tab button is dropped onto the client area of the
same group.
2005-07-13 18:41:38 +00:00
fluxgen
1727656e0a cleaning, change getCount to numberOfWorkspace 2005-07-04 18:18:32 +00:00
fluxgen
4382b78b95 minor fix for window menu 2005-06-23 22:39:03 +00:00
fluxgen
5373f6d840 moved window menu from FluxboxWindow to BScreen 2005-06-23 03:07:25 +00:00
simonb
c912f7a32a fix handling of shaded and iconic windows, particularly on restart 2005-06-19 15:40:43 +00:00
simonb
3fd472679d revert 4055, caused crashes plus it should be done differently 2005-06-19 14:06:34 +00:00
mathias
019da77c56 Fixes #1116965, shadwd windows on restart:
shaded icons behaved badly on restart, they went into a real stupid state:
somehow shaded, but at the same time iconic, so you werent able to unshade,
resize them properly.

i fixed that by applying NormalState on shutdowntime (see
FluxboxWindow::restore(), unshading a shaded frame to get good
window dimensions and on init() i mark the window initialized and connect it
to Fluxbox::attachSignals() a bit later.
2005-06-18 13:47:36 +00:00
mathias
4338fbec76 Added new Buttons for the Titlebar of a Window (Mathias)
- Shade - just like the "Stick"-button
  Styleresources:
    window.shade.pixmap, window.shade.unfocus.pixmap, window.shade.pressed.pixmap
    window.unshade.pixmap, window.unshade.unfocus.pixmap, window.unshade.pressed.pixmap
    etc.
- MenuIcon - click on it provides the windowmenu, if the app
  contains a pixmap (gvim, konqueror etc etc) the pixmap is displayed, a
  little menu otherwise. 
  Styleresources:
    windowmenu.pixmap, windowmenu.unfocus.pixmap windowmenu.pressed.pixmap
    etc.
Example ~/.fluxbox/init - entry:
  session.titlebar.left: MenuIcon Stick
  session.titlebar.right: Shade Minimize Maximize Close


hint: if the app HAS a pixmap i use window.title.focus.pixmap (look
WinButtonTheme for reference)in pixmap-based-styles. this looks excellent and dont need 
much extra-code to pipe that info into WinButtons.
2005-05-06 18:04:14 +00:00
fluxgen
575578d810 minor fix 2005-05-03 09:53:13 +00:00
fluxgen
1bf17f9c32 using associateClient to create new tab and map it to labelbuttons 2005-05-03 09:28:05 +00:00
fluxgen
86ee497b55 more compose and select2nd 2005-05-02 18:55:36 +00:00
fluxgen
dce0e2e40c using Select2nd 2005-05-02 12:10:01 +00:00
fluxgen
d3362370f5 cleaning, create and delete tabs with FbWinFrame createTab/removeTab 2005-05-02 01:17:08 +00:00
fluxgen
40d026ff99 transient window fix 2005-04-29 02:49:24 +00:00