Commit graph

3447 commits

Author SHA1 Message Date
markt
d948abb81b fixed parentrelative menu highlight bug 2007-03-11 19:07:42 +00:00
markt
9db57d56d3 make sure autogrouped windows get added to the apps file 2007-03-10 18:19:23 +00:00
markt
1a8edfa7d7 changed default toolbar layer to DOCK 2007-03-10 18:14:56 +00:00
markt
f1d325460e make sure iconbar text padding gets reapplied on reconfigure 2007-03-10 18:12:23 +00:00
markt
8bda89394b make sure we don't steal focus from unmanaged windows 2007-03-10 18:08:37 +00:00
markt
61cf82771a removed some useless code 2007-03-10 18:06:09 +00:00
markt
4ed76f99b6 don't mark menu as focused, even if it gets a FocusIn, when it's not visible 2007-03-07 02:09:24 +00:00
markt
82f02f44c5 I seem to have forgotten this in the last patch 2007-03-06 21:23:18 +00:00
markt
40c0c7c364 fixed bug with keys not working when using a style background 2007-03-06 19:40:38 +00:00
markt
ed3731fa30 session.screen0.defaultDeco now understands TAB, BORDER, etc. 2007-03-06 17:20:13 +00:00
markt
8c5fd07d77 fixed compiling error with xft disabled 2007-03-05 00:16:53 +00:00
markt
b9e39764f3 more little changes to typeahead (thanks Matteo, plus changes from me) 2007-03-04 18:22:25 +00:00
markt
0d02b9bdf3 little bug fix for menu typeahead (thanks Matteo) 2007-03-04 17:51:17 +00:00
markt
4c1a242968 moved some code around (regarding event handling) in preparation for upcoming features 2007-03-04 17:47:37 +00:00
markt
9477af82a5 removed session.numLayers resource, as it was useless and caused segfaults 2007-03-03 23:27:16 +00:00
markt
a233229bd8 added support for typeahead in menus 2007-03-03 19:35:34 +00:00
markt
d6a7bd786f add XK_KP_Enter to menu 2007-03-02 19:17:06 +00:00
markt
2f63ba231c changed FocusControl::cycleFocus() to take a list of windows as an argument
also fixed some latent bugs and compiler warnings
2007-03-01 21:19:04 +00:00
markt
6de3414135 whoops, didn't mean to add these 2007-02-28 21:32:24 +00:00
markt
a0944a02cd ignore borders when doing FocusLeft, etc. 2007-02-28 21:29:58 +00:00
markt
ec9cd21dda some code simplification and bug fixes
mainly, using a non-zero menuDelayClose allowed you to have multiple submenus open
2007-02-28 19:13:59 +00:00
mathias
589ecfc060 respect external tabs in ArrangeWindows, patch from Tomas Janousek <tomi@nomi.cz> 2007-02-27 18:07:36 +00:00
markt
3503f75903 lots of unrelated fixes 2007-02-27 17:46:48 +00:00
markt
8ce203c949 this shouldn't be necessary 2007-02-26 17:16:58 +00:00
markt
78de14a99c update systemtray alpha with toolbar alpha 2007-02-25 22:19:35 +00:00
markt
68aa6be216 little sanity check 2007-02-25 17:39:47 +00:00
markt
61ed1fcfb0 and check for maximized state in Ewmh::updateState() while we're at it 2007-02-23 22:32:31 +00:00
markt
002e6232c9 send statesig when maximizing/restoring a window 2007-02-23 22:16:11 +00:00
markt
ca7b5ee4a5 update titlebar buttons on reconfigure 2007-02-23 17:03:01 +00:00
markt
e85569f1df added some support for XEMBED protocol in systemtray 2007-02-23 00:36:32 +00:00
markt
3d789a1e70 ButtonRelease should only trigger actions if ButtonPress was on the same button 2007-02-21 17:17:40 +00:00
markt
b2957c6060 when a client in a tabbed window asks to be raised, set it to the current client 2007-02-19 16:44:37 +00:00
markt
bd3d8d5c8d fixed some strange behavior with tabbing a transient to its main window 2007-02-19 16:04:59 +00:00
markt
ca710b371b little cleanup 2007-02-18 17:47:38 +00:00
markt
9212e1d7c8 an empty slit without autoHide but with clients in the slitlist file still created a strut 2007-02-17 17:40:50 +00:00
markt
2f130ce836 update workspace names on reconfig, and don't truncate list of names when writing rc 2007-02-17 17:39:00 +00:00
markt
58eb385351 fixed some issues with creating and alt-tabbing to transients of inactive tabs 2007-02-17 17:37:34 +00:00
markt
282326a9d0 little cleanup 2007-02-12 21:52:14 +00:00
markt
83a7202a66 forgot to revert part of my previous patch 2007-02-11 22:33:16 +00:00
markt
f42d39cc35 still fixing bug with session.ignoreBorder 2007-02-11 22:03:27 +00:00
markt
62b233264d windows weren't getting set resizable when MaxSize and MinSize hints changed 2007-02-10 23:12:54 +00:00
markt
48bd3f49bc changed default value for decorateTransients in the init file
-- see sf.net bug #1604959 for explanation
2007-02-10 21:50:57 +00:00
markt
4eb87522a0 it was still possible to move a window by grabbing the border with session.ignoreBorder: true 2007-02-10 18:18:36 +00:00
markt
6b92622d6e window was growing when we received a configurerequest that changed width but not height 2007-02-10 18:13:30 +00:00
markt
6fdda1a31d added mouse bindings to the keys file 2007-02-09 18:13:01 +00:00
markt
93d8310c0c wrong client was raised when attaching an unfocused window to the focused window 2007-02-06 19:05:59 +00:00
markt
07ea9ec4b4 closing a window from the workspace menu should close the chosen client,
rather than the active tab in the same window
2007-02-06 19:04:32 +00:00
markt
ebd2fa9a99 change defaults for fullMaximization and autoRaise 2007-02-05 19:10:10 +00:00
markt
e4488da120 some fixes for grouping with the apps file 2007-02-05 17:20:01 +00:00
markt
cf6e471fbf fix remembered layer and layer menu 2007-02-04 18:44:28 +00:00
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