Commit graph

487 commits

Author SHA1 Message Date
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
simonb
e57a30f664 fix systray client sizing 2005-04-26 04:18:10 +00:00
simonb
1c2f92a3d2 extension of previous big patch. Move a bunch of menu things onto
background pixmap. Same for textbuttons.
2005-04-26 01:41:55 +00:00
mathias
d1876666c9 clear the maximized-Flag from a resized/moved Window ... a moved or resized
Window is not maximized any longer per definition imho. maybe we need to apply
the same policy to the fullscreen-State
2005-04-22 17:21:30 +00:00
mathias
ebad1ce12f fixes a little bug with snapping to windows which have a border only.
such windows dont have DECORM_ENABLED and hence no borderwidth was 
added to the calculation. thats fixed now
2005-04-18 15:27:59 +00:00
mathias
a98bd2c128 closes #1170056, Moving tab beyong last right tab causes malfunction 2005-04-15 14:41:32 +00:00
simonb
88c66f0687 Big changes to how transparency works
Consequently rearrange lots of rendering ops, and strip calls to 
updateTransparent
2005-04-10 18:18:14 +00:00
mathias
d6befe5371 fix for gravity field on _NET_MOVERESIZE_WINDOW messages, patch from Rob Stevens <stever3 at nycap dot rr dot com> 2005-03-16 23:19:36 +00:00
mathias
cf46669bc1 copyright date 2005-01-24 18:34:57 +00:00
mathias
6f53cc5120 cosmetic 2005-01-20 23:48:24 +00:00
simonb
c89d54205f fix tab detach - the window wasn't shown after attachTo 2005-01-20 22:41:34 +00:00
mathias
4f9370cafa copyright 2005-01-14 09:42:07 +00:00
mathias
51f30a5a63 forgotten debug-stuff 2005-01-10 08:56:11 +00:00
simonb
6c710ba374 fix position init from atom handlers 2005-01-10 08:10:17 +00:00
simonb
83224b7f55 fix up window initialisation ordering 2005-01-05 05:37:06 +00:00
simonb
61bb3f039a fix some initialisation, especially relating to placement and
decoration/handler hints
2005-01-04 10:51:38 +00:00
mathias
fdc9b5adb7 fixed #996298, maximized windows and snapped windows dont respect
toolbar-borderwidth

further more windows do snap at screen-edges, no matter if maxover
is enabled or not
2005-01-03 05:00:39 +00:00
fluxgen
a0340e73a7 fixed shape bug 2004-12-28 22:21:15 +00:00
mathias
ad10a3543e fix a problem with enabling/disabling fullscreen-mode in gtk2-apps
* synchronize _NET_WM_STATE in Ewmh.cc
 * added FluxboxWindow::setFullscreen(bool) to Window.cc

furthermore, if a window is in fullscreenmode any existing shape is 
disabled (looks pretty annoying in mplayer for example)
2004-12-21 16:17:14 +00:00
mathias
2095468fe6 applied patch from Rob Stevens:
fixes dragNdrop ordering of tabs so next/prevtab are not
  confused -> modification of m_clientlist
2004-12-13 12:17:58 +00:00
mathias
916781f10f maximizing a shaded window should unshade it before .. the user WANTS to see
it.

closed #1082671
2004-12-10 03:33:23 +00:00
mathias
c8d71542dc adds "kill" to the windowmenu
closes #1075142
2004-11-30 01:26:00 +00:00
mathias
65f4f32366 patch from Rob Stevens to add dragndrop-reordering of the tabs
disable title of the windowmenu when called from titlebar
2004-11-24 23:28:10 +00:00
fluxgen
50ab0a1e55 do not handle configure request while iconified, fixes problem Wine with Paradise Poker client 2004-11-22 12:16:15 +00:00
mathias
993c17cf2e svn propset svn:keywords "Id" 2004-11-19 11:37:27 +00:00
akir
5225cf192f fixed a problem with the snapping-windows code:
decorationless windows have a borderWidth of 0 and thus the
  snapping was calculated wrong.
