Commit graph

3447 commits

Author SHA1 Message Date
markt
07a3b3939b clicking on the edge of a button didn't work 2007-02-04 18:41:08 +00:00
markt
2f4d0f6cde revert svn 4684, transparency in window buttons 2007-02-02 19:10:58 +00:00
markt
2b25b05b27 added SetAlpha key command 2007-02-02 19:04:57 +00:00
markt
de9ac12895 another little fix 2007-01-27 22:11:22 +00:00
fluxgen
bbcfc75cc9 minor cleaning 2007-01-27 20:34:57 +00:00
fluxgen
a8003ba2c0 minor cleaning 2007-01-27 20:34:16 +00:00
markt
d446ba265a bunch of cleanup, little bug fixes 2007-01-27 18:06:28 +00:00
markt
c0bfde4aca fix some crashes with empty menus, and fixed default workspace names 2007-01-26 21:57:43 +00:00
markt
e35670d4a6 opening window on different workspace should put it at front of focused list with focusnew 2007-01-26 17:21:44 +00:00
markt
46fff8bf34 little cleanup 2007-01-26 17:18:14 +00:00
markt
0f07f98ae2 don't raise windows above OverrideRedirect windows, or else they eventually get restacked on the bottom 2007-01-25 18:09:11 +00:00
markt
69bac5d56f detect shell from environment variable 2007-01-24 17:13:16 +00:00
markt
240ebcb30a allow transparency in window buttons 2007-01-21 19:04:01 +00:00
markt
9253709100 don't move window frame when closing tab with non-northwest gravity, just the client 2007-01-21 18:45:32 +00:00
markt
feb56381d7 various changes to menu behavior 2007-01-21 18:43:22 +00:00
markt
5503545d8f use uppercase arguments to fbsetbg from styles 2007-01-20 19:32:53 +00:00
markt
832dba7d16 let styles override rootCommand in init, plus removing some code I accidentally left in 2007-01-20 18:26:55 +00:00
markt
9de41b30be minor changes for cascade placement 2007-01-20 18:24:55 +00:00
markt
a8e3f500c2 right click on iconbutton toggles menu 2007-01-16 16:25:43 +00:00
markt
4bb6a027e3 automatically reconfigure after changing alpha from menu, using a timer 2007-01-16 16:19:48 +00:00
markt
a2804705db prevent per-window alpha menu from scrolling past 0 or 255:
suppose your alpha was at 3 and then you double-clicked -- IntResMenuItem was
setting the alpha to -2, which in FbWinFrame::setAlpha got cast to an unsigned
char, or 254; then, IntResMenuItem would check if the value was less than 0,
which, of course, it wasn't
now, IntResMenuItem checks if the value will exceed the max/min before setting
2007-01-15 19:00:09 +00:00
markt
2a9e8e2782 fix rootmenu disappearing on reconfigure -- I can't tell that the code I
removed here did anything useful; it's probably a remnant of an old menu
implementation
2007-01-15 18:53:45 +00:00
markt
e622927efb stay on same workspace after restart 2007-01-14 19:05:34 +00:00
markt
6512024f08 allow windows to deiconify themselves 2007-01-14 19:04:38 +00:00
markt
fc502861a4 make sure we ungrab the keyboard when changing the alt-tab screen,
or else we'll lose an entire keystroke!\
2007-01-14 19:02:01 +00:00
markt
6ed9f38b7a several fixes for background option in styles 2007-01-14 19:00:18 +00:00
markt
16743aad06 don't change focus order unless the user specifically focuses a window 2007-01-13 19:24:35 +00:00
markt
fa2519525a forgot this 2007-01-13 19:03:26 +00:00
markt
09cc0bf6af little cleanup 2007-01-13 18:59:49 +00:00
markt
9cace1f2cb add feature to minimize windows in current layer 2007-01-11 19:22:46 +00:00
markt
45743c6f42 fix another 64-bit window property 2007-01-08 21:12:47 +00:00
markt
4390fb34e0 fixed _NET_WM_DESKTOP regression 2007-01-08 16:47:27 +00:00
markt
7bac08ef52 another little bug with iconbar rendering 2007-01-07 18:45:30 +00:00
markt
d2bb60239b remove race condition from workspace warping code 2007-01-07 18:44:46 +00:00
markt
186ebd5870 little cleanup 2007-01-07 18:39:12 +00:00
markt
a53dabd36a fix little bug with iconbar rendering 2007-01-07 18:38:03 +00:00
simonb
a1b78a1e6d I overkilled RefCount. Too tired. Heres the proper fix. 2007-01-07 14:58:10 +00:00
simonb
5385eb9070 par tof per-window alpha changes 2007-01-07 14:56:32 +00:00
simonb
93ec253f0d forgot to svn add the files 2007-01-07 14:20:31 +00:00
simonb
440c69afa4 fix intrinsic problem with refcount
adjust slit menus to deconstruct properly
2007-01-07 14:07:45 +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
4628ff7694 set opacity properly 2007-01-06 19:59:46 +00:00
markt
94e2c89053 make "force pseudotransparency" menu item work immediately 2007-01-06 19:03:33 +00:00
markt
8db2d4f26e little fix for previous patch to transient window raising 2007-01-06 18:56:50 +00:00
simonb
590f32704a oops, didnt mean to commit this change, twas for testing, so revert it 2007-01-06 08:01:14 +00:00
simonb
1f7b12cc49 move triangle drawing into FbDrawable
Make MenuItem triangles proportional
2007-01-06 07:38:04 +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
416cca0edd don't change focus to a window that doesn't accept focus, see bug #1626114 2007-01-05 17:57:07 +00:00
markt
8930a711ee only grab keybindings on screens managed by fluxbox 2007-01-05 16:54:34 +00:00
simonb
64fcedda00 use LC_TIME for interpreting clock locale.
Fix something likely to break locales on BSDs and things without 
nl_langinfo
2007-01-05 16:10:56 +00:00
simonb
fcc756c052 patch needed to be a bit heavier to properly separate a string for
spacing and a string for the text...
2007-01-05 15:20:30 +00:00
simonb
ad7fd2d867 fix loading of rotated fonts on style change 2007-01-05 13:43:54 +00:00
simonb
3a79de034f change default Xft font so that it works properly with rotation (see
notes in ChangeLog or FbTk/Font.cc)
2007-01-05 13:01:19 +00:00
markt
87b8626793 insignificant change to the makefile 2007-01-05 00:48:03 +00:00
markt
fdaba22635 random attempt to fix an aMSN bug 2007-01-04 23:36:06 +00:00
markt
41adf369dd little cleanup 2007-01-04 20:34:24 +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
e2e94031f9 don't run [startup] items on restart 2007-01-03 18:59:43 +00:00
markt
aeac1b3344 scaling color values so that they have the right intensity 2007-01-02 06:31:23 +00:00
markt
8588402376 don't escape regex metacharacters when writing apps file 2007-01-02 03:12:24 +00:00
markt
9910094bd1 don't set menuicon background to style's pixmap when the window has an icon 2007-01-01 07:15:59 +00:00
markt
d6a3af53ff don't run [startup] items if fluxbox fails to load 2007-01-01 01:44:35 +00:00
markt
e9dd7670f3 don't run [startup] items in apps file on reconfigure when apps file has been modified 2007-01-01 00:10:27 +00:00
markt
e8a86fb91c check return code when setting utf8 workspace names 2006-12-31 22:13:31 +00:00
markt
5ee7d3e72e update window scroll action and direction on reconfigure 2006-12-31 21:00:46 +00:00
markt
9e10811c0d update toolbar visibility on reconfigure 2006-12-31 20:01:53 +00:00
simonb
b3a94f59d8 Fix _NET_FRAME_EXTENTS on 64-bit systems 2006-12-31 14:10:55 +00:00
markt
7a9fcd66fd don't add 2 pixels to toolbar.height from init file; oh, and I named the remember menu to help debugging 2006-12-29 03:05:53 +00:00
markt
a58453fac2 allow focus to revert to stuck windows, and we'll see if it still causes
problems with normal focus -- that comment is older than FocusControl.cc, and
I've made a lot of changes to focus handling since then; just disabling it
wasn't the right thing to do, anyway
2006-12-28 18:11:17 +00:00
markt
e9f7c0f2c0 fix some misbehaving settings in the apps file 2006-12-27 04:49:17 +00:00
markt
9d1447b0d5 more dead functions 2006-12-22 05:44:42 +00:00
markt
17a92c3253 little fix for nls in keys 2006-12-20 16:22:10 +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
markt
1440919956 Change to data structure for keybindings, ungrab and grab keys when switching
keymodes instead of deciding whether we need it and repeating the key.
2006-12-19 18:08:33 +00:00
markt
83b9e39293 Rotate items in toolbar the same way as tabs 2006-12-18 18:41:31 +00:00
markt
2ff67d09a7 Stop cycling focus when another command gets run, even if modifiers are still down 2006-12-17 22:21:23 +00:00
markt
ecb0d95b8f Apparently, this code did the following:
- create an empty database
  - load the rc file into a database
  - merge the empty database into the second one
  - write the result to the rc file
  - delete both databases