2004-11-07 09:30:59 +00:00
akir
14b781929e fix 1052095, windowmenu doesnt close when tabs are changed (closed,new attached or dragged around) 2004-10-28 19:13:30 +00:00
akir
b44cd19809 not all compilers have __FUNCTION__ (mipspro) 2004-10-21 10:38:25 +00:00
akir
2760b03b2e cosmetic changes, added ResizeModel to ScreenRessources 2004-10-18 01:24:24 +00:00
akir
65ce32a28e made iconic and shaded windows not resizable 2004-10-17 21:40:15 +00:00
rathnor
9128a64e62 don't require [begin] in included files 2004-10-04 15:37:58 +00:00
akir
be19b59d0f title of current tab-window is now shown in the iconbar-buttons 2004-09-30 18:45:26 +00:00
rathnor
7d793fc6a8 fix issues that resulted in unnecessary X errors 2004-09-11 12:33:14 +00:00
rathnor
d17bf39a43 add autoconf check for std c++ headers 2004-08-31 15:26:40 +00:00
rathnor
ef9565efd8 fix crash bug when windowmenu doesn't include extramenus
improve checking of existence/success of loading windowmenu file
2004-08-29 12:35:29 +00:00
fluxgen
a3a59fedc0 fixed slow resize of xmms playlist, we called setupWindow in XA_WM_NORMAL_HINTS even when didnt have to 2004-08-13 12:39:02 +00:00
fluxgen
f223711cf1 fixed so we call setupWindow last in init(), else we dont get anything in the titlebar if we dont have some special option like remember enabled 2004-08-10 19:18:48 +00:00
fluxgen
5f819e8537 some debugmessages and minor fixes 2004-08-10 12:05:47 +00:00
fluxgen
38bd7f47d9 click on handle raises, and some other minor fixes 2004-07-15 18:20:13 +00:00
rathnor
6afbecdada fix rectangle drawing on attaching tabs 2004-06-29 12:41:23 +00:00
rathnor
9b7775751d support _NET_WM_WINDOW_TYPE_DESKTOP (e.g. nautilus desktop windows)
Allow FluxboxWindows to be untabable.
2004-06-20 04:49:33 +00:00
rathnor
4589ecdbbc fix initialisation of state when a window is first mapped 2004-06-19 15:04:28 +00:00
fluxgen
0fba4bfafe minor stuff 2004-06-07 21:48:14 +00:00
rathnor
fff4456dee update NLS string handling... 2004-06-07 11:46:05 +00:00
rathnor
9069ae0d80 fix up a number of things for when a window hides while moving,
including a crash bug
2004-05-13 01:48:18 +00:00
rathnor
a969d7fdff tweak the remap fix. Scott pointed out that the xevent isn't actually
filled in there. Lets try it just checking !remap...
2004-05-03 13:45:23 +00:00
fluxgen
49162b5bf5 using MenuCreator to create window menu 2004-05-02 21:08:28 +00:00
rathnor
73d2e5b7da missed a touch in the reparent thing 2004-04-30 13:48:58 +00:00
rathnor
386b9d034b reparent tweak 2004-04-30 13:11:40 +00:00
fluxgen
09eade65d5 attach area, patch from Mathias Gumz 2004-04-22 21:07:57 +00:00
fluxgen
23d9630f07 fixed remember on decoration when we get mwm hint event, patch from Mathias Gumz 2004-04-18 21:17:36 +00:00
rathnor
cd5f6a81cf revert to sync grab for now 2004-04-14 16:38:33 +00:00
rathnor
cf2b24b645 fix the hang some more, hopefully final 2004-04-14 15:40:57 +00:00
rathnor
0b8592b203 hopefully fix strange hang, plus tab drag fixes 2004-04-14 15:17:20 +00:00
fluxgen
e828391b1c hide window menu if click on another window, patch from Mathias Gumz 2004-04-12 23:05:10 +00:00
fluxgen
9502426e73 fixed grab counting 2004-04-12 18:19:10 +00:00
fluxgen
674bc07948 fixed decoration bug with MOTIF_WM_HINTS 2004-03-31 10:28:08 +00:00
fluxgen
3012463167 fixed java-menu bug, patch from Scott Moser 2004-03-30 14:31:30 +00:00
fluxgen
209ba75bac optional decoration of transient windows, patch from Scott Moser 2004-03-30 13:48:38 +00:00
fluxgen
2fc1981725 fixed window snapping with screen 2004-03-28 17:48:20 +00:00
rathnor
dea3281e69 primarily focus fix/tweak/rejigging 2004-03-21 09:00:25 +00:00
rathnor
bc8a31d405 fix passing of focus when grouping 2004-03-08 12:20:31 +00:00
rathnor
f9fbd86c75 fix outline moving windows being dropped on their own workspace 2004-03-03 12:29:31 +00:00
fluxgen
3c78d753c0 fixed focus issues with remember hidden, patch from Mathias Gumz 2004-02-20 09:07:27 +00:00
fluxgen
42e698e19c fixed bug in no decoration windows on restart 2004-02-16 09:19:45 +00:00
rathnor
e56c3c5b44 fix some issues with window frame that happened when changing style 2004-01-23 10:38:25 +00:00
fluxgen
9c80af4b78 copyright update 2004-01-21 15:42:59 +00:00
fluxgen
5a54e1a546 state sig notify when hidden value changes 2004-01-19 18:32:12 +00:00
fluxgen
eb078ab8cf support for _NET_WM_STATE_HIDDEN and _NET_WM_STATE_SKIP_TASKBAR 2004-01-18 19:14:08 +00:00
fluxgen
cd9d9941e6 minor fixes, fixed popupMenu position if m_last_button_x is outside window 2004-01-17 00:49:20 +00:00
fluxgen
5a24731d3a different window for position coordinates, patch from Junichiro Kita 2004-01-16 11:58:45 +00:00
fluxgen
b7cd0599ae windowmenu command, patch fomr Junichiro Kita 2004-01-16 11:41:38 +00:00
fluxgen
3ecca36129 using num, scroll and capslock mask from KeyUtil. Using use_mod1 resource 2003-12-31 00:36:16 +00:00
fluxgen
3490c73f57 fixed focus issue 2003-12-30 20:56:41 +00:00
fluxgen
33d0a6025c sync after input focus 2003-12-21 23:23:03 +00:00
fluxgen
a151145500 minor fix for setCurrentClient and focused label 2003-12-21 16:23:19 +00:00
rathnor
dfdb8219fa more sloppy focus fixing 2003-12-21 15:24:28 +00:00
fluxgen
bb02a522fb code cleaning 2003-12-18 18:03:23 +00:00
fluxgen
521932e0a2 move client to drop zone when detaching client to root window 2003-12-14 01:06:22 +00:00
fluxgen
602115fe9c removed next prev client from menu 2003-12-12 14:59:16 +00:00
fluxgen
94747da13c separator in menu 2003-12-10 23:32:41 +00:00
fluxgen
5ffb6290c1 cleaning in the menu code 2003-12-10 23:08:06 +00:00
fluxgen
cb8e8e8d05 fixed geometry bug 2003-12-10 22:28:07 +00:00
fluxgen
b8c1d3e5ee title change signal 2003-12-07 17:47:42 +00:00
fluxgen
29beda2d6b sync function 2003-12-04 21:31:02 +00:00
fluxgen
d937beae9e send to menu 2003-11-27 22:02:28 +00:00
fluxgen
f4ce6f226c fixed multi button menu item for maximize item 2003-11-27 14:31:28 +00:00
rathnor
d757c08e00 some menu tweaking 2003-11-19 12:57:27 +00:00
rathnor
f5f979ef37 make client windows only reparented one below toplevel - i.e. not into
clientarea
2003-10-28 02:17:03 +00:00
fluxgen
5cdb896772 some extra checks 2003-10-26 20:59:07 +00:00
rathnor
dda34421a3 fix shape - all menus shaped, and some weird shape bugs 2003-10-06 06:22:43 +00:00
rathnor
9a155ea7b5 fix window size when changing titlebar height 2003-10-05 09:03:43 +00:00
rathnor
fa4328d862 make doFocusLast work for sloppy focus as well 2003-10-05 02:31:23 +00:00
rathnor
158b515e21 address some memory issues shown up with valgrind 2003-10-02 16:14:41 +00:00