2006-12-16 19:10:11 +00:00
fluxgen
3efe68ffe3 removed duplicate headers, patch from Slava Semushin aka php-coder 2006-11-12 17:16:56 +00:00
mathias
a3c5fd6000 cosmetic patch from slava again 2006-11-07 19:12:42 +00:00
mathias
e5e76e7761 Cosmetic patch from Slava Semushin 2006-10-30 19:31:15 +00:00
mathias
10082d821d cosmetic patch from slava semushin, removes whitespaces and
uses only those things from "namespace std" what we really need.
2006-10-27 06:57:43 +00:00
fluxgen
34b7f7ddfc comment 2006-10-16 20:14:39 +00:00
fluxgen
7875a103b7 initialize m_state 2006-10-16 19:52:44 +00:00
fluxgen
857e96049b added CachedPixmap 2006-10-16 19:41:57 +00:00
fluxgen
a3b30e1c63 some cleaning, using CachedPixmap 2006-10-16 18:49:33 +00:00
fluxgen
9f4baeb0fc cached pixmap helper, works like auto ptr for cached pixmaps 2006-10-16 18:47:27 +00:00
fluxgen
fa675bb367 fixed bug #1561482, crashed with toolbarmenu 2006-09-20 20:55:18 +00:00
fluxgen
e27dfd97bc added include path 2006-09-18 15:17:12 +00:00
simonb
b1b8bd12ae fix minor menu separator highlight issue 2006-08-14 13:45:05 +00:00
markt
5b50243881 unused function 2006-08-14 03:20:15 +00:00
markt
db80ce64d7 fix restoring fullscreen windows 2006-08-13 00:51:52 +00:00
markt
f3ab9e6b13 silly warnings 2006-08-13 00:39:46 +00:00
markt
1ef653cd93 little hack to make sure background only loads once
symptom of a deeper problem with loading styles
2006-08-13 00:25:09 +00:00
simonb
66e738da77 fix crash in ClientPattern 2006-08-10 14:55:52 +00:00
markt
839cc974c1 implement _NET_WM_WINDOW_TYPE_MENU AND _NET_WM_WINDOW_TYPE_TOOLBAR 2006-08-10 06:35:14 +00:00
markt
6c4dcc679b it never existed (what never existed?) 2006-08-09 04:54:58 +00:00
markt
bd8ef1bc87 remove FbTk::Menu::enter/leaveNotifyEvent -- caused problems with placing submenus 2006-08-09 04:20:06 +00:00
markt
9b9d5a9617 fix some compiler warnings in gcc 4.1 2006-08-08 19:25:48 +00:00
markt
2d14b33ef4 distinguish between startup and restart 2006-08-06 22:33:54 +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
b62c3771ec forgot about autogrouping 2006-08-05 01:39:45 +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
bb2758f7c6 change the debug output in FocusControl::setFocusedWindow() 2006-08-04 00:40:16 +00:00
markt
52d3f3f6b6 don't raise a window after cycling if it has been minimized 2006-08-03 21:23:08 +00:00
markt
81c650c63e add support for negative arguments to :Tab 2006-08-03 18:39:32 +00:00
markt
59f150d5db check if window is stuck when using followmodel 2006-08-03 02:33:07 +00:00
markt
00d862724a rename session.screen*.iconbar.deiconifyMode to session.screen0.userFollowModel 2006-08-02 22:02:31 +00:00
markt
9053e772db update _NET_WORKAREA on screen resize 2006-08-02 20:06:01 +00:00
markt
b8fe83c4e4 fix ClickTabFocus and MouseTabFocus in nls 2006-08-02 18:38:09 +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
e66c3dd866 list windows in iconbar in creation order 2006-07-30 20:37:12 +00:00
markt
83953b8f37 don't jump to rememberd apps on restart 2006-07-29 06:47:56 +00:00
markt
f66d91cf22 2006-07-29 06:28:58 +00:00
markt
98fba4fd1a little fix-up, just in case some transient windows have their own transients 2006-07-27 07:00:30 +00:00
markt
7de8cabccf don't switch windows with transients in initWindows() - just do transient later 2006-07-27 00:04:11 +00:00
markt
0954a0b61d fix torn menus on exec 2006-07-26 20:20:52 +00:00
markt
14efe686cd added resource and menu item for maximizing over tabs 2006-07-26 01:22:42 +00:00
markt
9229f8bc9c don't revert focus away from command dialogs 2006-07-25 21:54:58 +00:00
markt
887fea4510 fix m_background_loaded 2006-07-25 07:20:58 +00:00
markt
538b630ff2 forgot about the menu 2006-07-23 13:30:46 +00:00
markt
be2f40a10d use a timer to make sure focus always reverts if possible 2006-07-23 09:51:54 +00:00
markt
b0b28c4bbb also move icons when removing a workspace 2006-07-23 02:20:42 +00:00
markt
def26c19e5 fix restacking while cycling 2006-07-23 01:41:37 +00:00
markt
85b2664d78 dead resource 2006-07-22 08:42:56 +00:00
markt
2d971ad48c ewmh compliance updates 2006-07-22 07:15:24 +00:00
markt
a72fc5e002 unfix *lock modifiers, ignore scroll lock on events 2006-07-21 08:36:12 +00:00
markt
9be679dad7 allow negative width and height 2006-07-20 11:16:09 +00:00
markt
25a9a31585 fix _NET_WM_MOVERESIZE to interpret x_root and y_root correctly 2006-07-20 10:22:31 +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
d666bec238 preserve order of focused windows on restart 2006-07-19 07:31:39 +00:00
fluxgen
2732e23812 fixed some uninitialized variables 2006-07-17 20:55:20 +00:00
fluxgen
06320420a5 Fixed bug #1362913, did not check format pointer. 2006-07-16 15:55:19 +00:00
markt
fde970a21d include iconic windows when cycling
also, stop cycling on one screen when cycling begins on another
2006-07-14 06:00:37 +00:00
markt
d32a7af7e6 remove lock from RootTheme and redundant loadTheme from fluxbox 2006-07-13 06:45:29 +00:00
markt
e44da5f926 fix background: random so that background.pixmap allows a directory name 2006-07-13 06:36:05 +00:00
markt
a7da03c022 a little code simplification 2006-07-13 04:48:03 +00:00
markt
c929da4054 replacing some instances of focusedWindow()->fbwindow() with focusedFbWindow() 2006-07-12 00:08:57 +00:00
markt
349441ec6e dead function 2006-07-11 03:20:41 +00:00
markt
bf3aee5f67 next/prevwindow toolbar buttons break mousefocus 2006-07-10 18:00:42 +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
f7574fe1c9 fix implementation of _NET_MOVERESIZE_WINDOW 2006-07-09 01:46:47 +00:00
markt
4e820f5ba3 new dead function 2006-07-06 22:09:18 +00:00
fluxgen
202b87ae56 dont use a strut if slit is empty 2006-07-06 20:46:38 +00:00
fluxgen
717e207a12 update shape after resize, fixes bug #1491571 2006-07-06 20:09:23 +00:00
markt
e4d6824771 changing between internal and external tabs doesn't affect iconified windows 2006-07-06 06:05:12 +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
b407e121ba fix crash on startup from iconv_close of an invalid descriptor 2006-07-04 23:41:43 +00:00
simonb
c3846743fb fix some sizing issues with gravity fixes 2006-07-04 13:20:04 +00:00
markt
aa589f3bdc autogrouped windows from groups file didn't raise, bug #1449608 2006-07-04 07:10:15 +00:00
markt
1cc6cc4b15 new windows don't steal focus from fullscreen windows 2006-07-04 06:42:28 +00:00
markt
6cd9ad46cc some dead resources and the functions that go with them 2006-07-04 01:01:44 +00:00
simonb
12e80f3faf fix gravity 2006-07-03 17:18:17 +00:00
simonb
51fa41554e call waitpid until no more children to wait for (thanks Devin/dlab). 2006-07-03 01:56:59 +00:00
markt
4c12086c1c updated documentation and another dead function 2006-07-02 04:24:12 +00:00
markt
c18985732b more dead functions 2006-07-01 03:32:53 +00:00
markt
698539d9b9 more dead functions 2006-07-01 02:56:46 +00:00
markt
a14c322dcb more dead functions 2006-06-30 15:59:30 +00:00
markt
91ab82513b dead functions 2006-06-30 01:37:46 +00:00
markt
301665024d another dead function 2006-06-30 00:19:40 +00:00
markt
9e6c123611 Fixing my own code 2006-06-29 18:01:33 +00:00
simonb
9be4311798 minor tidy, thanks Slava Semushin 2006-06-29 04:36:16 +00:00
markt
aad6845c91 Linear cycling wasn't affecting normal cycling order (Mark) 2006-06-28 20:58:53 +00:00
markt
a6625f8ca5 cleanup dead function Workspace::setLastFocusedWindow 2006-06-28 20:06:49 +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
6dc5ca4e60 some minor code cleanups thanks Slava Semushin (php-coder), who also thanks Mikhail Gusarov 2006-06-27 08:54:24 +00:00
markt
b79d7ee745 Fix slit menu so it closes when you press escape 2006-06-27 01:46:42 +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
simonb
aedcaea054 properly protect usage of iconv_t by HAVE_ICONV 2006-06-26 01:36:27 +00:00
markt
b699ed4d9e Fix compile error with some compilers not including iconv.h before FbString.hh 2006-06-25 19:04:46 +00:00
simonb
bf9b60833f fix FbPixmap retaining pixmap (that made cache not work properly)
Also small tidy in FbWinFrame.cc
2006-06-25 14:59:34 +00:00
simonb
131d04cf42 Check for NoSymbol more explicitly - thanks Julien Trolet (dmxen at
sourceforge)
2006-06-25 14:00:13 +00:00
simonb
80389b5dd5 support encodings in menu files 2006-06-25 09:05:58 +00:00
simonb
577859034d fix crash when unable to convert from local to utf-8 2006-06-25 07:18:41 +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
simonb
0b730c76b1 fix more x errors due to using an invalid background 2006-06-24 14:05:19 +00:00
simonb
1d0b23bd02 fix disappearing menu selection boxes 2006-06-24 13:11:27 +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
3ada3b1f0d fix nls... notably classify text on conversion whether its for X or
console, plus handle catalogs better.
2006-06-21 14:41:16 +00:00
simonb
62a298b0b3 make new nls stuff work. Was missing path update 2006-06-21 06:04:55 +00:00
simonb
94db19c007 Fix window placement when apps remembers size but not location 2006-06-19 23:09:51 +00:00
fluxgen
20cb065cf3 better fix for iconbar bug 2006-06-19 18:31:36 +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
simonb
a6146af44f fix placement issue with xinerama (only hit if screens are vertically aligned) 2006-06-19 08:39:00 +00:00
simonb
f6140840f8 fix timer issues (esp clock not updating on multiple screens) 2006-06-19 05:04:42 +00:00