Commit graph

4251 commits

Author SHA1 Message Date
fluxgen
c7d4438d91 fixed bug #1809786 2007-10-18 17:37:46 +00:00
markt
72130f350e add OnWindow modifier to keys file 2007-10-15 18:05:28 +00:00
markt
7e4f8a3853 add support for transient windows in client patterns, and merge a few more changes from pre-devel 2007-10-14 18:05:31 +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
mathias
cfb1e06df2 deiconify windows via :Deiconify in reverse order 2007-10-13 12:43:22 +00:00
simonb
ac215248a0 load default key bindings on error 2007-09-30 11:35:20 +00:00
markt
d5aa50bee6 move dock windows to DOCK layer and remove decorations 2007-09-13 22:11:12 +00:00
markt
16218ae90b fix crash when changing toolbar visibility with empty toolbar.tools 2007-09-08 18:38:30 +00:00
mathias
adddf014bd dont use hardcoded Mod1Mask anymore 2007-08-28 07:36:57 +00:00
markt
270782c8a5 fix problems with focus order when changing workspaces 2007-08-20 14:31:43 +00:00
fluxgen
66c537e1dc Changed to Fluxbox Team 2007-08-11 18:21:36 +00:00
simonb
a0f44b9e9a Fix handling of Shape, stage 2 (more involved/complete handling) 2007-08-09 03:45:31 +00:00
simonb
a04eed16c5 fix elements of shaping, more to come 2007-08-08 15:41:10 +00:00
markt
8c53e8861e rotate toolbar texture along with toolbar 2007-08-07 07:22:11 +00:00
simonb
d77de67332 fix KDE dockapps on restart 2007-08-06 04:19:48 +00:00
markt
538e33fedb some minor changes 2007-08-05 22:28:11 +00:00
simonb
a9103a89cb remember role too by default 2007-08-05 03:20:38 +00:00
simonb
2006d20d45 remember on the class AND instance name by default 2007-08-05 03:10:04 +00:00
simonb
1b65ec583f revert accidental change, sorry mark 2007-08-05 01:20:20 +00:00
simonb
0ae1f4f532 fix encoding of [begin] label 2007-08-04 18:49:55 +00:00
simonb
288dfa6eb9 only possible anomaly I can see here 2007-08-04 18:15:58 +00:00
simonb
b273360331 Fix system tray restart issues 2007-08-04 17:14:13 +00:00
markt
8da54ca0eb add some decorations to torn menus, and fix restart without an argument 2007-07-31 23:16:05 +00:00
markt
363764db5b fix ToggleDecor for fullscreen and decorationless windows, plus some other cleanup 2007-07-24 12:12:45 +00:00
fluxgen
9545871f7a minor fix for alt-tab 2007-07-19 19:21:57 +00:00
markt
8de73d0fd4 updated behavior of alt-tab to match pre-devel, fixing bug #1755698 2007-07-17 21:21:17 +00:00
markt
5aecf58d47 make sure menus close only when right clicking down and up on the titlebar 2007-07-15 16:32:54 +00:00
markt
857a6d0a6a remove _NET_WM_DESKTOP, _NET_WM_STATE, and Gnome hints on client close 2007-07-08 22:49:12 +00:00
markt
135019abf9 fixes for --program-prefix and --program-suffix, plus fixed overwriting init file on reconfigure 2007-07-07 23:11:04 +00:00
markt
b735d405f5 allow negative indices in :Workspace <int> 2007-07-07 04:54:34 +00:00
markt
18cd70f749 save workspace names, and some fixes for menu behavior 2007-07-07 01:56:46 +00:00
markt
d39a5489b1 we know better than MPlayer 2007-07-06 17:48:02 +00:00
markt
ae3c304239 some security fixes for fluxbox-remote, and a minor change for the gvim fix 2007-07-03 22:56:46 +00:00
markt
823ce0d017 stop gvim from repeatedly resizing tabbed windows 2007-07-03 21:08:07 +00:00
markt
b70f4c144c fix updating of systemtray and kde dockapps in slit on background change
added fluxbox-remote.cc
2007-07-03 18:50:53 +00:00
markt
86031f9c75 don't create gigantic images when XGetGeometry fails in FbTk::FbPixmap::copy 2007-07-03 01:55:44 +00:00
markt
2ddc0290cb use old size/position in apps file when the window is shaded or maximized 2007-07-02 21:26:01 +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
5fcb520bbb fixed DOS when toolbar.button.borderWidth is large and toolbar.bevelWidth > 0
moved the transparency menu up with the rest of the submenus in the config menu
2007-07-02 02:50:09 +00:00
markt
69d63da542 added key commands :AddWorkspace and :RemoveLastWorkspace 2007-07-01 21:01:31 +00:00
markt
7783a8c84e more fixes for _NET_WM_STATE_MODAL and _NET_WM_STATE_DEMANDS_ATTENTION 2007-07-01 17:59:57 +00:00
markt
61b757d872 make internal tabs default 2007-06-30 21:57:03 +00:00
markt
0f9f193444 fixed implementation of _NET_WM_STATE_MODAL 2007-06-30 16:54:05 +00:00
markt
8e75ace959 fixed the groups file for the last time 2007-06-30 04:15:55 +00:00
markt
8fbeaf279e little hack for fixing _NET_WM_STATE_DEMANDS_ATTENTION with tabs 2007-06-30 01:28:54 +00:00
markt
329fca30fd updates for compiling with gcc 4.3 2007-06-29 17:25:24 +00:00
markt
bbdc61c87b strip off extra bits set by Xorg in event state 2007-06-28 22:25:35 +00:00
markt
b4b927dad9 moved function so fluxbox compiles with --disable-remember 2007-06-16 22:50:09 +00:00
mathias
6f8a5c7a8d small fix for the /bin/sh issue .. just using /bin/zsh now 2007-06-09 17:44:27 +00:00
markt
222d8cd7e9 don't tab transient windows from apps file, and change their layers when the main window does 2007-06-08 19:39:12 +00:00
mathias
dff2aa3356 fix for the following problem:
on *bsd /bin/sh is not just a symlink to /bin/bash as on most linux's 
  but a real standalone shell. and it behaves differently from "bash -c"
  behavior .. it doesnt exec the command given but waits till the command
  finishes. as a result a lot of "rogue" a flying around. solution is now 

     ( $SHELL or /bin/sh ) -c exec <cmd>
2007-06-06 06:22:37 +00:00
markt
8f89c86592 update menu xinerama settings after moving 2007-06-03 23:51:11 +00:00
markt
c16f838abf deiconify windows when auto-grouped with new window, when using focusnew 2007-06-03 20:37:32 +00:00
markt
678703b08f open slit menu properly wrt xinerama 2007-06-03 20:30:21 +00:00
markt
226ec5d371 send transient windows along with sendtoworkspace 2007-06-03 20:27:52 +00:00
markt
f9c5bfec07 fixes bug with rox panel flickering with mousefocus 2007-06-03 20:12:20 +00:00
markt
e6e784e20d fixed infinite loop caused by removing the last workspace when it contains windows 2007-06-01 02:15:26 +00:00
fluxgen
fc0b87b279 fixed bug #1717782, Bad fullscreen in ooimpress. 2007-05-20 12:48:51 +00:00
fluxgen
df022d0fae added fullscreen test 2007-05-20 12:39:11 +00:00
fluxgen
75f8d95c17 fixed bug #1718112, memory leak in FbWindow::textProperty 2007-05-19 11:42:44 +00:00
fluxgen
cf9c58bb0b added title test for _NET_WM_NAME and WM_NAME memory leaks 2007-05-19 11:18:44 +00:00
markt
0f23536eff make sure included menus get remembered, in case they're modified 2007-05-17 20:51:43 +00:00
markt
cd73887b11 added include command to ITypeAheadable.hh header for tolower() 2007-05-17 20:35:09 +00:00
markt
d927862a8f fixed some window placement issues 2007-05-17 18:27:59 +00:00
markt
f1fe336cea changed interpretation of maximize horz/vert on a maximized window 2007-05-12 20:36:38 +00:00
markt
f21186431b fixed tabs disappearing on reconfigure with [Deco] {TAB} and tabs in titlebar 2007-05-12 17:31:34 +00:00
markt
b66dde6e94 better check these too 2007-05-05 22:33:36 +00:00
markt
008685a90e fixing return value checks for utf8 strings 2007-05-05 22:21:35 +00:00
markt
db2904e144 fix infinite loop caused by deiconify command 2007-05-04 17:13:50 +00:00
mathias
5eb658a51f fixed a bug in parsing cli, thanks to steven kah hien wong <steven at zensaki dot com> 2007-04-24 19:38:40 +00:00
markt
35605d9c77 fix segfault on exit/restart after having opened a custommenu 2007-04-24 16:06:22 +00:00
markt
cd238a475b disabled resizing shaded windows 2007-04-23 16:09:00 +00:00
mathias
d267acc8e0 fix slit onhead with BOTTOMLEFT placement, patch from Tomas Janousek <tomi at nomi dot cz> 2007-04-20 20:26:57 +00:00
markt
3980e3c40a fixed crash when CustomMenu doesn't point to a real file 2007-04-19 19:12:56 +00:00
markt
622d75f642 fix for fbsetbg -l when last wallpaper was using fbsetroot 2007-04-18 18:12:29 +00:00
mathias
6ac57655d9 basicly cosmetic changes, patch by slava semushin 2007-04-17 07:52:40 +00:00
markt
aff55b6334 added alias "kill" for keys file 2007-04-10 20:14:32 +00:00
markt
3b9351be77 menu from workspacename tool wasn't focused, and fixed unpressed button rendering 2007-04-08 18:01:01 +00:00
simonb
52a96c4e9d use proper test for whether it's a number. 2007-04-08 01:59:41 +00:00
simonb
91963544bd Only replace numbers with zeros when calculating clock width.
Otherwise width of things in proportional fonts can be way out.
sf.net bug #1545066.
2007-04-08 01:53:19 +00:00
markt
b09aae8579 changed caps lock detection to use LockMask, so the actual key can be used for Mod4, etc. 2007-04-05 16:07:01 +00:00
markt
e89d4aa219 getting rid of more useless files in the repo 2007-04-03 22:39:41 +00:00
markt
06fb6cbd55 fixed a bug, removed some unused code 2007-04-03 17:14:00 +00:00
markt
48f761f981 fixed problem with creating windows in iconic state 2007-04-01 21:42:01 +00:00
fluxgen
27bed4b286 more documentation 2007-04-01 11:50:32 +00:00
markt
2519e2614d fixed some compiling issues 2007-03-31 22:00:39 +00:00
fluxgen
9b84090f4a added document 2007-03-31 19:10:16 +00:00
simonb
311cb38f29 Fix window menu context when opened by clicking on tab 2007-03-31 13:34:44 +00:00
markt
b38f4e931f set m_icon_title to, you'll never guess, the icon title 2007-03-30 21:44:02 +00:00
markt
fca762aa6a little fix for clients in tabbed windows raising themselves 2007-03-25 17:32:49 +00:00
markt
6b35dc9243 removed warning for no background in style 2007-03-24 23:15:36 +00:00
markt
4ac761a36e workspace menu wasn't updating when window titles changed 2007-03-24 16:33:33 +00:00
mathias
9ee2ee0ff4 small update for the copyright date 2007-03-22 20:20:26 +00:00
markt
a744b152bb fix a little compile error on some machines 2007-03-21 22:52:47 +00:00
markt
2b7f9a5899 hidemenus hide custommenus and fix custommenu memleak 2007-03-21 22:47:56 +00:00
markt
d7eebb62bd active menu item wasn't getting reset properly when closed from [exec] with buttonpress 2007-03-19 06:18:25 +00:00
markt
063468ea66 size of relative items in toolbar wasn't being calculated properly 2007-03-19 05:03:12 +00:00
markt
b3f7488a8d changed remembering of positions so it only remembers position relative to the current head
that way, the windows don't get misplaced when the window is on second head, or when not using the head anymore
2007-03-18 23:49:54 +00:00
markt
4945b88e1b function to find already existing keychains wasn't working properly 2007-03-18 19:39:30 +00:00
markt
7ba4f04a86 change workspace number of iconified, stuck windows when changing workspaces 2007-03-17 08:15:04 +00:00
markt
ca1ca328cf maximizing window with aspect ratio caused windows to be made larger than the screen 2007-03-16 23:11:56 +00:00
markt
84e9f97085 fixed a little bug with placing new menus 2007-03-16 22:09:28 +00:00
markt
74216903cc added custommenu command 2007-03-16 20:44:47 +00:00
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
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
fluxgen
85f45be727 added support for _NET_WM_WINDOW_TYPE_DIALOG and _NET_FRAME_EXTENTS 2006-06-18 21:23:24 +00:00
fluxgen
7d5f6e382b init variables 2006-06-18 21:22:20 +00:00
fluxgen
36191fb02d fixed bug #1507754, windowtitle in toolbar not updated. Solution: reset m_title_override to false. 2006-06-18 21:14:19 +00:00
markt
926260e5c8 Fix crash when closing a window while cycling (Mark) 2006-06-16 22:29:26 +00:00
fluxgen
331a52115d support for _NET_WM_MOVERESIZE 2006-06-11 13:09:44 +00:00
fluxgen
3aa4244ab8 added support for urgency hint, thanks Mark Tiefenbruck 2006-06-11 12:47:47 +00:00
fluxgen
2fdc6ab808 dont free old color until we have a valid new color 2006-06-10 20:23:00 +00:00
fluxgen
d218f02f80 added new command: ToggleCmd, works like a macro but executes the commands one at the time. Thanks Mark Tiefenbruck 2006-06-10 20:04:34 +00:00
fluxgen
d7a28bb75e fixed resize box bug. The text used to determine the size used space, which could have different width than characters on certain fonts. Thanks Scott Kuhl 2006-06-10 17:24:48 +00:00
fluxgen
e536993c92 using shift while pressing enter in menu will fake a button 3 press (rmb), thanks _markt 2006-06-10 17:09:15 +00:00
simonb
e8a6f45c9e fix compile in hosts without HAVE_ICONV 2006-06-10 16:42:39 +00:00
simonb
b8dc91871e couple of alignment fixes, esp for external tabs 2006-06-10 16:31:47 +00:00
simonb
4afe5499b2 fix parentrelative background, and some tidying 2006-05-22 15:09:21 +00:00
simonb
d508292a57 fix build on cygwin (iconv constness) 2006-05-22 07:34:25 +00:00
simonb
f564d3c4cf fix external tab bg when label bg is parentrelative 2006-05-20 16:27:25 +00:00
simonb
ff463a0481 missing include (broke gcc 2.95 build) 2006-05-20 15:27:40 +00:00
simonb
460f57a4ad fix error when running with -i (or similar "don't start Fluxbox class"
options
2006-05-20 15:23:54 +00:00
simonb
70a834f80c fix build without nls 2006-05-20 15:16:12 +00:00
simonb
0861f3a907 improve native language handling, move messages and menu labels to
FbTk::FbString
2006-05-20 15:08:14 +00:00
simonb
5ddabb0f39 fix root pixmap + atoms indexes in FbPixmap
Fixes issues with transparency on multiple screens, and probably also
some alternate rootbg atoms
2006-05-17 10:28:26 +00:00
simonb
22060cac47 typo of STLutil.hh 2006-05-17 07:23:41 +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
e6a107e577 added comments 2006-05-13 16:46:31 +00:00
fluxgen
6d2a92c059 just a minor change 2006-05-13 16:45:56 +00:00
fluxgen
004d4469da added AttentionNoticeHandler.hh AttentionNoticeHandler.cc STLUtil.h 2006-05-13 16:23:00 +00:00
fluxgen
4d48f7576b added one more render option for renderButton, force render of focused. Listening to attention signal from Window. 2006-05-13 16:22:30 +00:00
fluxgen
35934ff23e added one more render option for renderButton, force render of focused 2006-05-13 16:21:43 +00:00
fluxgen
98db6c7128 added new signal, attentionSig(), will notify listeners when this window demands attention 2006-05-13 16:20:38 +00:00
fluxgen
94349dda08 added new signal, attentionSig(), will notify listeners when this window demands attention 2006-05-13 16:20:31 +00:00
fluxgen
8776e3ca57 added support for _NET_WM_STATE_DEMANDS_ATTENTION 2006-05-13 16:20:00 +00:00
fluxgen
e668b693fc added support for _NET_WM_STATE_DEMANDS_ATTENTION 2006-05-13 16:18:05 +00:00
fluxgen
73f6e2bdb4 handles flashing of titlebar if the window demands attention 2006-05-13 16:17:00 +00:00
fluxgen
8267672d73 STL utilities 2006-05-13 15:36:10 +00:00
fluxgen
806addad8e moved destroyAndClearList from Screen.cc to STLUtil::destroyAndClear 2006-05-13 15:35:47 +00:00
fluxgen
36f5a46fd7 added test program for _NET_WM_STATE_DEMANDS_ATTENTION 2006-05-13 15:01:04 +00:00
fluxgen
d812faffb4 test program for _NET_WM_STATE_DEMANDS_ATTENTION 2006-05-13 15:00:45 +00:00
fluxgen
03ca0654c8 added net_wm_name and net_wm_icon_name to supported atoms 2006-05-13 11:07:50 +00:00
simonb
faf043bef9 more utf8 changes, notably window titles 2006-05-07 10:08:25 +00:00
fluxgen
ac098b4d0f removed duplicate setItemEnabled 2006-05-07 09:54:55 +00:00
simonb
c69b4020c5 missed two added files, whoops 2006-05-07 03:45:43 +00:00
simonb
520f552be7 handle utf-8 strings properly.
use utf8 internally
2006-05-07 03:41:27 +00:00
simonb
0e9fa988ff make apps file keywords case insensitive, plus check it for reload before
save on close and other save events
2006-05-01 01:42:17 +00:00
fluxgen
96f47306ac fixed minor bug 2006-04-26 16:38:02 +00:00
simonb
4d6e5e3f1c resize and notify client when autogrouping 2006-04-26 12:34:24 +00:00
mathias
a15d9af3c7 Cleanup unneeded headers (thanks Slava Semushin) 2006-04-25 06:46:06 +00:00
simonb
e2bc57bc0f Fix occasional highlighting of menu nops+separators, sf.net patch
#1475268 (thanks Scott Kuhl; skuhl AT cs utah edu)
2006-04-25 03:11:31 +00:00
simonb
3707b74c40 fix a bunch of comments, make default textures obvious
Thanks Jonas Koelker
2006-04-25 02:19:04 +00:00
simonb
fae88b329c Output the error message on fallback restart execs (sf.net patch
#1475213). Thanks Jonas Koelker, jonaskoelker at users.sourceforge.net.
2006-04-25 02:11:19 +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
f6a072430d fix memory leaks in menu code 2006-04-24 13:34:14 +00:00
simonb
731f0deaaf external tabs as default 2006-04-24 11:23:01 +00:00
fluxgen
68e0ef84d9 _NET_RESTACK_WINDOW 2006-04-23 21:42:11 +00:00
fluxgen
5e598c460e removed include 2006-04-23 21:32:19 +00:00
fluxgen
60c63e8e64 added support for _NET_WM_RESTACK_WINDOW. 2006-04-23 21:28:09 +00:00
fluxgen
8a68aa5328 maxWidth() and maxHeight() 2006-04-23 21:24:05 +00:00
fluxgen
75d289be65 added support for _NET_WM_ALLOWED_ACTIONS and all the _NET_WM_ACTION_*. Added _NET_WM_STATE_MODAL and _NET_WM_WINDOW_TYPE_SPLASH 2006-04-23 17:00:33 +00:00
simonb
b0d7010f8b missed out clearing startups on apps reload 2006-04-23 14:56:06 +00:00
simonb
53f869aa52 reload the apps file on flux reload 2006-04-23 14:51:04 +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
191acd1883 tidy up window cycling
Thanks Mark Tiefenbruck, mark at tiefenbruck dot org
2006-04-23 08:27:07 +00:00
simonb
cfd92af2b6 fix menu corruption when size/label changes 2006-04-22 17:19:53 +00:00
simonb
1119068227 fix crash when toolbar disabled 2006-04-22 16:38:20 +00:00
simonb
932eebe0dd couple of memory fixes from valgrind 2006-04-22 15:37:04 +00:00
simonb
de4dfdad16 fix static management of CommandParser, sf.net 1474444 2006-04-22 12:16:38 +00:00
simonb
1028f4cb51 minor cosmetic tweaks, thanks Semushin Slavak, php-coder AT ngs ru 2006-04-22 09:49:05 +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
simonb
edafa987be oops... didnt compile! 2006-04-21 16:23:24 +00:00
simonb
e99c28724b minor fixes to slit transparency handling 2006-04-21 16:20:56 +00:00
simonb
67326a080a update transparent window backgrounds on bg change 2006-04-21 16:07:45 +00:00
simonb
a8b9672792 border between tabs same as window border 2006-04-21 14:53:25 +00:00
simonb
853b034037 mouse focus fixes - thanks Scott Kuhl: skuhl AT cs utah edu 2006-04-19 06:55:14 +00:00
simonb
759ca9e6b5 allow ~ in background pixmap path 2006-04-19 05:28:22 +00:00
mathias
c92942270a windows keep relative positions in ArrangeWindows, based on distance to new 'cell' center 2006-04-19 05:18:10 +00:00
simonb
4c011a0a12 don't check the clock so often... 2006-04-18 15:17:11 +00:00
simonb
939ffc7ef1 fix freeze in systemtray configuring, sf.net bug #1359442 2006-04-18 05:28:22 +00:00
simonb
b9af026688 iconbutton handling fixes 2006-04-17 23:34:01 +00:00
simonb
3e6def97d1 fix transparency updates for the toolbar when autohide is on 2006-04-17 15:19:07 +00:00
simonb
11cba508e6 fix some toolbar transparency 2006-04-17 14:32:20 +00:00
simonb
dd933c097c fix label display with external tabs on some wins 2006-04-17 14:24:11 +00:00
simonb
a211ca912d grow the clock if the text gets too big 2006-04-17 13:36:59 +00:00
simonb
9ff23f01ca fix some rotation issues 2006-04-17 13:35:20 +00:00
simonb
29f975b302 add reversewheeling option
thanks Kalle - ice_jkpg at users.sourceforge.net
2006-04-16 12:03:31 +00:00
simonb
a92c131710 improved defaulting of int args in commands (thanks Jonas Koelker) 2006-04-16 11:38:42 +00:00
simonb
4d0a0c9e11 add CloseAllWindows key action
thanks Adriano Dal Bosco - adbosco at users.sourceforge.net
2006-04-16 11:29:38 +00:00
simonb
553104ee1d fix all compiler warnings with -Wall 2006-04-16 11:18:22 +00:00
simonb
02aa83a59e signedness fix 2006-04-15 16:46:37 +00:00
simonb
7c79084433 implement vertical toolbar placement options 2006-04-15 16:41:11 +00:00
simonb
83a3429c39 more button state fixing for shade, should be right now
plus noticed typo in theme for unshade
2006-04-14 15:26:25 +00:00
simonb
3a7c01abed fix time type affecting double click on fbwinframe 2006-04-14 14:32:16 +00:00
simonb
0780952b10 fix window button image updates 2006-04-14 14:22:16 +00:00
simonb
33079d2593 add "key modes" - thanks to Mark Tiefenbruck, mark at tiefenbruck dot org 2006-04-12 15:51:37 +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
mathias
be03b0a3dc cosmetic, closes #1467926 2006-04-11 19:22:24 +00:00
mathias
a6551852bb fixed size_t issue with prevWorkspace, minor cosmetic changes to Screen.hh 2006-04-11 18:26:00 +00:00
fluxgen
f1a6c9100b just some indent 2006-04-09 17:40:59 +00:00
simonb
45ea259ddd fix label transparent bg update with ext. tabs 2006-04-09 13:38:13 +00:00
simonb
e337c67566 fix size_t issues and other 64bit-highlighted warnings 2006-04-06 13:59:52 +00:00
simonb
8c12c5ecaf fix build error in gcc 2.95.4, missing include 2006-04-05 14:14:35 +00:00
simonb
0497afae19 fix Xmbfonts on multiple screens
and external tabs showing from different workspaces on placement change
2006-04-05 03:48:16 +00:00
simonb
42719701dc rotated Xmb Fonts, by rotating as we draw 2006-04-04 14:07:07 +00:00
simonb
c243fa897f rotated XFonts (and minor ext tab alignment fixes) 2006-04-04 12:16:26 +00:00
simonb
47a1f63200 another build issue with size_t update, header file not updated 2006-04-03 05:33:51 +00:00
simonb
0159f0396d typo broke build 2006-04-03 05:30:21 +00:00
fluxgen
894a7148be size_t fixes, thanks Semushin Slava aka php-coder 2006-04-02 21:37:44 +00:00
fluxgen
0ca3754d68 removed green background 2006-04-02 13:16:35 +00:00
simonb
6d35c17ac0 don't follow stuck windows in deiconify (thanks _markt) 2006-03-27 06:35:51 +00:00
simonb
309a1aafb3 fix crash when deiconfiy mode = Follow 2006-03-27 06:26:34 +00:00
simonb
744c82cb1c oops, took out an include that shouldn't have 2006-03-26 12:35:06 +00:00
simonb
a8c95d4e4f some mroe external tabs tweaking 2006-03-26 12:32:15 +00:00
simonb
ce9a0962e6 forgot to update rendering when orientation changes 2006-03-26 04:07:14 +00:00
simonb
af74a22845 rotated fonts, buttons, containers. Used for tabs for now 2006-03-26 04:02:30 +00:00
simonb
872f6a0e1e fix alignment when shaded 2006-03-24 15:19:02 +00:00
simonb
7c4e48cc69 fix compile error, include algorithm 2006-03-24 10:52:57 +00:00
simonb
01612b22b6 save apps file using the user's configured option rather than hardcoded... 2006-03-24 02:40:09 +00:00
fluxgen
1107edf176 fixed duplicate ClickTabFocus menu item, thanks mal 2006-03-23 21:50:58 +00:00
simonb
ffae659b3e external tab fixes, plus aligning items properly 2006-03-23 02:06:51 +00:00
simonb
15f53b5556 fix minor rendering bug when growing tabs 2006-03-23 01:06:29 +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
fluxgen
e89c8acfb3 minor type-o fix, thanks Semushin Slava 2006-03-20 22:23:41 +00:00
fluxgen
e396fd423e minor type-o fix, thanks Semushin Slava 2006-03-20 22:23:07 +00:00
simonb
8e4f538cf9 some small placement fixes 2006-03-20 13:18:31 +00:00
simonb
f2d3fff4d4 external tabs 2006-03-20 11:31:24 +00:00
fluxgen
e10acea3ae missing file 2006-03-19 21:50:09 +00:00
fluxgen
06647a6876 added missing files 2006-03-19 21:49:42 +00:00
fluxgen
985d44190e removed tabs in help text 2006-03-18 22:21:49 +00:00
fluxgen
1eda33b856 added addManagedResource, which adds a resource to BScreen and will be destroy by BScreen. + removed geom window nls 2006-03-18 22:03:23 +00:00
fluxgen
716bb32ec2 Using WinButton enum for titlebar button type 2006-03-18 22:02:21 +00:00
fluxgen
f5c2861baf no more session.titlebar.left/right. They are now screen specific and the resources are created on the fly in FluxboxWindow 2006-03-18 22:01:22 +00:00
fluxgen
302c63e2df no more session.titlebar.left/right. They are now screen specific and the resources are created on the fly in FluxboxWindow 2006-03-18 22:01:06 +00:00
fluxgen
4b4c46559b added addManagedResource, which adds a resource to BScreen and will be destroy by BScreen 2006-03-18 21:59:44 +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
75c7965446 define ostrstream and ostringstream 2006-03-18 21:56:05 +00:00
fluxgen
53b9228348 added Type typedef of T in Resource 2006-03-18 21:55:38 +00:00
mathias
14befe1ff4 forgotten #include 2006-03-16 18:25:33 +00:00
fluxgen
0530d278e7 fixed memory leak when XCreateImage fail, thanks php-coder 2006-03-14 20:19:33 +00:00
mathias
70bd45e8e1 enhanced :NextWindow / :PrevWindow to accept <delta> as parameter, patch from marcus obst 2006-03-09 19:38:18 +00:00
mathias
1f0be0c59f applied patch from mark to fix a _net_wm_state_hidden issue 2006-03-09 18:33:36 +00:00
fluxgen
3ee68615c3 fix for stuck icons, thanks _markt 2006-03-07 17:17:52 +00:00
mathias
a21d42da37 fixed gcc4.1 problems, patch from Andreas Bierfert <andreas dot bierfert at lowlatency dot de> 2006-03-02 07:49:13 +00:00
mathias
96f8ada03d little fix 2006-02-27 22:43:42 +00:00
mathias
e21990f8f3 forgotten cosmetics 2006-02-27 21:43:01 +00:00
mathias
ec7ce1e029 cosmetic changes from php-coder (copyright, header) 2006-02-27 20:58:16 +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
2d0075c14a moved placement strategies to different PlacementStrategy classes 2006-02-19 11:12:02 +00:00
fluxgen
acaf89bbb6 moved placement strategies to different PlacementStrategy classes 2006-02-19 11:11:48 +00:00
fluxgen
b772fd969f moved placement strategies to different PlacementStrategy classes 2006-02-19 11:11:22 +00:00
fluxgen
d099e7673a forgot to delete focus control 2006-02-19 08:11:10 +00:00
fluxgen
9559a08760 removed some debug output 2006-02-19 07:39:04 +00:00
fluxgen
f503c6cbb0 added safety counter for the loops in nextFocus 2006-02-19 07:38:02 +00:00
fluxgen
5ceacc6592 moved all focus handling to FocusControl 2006-02-18 20:19:22 +00:00
fluxgen
f53c93e5e0 moved all focus handling to class FocusControl 2006-02-18 11:40:52 +00:00
fluxgen
330c8c0b09 moved all focus handling to class FocusControl 2006-02-18 11:40:02 +00:00
fluxgen
4d52797b95 moved all focus handling to class FocusControl 2006-02-18 11:39:38 +00:00
fluxgen
d23eeeaa4e Added template getResource(string) to ResourceManager.
It finds and returns reference to resource on success,
else throws ResourceException.
2006-02-18 10:12:10 +00:00
fluxgen
c21f0d4a74 moved all focus handling to class FocusControl 2006-02-18 09:20:58 +00:00
fluxgen
43f690ff7b moved all focus handling to class FocusControl 2006-02-18 09:20:50 +00:00
mathias
ae05ad9a01 updated copyright info 2006-02-16 06:53:05 +00:00
simonb
9b9f34d946 fix nls compilation (committed on akira's behalf) 2006-02-14 12:46:29 +00:00
fluxgen
6f1c084a46 fixed bug #1417688, remember apps keeps incrementing vertical dimension 2006-02-12 12:13:37 +00:00
fluxgen
2d965148ca minor typeo 2006-02-12 08:06:47 +00:00
fluxgen
f0ad96c7dc explicit constructor 2006-02-12 08:05:58 +00:00
fluxgen
ab26593cdd added static validColorString function, returns true if the color string is in valid color format 2006-02-12 08:05:34 +00:00
fluxgen
e85b2f3f5b added force_update option to force an update of the m_root_pixmaps 2006-02-12 08:04:31 +00:00
fluxgen
6eae743582 added run() for ExecuteCmd, which returns pid of the child process 2006-02-12 08:03:47 +00:00
fluxgen
3ceb311a32 fixed root pixmap crash problem, using fbsetroot to render background 2006-02-12 08:02:39 +00:00
fluxgen
b429656122 minor stuff 2006-01-22 13:54:02 +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
50d41f6f5b unused headers 2006-01-03 18:20:49 +00:00
fluxgen
7be5606abb using screen based vector for theme lists 2006-01-03 10:02:46 +00:00
fluxgen
5ecc2f8fa4 removed unused variable 2005-12-22 23:41:14 +00:00
fluxgen
05ac62be90 removed unused variable 2005-12-22 23:40:36 +00:00
fluxgen
6e95ba9cee removed unused variable 2005-12-22 23:40:02 +00:00
fluxgen
e4976c3d34 removed unused variable 2005-12-22 23:39:31 +00:00
fluxgen
7593eb165f removed unused variable 2005-12-22 23:39:03 +00:00
fluxgen
d72ed76cbd removed unused variable 2005-12-22 23:38:24 +00:00
fluxgen
6a31371e49 oops 2005-12-03 18:15:55 +00:00
fluxgen
2e616226fe added random and aspect options for background, thanks mitz 2005-12-03 09:48:32 +00:00
fluxgen
7de6a40c46 minor fix: forgot template above function 2005-11-22 22:27:56 +00:00
fluxgen
4d77f7fbf1 new background style item, making rootCommand in styles obsolete 2005-11-22 21:59:48 +00:00
fluxgen
e621769134 testing replaceString 2005-11-22 21:58:25 +00:00
fluxgen
1faef3ac2d nls for screen argument 2005-11-22 21:09:43 +00:00
fluxgen
f7cfa81bbb const function Resource getString 2005-11-22 21:09:14 +00:00
fluxgen
be1cbd4690 public setRootPixmap 2005-11-22 21:08:07 +00:00
fluxgen
b131f3a8af minor indent 2005-11-22 21:07:34 +00:00
fluxgen
8e404f10dd const fix 2005-11-22 21:07:07 +00:00
fluxgen
8434c42aa8 const resourceValue function 2005-11-22 21:06:49 +00:00
fluxgen
37a435f1d7 indentation 2005-11-22 21:00:07 +00:00
simonb
93e30412af changelog had wrong name, default was from old patch 2005-11-16 22:48:35 +00:00
mathias
28837ee6e1 introduced session.styleOverlay (~/.fluxbox/overlay), all style settings
made in that file will override/overlay the ones made in the used
style. TODO: write more specific docu about it
2005-11-16 22:08:05 +00:00
mathias
6403deb65e just some minor cosmetic issues 2005-11-16 21:54:45 +00:00
mathias
28bf04cc13 resolved minor for compiling under win32/cygwin, multiple symbols 2005-11-16 06:42:50 +00:00
mathias
f14c73ed33 Fixed #1223878, Style reloading on USR2 (patch from Zan)
cosmetic stuff in StringUtil.cc/hh
2005-10-21 19:23:57 +00:00
fluxgen
88de9987f7 add backslash to special chars, fixes bug #1327878 2005-10-20 14:50:50 +00:00
fluxgen
a9f9e6d6ee added replaceString 2005-10-20 14:48:53 +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
mathias
94acb4a27e use fbsetroot in default styles 2005-09-16 05:39:12 +00:00
fluxgen
0989e903e3 minor change 2005-09-14 20:28:29 +00:00
fluxgen
43fc6483b4 moved MenuContext class 2005-09-14 20:28:15 +00:00
fluxgen
8634b9b3ef include memory for auto_ptr 2005-09-14 19:59:26 +00:00
fluxgen
73ee2ebc54 include functional for mem_fun_t 2005-09-14 19:56:14 +00:00
fluxgen
d4d91d0993 include memory for auto_ptr 2005-09-14 19:22:59 +00:00
mathias
b8f155bf36 fixes #1281708, MenuIcon doesnt scale properly, patch from sf.net 2005-09-12 18:27:18 +00:00
simonb
013b07900b tweak last patch for titlebar scroll options 2005-09-08 00:41:05 +00:00
fluxgen
fff4c906b3 bugfix for client menu 2005-09-07 23:19:08 +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
2b2236e97c texture limits were hardcoded to 3200 in TextureRender.cc .. this lead
to useless warnings on huge xinerama setups with those nifty 20' or bigger
lcds ... we use now screen dimensions to set a sane limit for textures
2005-09-03 14:44:07 +00:00
fluxgen
0009bda842 added svn revision number output, thanks php-coder 2005-08-31 20:15:01 +00:00
mathias
da8d245704 --disable-regexp switches from <regexp.h> to <string> in
Regexp.cc .. but it still needs to be compiled. hence the
little fix in src/Makefile.am
2005-08-23 06:39:48 +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
0ffbf55eb3 info about locale path, patch from php-coder 2005-07-07 12:14:55 +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
63475f7796 cleaning, change getCount to numberOfWorkspaces 2005-07-04 18:19:53 +00:00
fluxgen
3626faea73 cleaning, change getCount to numberOfWorkspaces 2005-07-04 18:19:09 +00:00
fluxgen
1727656e0a cleaning, change getCount to numberOfWorkspace 2005-07-04 18:18:32 +00:00
mathias
66a241cc43 if we check the time only ever second we can get into trouble, eg:
assume its 12:34:56.99, displaying 12:34:56 takes some time and so its already
12:34:57 when we display 12:34:56. to fix that i set the time to check the
clock to 0.01 seconds. that shouldnt hurt much since we only redraw the clock
when the string has changed.

a more complex approach would be to analyze the strftime-string and set the
timeout accordingly. but i dont know if its really worth the effort and beeing
a bit off schedule can happen too, just not as often as if you are in seconds
mode.
2005-06-30 08:38:53 +00:00
grubert
a5310fae34 Add missing `template <>` befor ThemeItem<Font>::setDefaultValue. 2005-06-28 13:43:02 +00:00
mathias
a5f7e6f809 - Fix for toggling the toolbar doesnt update strut (thanx C. Monti)
- Little reordering of ToolbarMenu items, more important ones to the top and
  "edit current ws" out... maybe we should think of another way of providing
  menus for the tools .. submenus?
2005-06-28 10:16:59 +00:00
fluxgen
4382b78b95 minor fix for window menu 2005-06-23 22:39:03 +00:00
mathias
a54a2b1409 added forgotten _FBNLS; 2005-06-23 09:22:11 +00:00
fluxgen
fdaefcf795 moved window menu from FluxboxWindow to BScreen 2005-06-23 03:10:26 +00:00
fluxgen
0df6609bb9 added showSubmenu in MenuItem 2005-06-23 03:09:39 +00:00
fluxgen
5373f6d840 moved window menu from FluxboxWindow to BScreen 2005-06-23 03:07:25 +00:00
fluxgen
18cf586249 new files 2005-06-23 02:57:24 +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
simonb
c2ec3065f9 change fbwinframe to use container
move a few frame ops to have most code in Container
2005-06-19 12:12:54 +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
a8d7752804 Screen.cc: not used code
fbgm.in: added amarok
2005-06-18 13:32:56 +00:00
mathias
3d722f2428 *.font.shadow.x and *.font.shadow.x were not correctly read or better,
misinterpreted. so the shadow'ed text was written direct underneath the
    normal text .. and hence invisible.
2005-06-17 23:55:15 +00:00
mathias
a4a6cf9035 little typo which prevented shadowcolor beeing set 2005-06-16 18:21:50 +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
acaa583093 Fixes #1216020, *.font.effect wont get cleared if not defined in style 2005-06-15 06:18:03 +00:00
mathias
5324a82b01 most used items should appear ontop of a menu. so i reordered the
workspacemenu a bit to fit that idea.
2005-06-08 23:03:12 +00:00
mathias
a663db8fd3 Fixed justification in WorkspaceNameTool #1213262, values were set after the
render() call was made.
2005-06-07 09:01:29 +00:00
mathias
99a7f9a110 added -screen to -help 2005-06-04 11:46:42 +00:00
mathias
ef76b45ab1 - Usage of xft-fonts is prefered, except a font-description starts with '-'
- Removed "antialias"-option completly, to enable/disable "antialias"
  use either  <fontname>:antialias=<bool> in the style or use
  Xft.antialias: <bool> in your .Xdefaults
- Added new styleresources: 
    *.font.effect: <halo|shadow>
    *.font.shadow.x : <int>       - shadow x offset
    *.font.shadow.y : <int>       - shadow y offset
    *.font.shadow.color : <color> - color of shadow
    *.font.halo.color : <color>   - color of halo
- Removed 'shadow' and 'halo' options from fontdefinitions:
    !! Style authors have to update their styles !!
- Simplified XmbFontImp to not try all possible fonts to match locale
- Style authors may specify multiple fonts:
    <font1>|<font2>|<font3>
  if loading of font1 fails, fluxbox probes <font2>, etc. The last font is
  "fixed". Hints for style authors:
    - if xft tries to load a font it will _ALWAYS_ return a valid font,
      it doesnt have to look like the one you want to have, read more
      about it: http://fontconfig.org/fontconfig-user.html
    - export XFT_DEBUG=1  before running fluxbox helps to see
      which fonts are picked.
  eg:
      *.font: Verdana,Arial-12:antialias=true|-artwiz-snap-*-
      if fluxbox is compiled with xft this will NEVER try to
      load "-artwiz-snap-*-" since xft gives for sure a font,
      most likely Verdana or Arial but noone knows. So, if
      fluxbox has no xft support the first fontpattern fails
      and fluxbox tries the next one, which might be successful.
      if everything fails, it will use "fixed"
- Added caching of fonts, fonts are only loaded once.
- Fixed #1090902 (slow utf8 start)
2005-06-03 07:25:48 +00:00
mathias
9c27e2e799 deleted the "fallback"-code, which was one of the reasons for slowing down
fluxbox in utf8-locales:

if no fontset is found up to this point its because of
  a) no such font
  b) not supported locale

if we try our best and enhance the basename-list and add some
more generic patterns the xserver will give us a valid
fontset .. which is good coz we have something to work with
but which is BAD coz we return a valid fontset as if we 
have found the font the user wants .. so, every fallback
in higher level code will fail coz we find a valid fontset by any
meaning here. if no fontset can be found, the "fixed"-fontset should
be there already.
2005-06-03 07:22:27 +00:00
mathias
5f489c23e4 * patch from vadim <suhanov_vadim@mail.ru>:
"_BLACKBOX_NOTIFY_WINDOW_ADD was emited before _NET_CLIENT_LIST 
 and _NET_CLIENT_LIST_STACKING lists updates."
2005-06-02 01:39:31 +00:00
mathias
ad5eb13210 * patch from vadim <suhanov_vadim@mail.ru>:
"when i iconify some window it disappears from _NET_CLIENT_LIST until 
 Ewmh::updateClientLis are been called again."
2005-06-02 01:38:03 +00:00
mathias
3d497bb703 * _NET_WM_STATE_HIDDEN is now used correctly -> if the window goes iconic, this
state is set... what about moving it outside of the visible area? we need to
  think about this.
* mixing _NET_WM_STATE_HIDDEN and _NET_WM_STATE_SKIP_TASKBAR is solved, we
  dont do this anymore
* we dont use _NET_WM_STATE_SKIP_PAGER .. so we shouldnt delete it, thats
  handled now correctly -> look at the *State() - functions
2005-06-02 01:36:28 +00:00
fluxgen
f9af363e24 added the ability to use keycode in keys file 2005-05-20 22:25:22 +00:00
fluxgen
c8898e2017 locale path 2005-05-18 08:32:17 +00:00
fluxgen
9e34722e67 locale path 2005-05-18 08:31:58 +00:00
fluxgen
8bbf5e6eed update 2005-05-18 08:31:27 +00:00
simonb
e3e8d5c33b fix systemtray overlap 2005-05-17 11:24:50 +00:00
mathias
33e359a0df Vadim pointed out that _NET_CLIENT_LIST and _NET_CLIENT_LIST_STACKING are not updated
when sending _BLACKBOX_NOTIFY_WINDOW_DEL

 _NET_WM_DESKTOP and _WIN_WORKSPACE had wrong initial values (-1), which lead to probems 
 with (eg) fbpager (unaware of newly created windows and such things)
2005-05-14 01:55:31 +00:00
simonb
5175ac3a40 fix a segfault 2005-05-13 11:01:01 +00:00
mathias
64336d4cec llittle rewrite for the FbTk_istringstream usage.. was needed coz gcc2.95.x
systems had problems before. with this change fluxbox should compile on such
old compilers.
2005-05-12 20:16:45 +00:00
mathias
6280b9de05 replaced setenv() completly by putenv(). since putenv() really puts the
*string into the environment we need to track what we putenv.
2005-05-12 20:03:08 +00:00
mathias
87212dd249 missing #include <typeinfo> 2005-05-12 19:58:47 +00:00
mathias
7d1d67ca78 __APPLE__ doesnt have <nl_types.h> 2005-05-12 19:56:40 +00:00
mathias
59a806799f when the app changes its pixmap we need to trigger that correctly 2005-05-12 19:55:49 +00:00
mathias
44f2af5c10 minor optimization 2005-05-11 08:57:53 +00:00
mathias
f726168051 copy N paste ... icc complained slightly 2005-05-10 19:38:02 +00:00
simonb
5fec1906cc cache the root pixmap (per screen) 2005-05-10 16:29:00 +00:00
mathias
318d76b47c fix from vadim for fbrun-tabcompletion 2005-05-09 07:20:17 +00:00
mathias
aba44f47aa fix for gentoo #91955, remembering the current window-position didnt store the
reference corner to the appsfile.
2005-05-09 06:09:37 +00:00
mathias
4ddda95f20 patch from vadim to fix the issues in input-areas he introduced with his last
patch
2005-05-07 19:33:54 +00:00
simonb
5763339f4c remove default gray background on created FbWindows
(not everything should get a bg set)
2005-05-07 12:59:43 +00:00
mathias
64eb8cd6a9 new code in WinButton was assuming that at ::clear() - time there is always a
valid m_listen_to.winClient() .. which is not true under some circumstance.
i guarded the code accordingly.
2005-05-07 08:06:23 +00:00
simonb
a65511a32e fix titlebar transparency in some cases 2005-05-07 06:25:51 +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
simonb
783a390375 fix wm_name for fluxbox 2005-05-06 15:24:53 +00:00
simonb
90fcc93d6e fix segfault opportunity in menu 2005-05-06 15:22:24 +00:00
mathias
d6ee96775d more keyactions for textbox-patch from Vadim <suhanov_vadim at mail dot ru> 2005-05-06 10:02:03 +00:00
mathias
6c057c6903 Fix for #1160244, #1099704, #1094107:
if the xkb-extension is enabled and the user switches between his/her
keyboardlayouts fluxbox's keybhandling doesn't work well anymore because
xkeyevent.state contains also xkb-related flags and thus we have to handle
that with caution.

KeyUtils now contain 'isolateModifierMask()' to really work only on the
modifiers. why not as part of cleanMods() ? because the XLookupString return
false results, eg TextBox's would only print chars from the first
keyboardlayout.
2005-05-06 09:22:53 +00:00
simonb
7d4f711204 fix some menu drawing issues 2005-05-03 13:53:25 +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
bc3b377efb code cleaning 2005-05-03 09:25:46 +00:00
fluxgen
86ee497b55 more compose and select2nd 2005-05-02 18:55:36 +00:00
fluxgen
ab3309338f Select2nd file 2005-05-02 12:14:31 +00:00
fluxgen
dce0e2e40c using Select2nd 2005-05-02 12:10:01 +00:00
fluxgen
6b943ec69a select 2nd element in pair 2005-05-02 12:03:15 +00:00
fluxgen
d3362370f5 cleaning, create and delete tabs with FbWinFrame createTab/removeTab 2005-05-02 01:17:08 +00:00
mathias
55f62bc5cc Fix #1086673 ArrangeWindows on shaded aterms causes inconsistency (Mathias)
we now place shaded Windows above the normal windows. ArrangeWindows
touches only windows on the current (xinerama)-head.

there are still some open issues with this, look at my notes at the function
itself.
2005-04-30 13:10:15 +00:00
fluxgen
815e0cb09a minor const fix 2005-04-30 10:29:06 +00:00
mathias
cd3062405f commited the wrong file in the last session :/ 2005-04-29 18:02:14 +00:00
mathias
9214e519b3 added new IconbarModes:
NoIcons          - display all noniconified windows
  WorkspaceNoIcons - display all noniconified windows on the current
                     workspace

modified the nls-files accordingly
2005-04-29 16:54:30 +00:00
mathias
e2acd2b04c removed dead code 2005-04-29 16:46:26 +00:00
mathias
08601c23d3 enabled MenuItems / Separators are not clickable and the same logic should
apply to keys.
2005-04-29 11:20:41 +00:00
fluxgen
7e11e99f79 minor stuff 2005-04-29 02:53:34 +00:00
fluxgen
dba0d4ffb3 display accessor 2005-04-29 02:53:06 +00:00
fluxgen
c7eb5b0332 transient window fix 2005-04-29 02:52:36 +00:00
fluxgen
40d026ff99 transient window fix 2005-04-29 02:49:24 +00:00
simonb
94e3fa88fc revert mathias last change, and fix it differently using info already
there
2005-04-28 14:20:59 +00:00
mathias
f1c5abd17f i added an attribute to FbWindow to mark windows which are only used as
"carrier" (maybe a temporarly name?) ... carriers dont need background-updates
.. ever.

this leads to a big performance"boost" over the last commits. before we
updated also the windows which are the hosts for the apps (m_window and
        m_clientarea in FbWinFrame) -> bad idea.
2005-04-27 21:18:41 +00:00
simonb
c0f7258063 fix background setting + initialisation 2005-04-27 17:57:40 +00:00
simonb
690030444b add rough support for non-default depth pixmaps. Saves us having ghost
holes in windows
2005-04-27 17:45:56 +00:00
simonb
9970dd11c7 fix a few more bugs with recent reworking stuff
Some fixes could incidentally fix a few other bugs... the flaws were
pre-existing, I've just been weeding out a lot of duplication
2005-04-27 15:15:36 +00:00
mathias
b97c3db251 close #1182770
if someone changed the session.screen0.workspaces:<int> value and fired a
"reload config"/reconfigure-Command fluxbox crashed.

changes:

  - cleaner way of reading in the workspacenames
  - cleaner way of initialize the workspaces in BScreen()
  - on BScreen::reconfigure we add/delete Workspaces to the 
    current screen until init-file and fluxbox are in sync

    -> the user changed the initfile and pressed reload, so
       imho he wants to have the changes in the init-file realized.
2005-04-27 09:52:30 +00:00
simonb
6df9d6ed54 fix drawing foreground when transparency off 2005-04-26 11:37:29 +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
b49432be05 we are fluxbox, not blackbox. 2005-04-25 09:43:31 +00:00
mathias
adc88698fb #1188690, fbrun segfault 2005-04-25 06:47:01 +00:00
mathias
9288ae8eb0 close #956325 2005-04-23 10:03:06 +00:00
mathias
efe4ead214 fixed #960535, Deiconify with apps set 'sticky' 2005-04-23 08:44:45 +00:00
mathias
b0076fb3b4 fixed #1020399 aka broken ShowDesktop, its an error to travers the
workspace-windowlist and deiconify each window coz that list is
modified each time a window is iconified. a copy of that list solves
the problem.
2005-04-23 08:11:42 +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
0cc3391cec fixed a problem with iconified + sticky window not displayed in the iconbar
when running in WorkspaceIcons-mode
2005-04-22 11:25:07 +00:00
mathias
4c091d0529 fixes #1133809, ArrangeWindows doesnt respect available space on the
workspace (toolbar and slit would be covered)
2005-04-21 09:05:02 +00:00
mathias
1591c95285 fixes a problem with clients which define/request a Strut (see
http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#id2507548), eg
kicker: after killing/closing kicker the availableWorkspaceArea is not
recalculated which lead to kind of invisible barrier where the Strut was.
2005-04-20 15:55:56 +00:00
mathias
e7cf5cbe3c fixes a problem with snapping to the slit. slit's borderwith wasnt part of the
strut.
2005-04-18 16:05:26 +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
6e774e79e1 fix a few drawwing issues, esp menu opening offscreen 2005-04-15 00:39:54 +00:00
mathias
95ea1a0151 cosmetic 2005-04-14 17:12:33 +00:00
simonb
ddcecec37e fix a few small bugs from recent big patch 2005-04-13 14:39:25 +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
eb9161016b no need to compile default.cc for every run, so we ll check for a
change of the revision-number
2005-04-07 02:14:29 +00:00
simonb
007c495239 Tidy up some redundant pixmap allocs 2005-04-02 14:59:38 +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
1a6d067013 move the slitframe out of sight at startup 2005-03-17 14:24:36 +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
cfdba894ed added new option to specify, on which screen
fluxbox should handle the windows. default behavior is to handle 
each available screen. closes #1159809. usage:

   -screen <"all"|int[,int]>

eg:  
    
    $> fluxbox -screen 0,2      will run fluxbox on 0.0 and 0.2 so 
                                one can run any other wm on 0.1. 

    $> fluxbox -screen all      default, fluxbox manages all screens
2005-03-16 22:51:54 +00:00
mathias
150777e336 fix for #1152450, when having multiple screens the rootCommand's were
called too often:

  m_root_menu is locked for the current screen when loading the
  style for the current screen, but not for the screens already
  initialized and thus its executed when called thru Theme::reconfigure();
 
  now only the themes on the same screen are affected by the load-routine.
2005-03-16 22:44:48 +00:00
fluxgen
68708a89cb with menu, style, keys, init options, thanks php-coder 2005-03-16 08:42:18 +00:00
mathias
730e398b82 commands with trailing whitespaces were problematic coz the 'argument' was
notempty (eg :NextWorkspace or :PrevWorkspace want to have the 'argument'
        really empty).
now the first thing we do is to remove whitespaces from begin and end of the
line.
2005-03-10 16:51:24 +00:00
fluxgen
bac15c745e using stringstream header in FbTk 2005-02-13 16:36:54 +00:00
fluxgen
b8a39c1e6c stringstream header 2005-02-13 16:34:37 +00:00
fluxgen
e822437cb8 added stringstream header 2005-02-13 16:34:14 +00:00
fluxgen
8e0a3300ad stringstream 2005-02-13 16:33:49 +00:00
mathias
4a7d0b8434 cosmetic + updated copyright year 2005-02-10 10:24:31 +00:00
mathias
39e27876dd updated copyright year 2005-02-08 17:09:56 +00:00
mathias
b82b3b98d2 copyright year 2005-02-07 23:39:57 +00:00
mathias
d74e851955 updated copyright date 2005-02-07 13:51:50 +00:00
mathias
703fc0b0ee cosmetic white-space-stuff and/or copyright dates 2005-02-07 13:46:55 +00:00
mathias
8e33dad39f white-space cosmetic 2005-02-07 13:45:31 +00:00
mathias
31d8f96685 updated copyright dates 2005-02-07 13:42:43 +00:00
mathias
17abbcb3a7 fixed uninitialized pointer which could lead to segfaults when the user
specifies nonexistent/invalid tool-names in the init-file
2005-02-04 17:27:39 +00:00
mathias
b7bf873aa0 fixes the year for fluxbox -version
added a way to display the svn-revision-number in fluxbox -info
2005-02-03 16:46:46 +00:00
mathias
78c0048b5c changed SIGNAL handling to:
SIGHUP: restartfluxbox
  SIGUSR1: load configuration
  SIGUSR2: reload configuration

TODO:

  whats the essential difference between "loading" and "reloading"?
  maybe we can drop one of that functions
2005-02-02 15:22:58 +00:00
mathias
67098a21ea closes #1107213, 64bit issues with XChangeProperty
submitted by  Matthieu Herrb <matthieu.herrb@laas.fr>
2005-01-31 16:55:38 +00:00
mathias
5e9814e091 fix to solve compileproblems under freebsd4 2005-01-24 20:02:03 +00:00
mathias
6976bf4de7 copyright date 2005-01-24 18:43:01 +00:00
mathias
cf46669bc1 copyright date 2005-01-24 18:34:57 +00:00
mathias
6b8fca511c copyright date 2005-01-24 18:02:34 +00:00
mathias
297dae0137 copyright dates 2005-01-24 17:35:34 +00:00
mathias
a57694a901 copyright dates 2005-01-24 17:14:24 +00:00
mathias
6f53cc5120 cosmetic 2005-01-20 23:48:24 +00:00
mathias
ab1a422ac6 copyright date 2005-01-20 22:49:56 +00:00
simonb
c89d54205f fix tab detach - the window wasn't shown after attachTo 2005-01-20 22:41:34 +00:00
mathias
6fbe0e44d6 applied patches from openbsd-ports, closed #1105041 (sf)
execl needs a terminating NULL at the end, a '0' would be
    converted to "int 0" on 64bit-systems
2005-01-20 12:30:35 +00:00
mathias
52a8360e5b updated copyrights 2005-01-18 19:06:04 +00:00
fluxgen
78f3ca5db6 cleaning 2005-01-15 13:35:48 +00:00
fluxgen
f54125bfb2 minor stuff 2005-01-15 13:16:05 +00:00
fluxgen
676c89ab59 fixed some issues and added testMenu target 2005-01-15 13:15:49 +00:00
fluxgen
f947c73420 testing menu theme and parser 2005-01-15 13:14:13 +00:00
mathias
69e86c6c25 systemtray-tool has now a propper background. its styleable via the
toolbar.systray.* ressource, same way as the clock.
2005-01-14 09:58:16 +00:00
mathias
a07d61e63d moved ThemeItem<bool> - implementation to FbTk/ThemeItems.cc 2005-01-14 09:43:31 +00:00
mathias
4f9370cafa copyright 2005-01-14 09:42:07 +00:00
mathias
f0fd05ec25 copyright 2005-01-14 09:40:40 +00:00
mathias
d115d43cc0 copyright updated 2005-01-14 09:35:41 +00:00
mathias
e0550eb098 cosmetic change 2005-01-12 06:22:26 +00:00
mathias
11fa3b8585 default-values for some path-related resources (groups, apps etc) 2005-01-12 06:16:03 +00:00
mathias
2a49732159 fix for #1099278 2005-01-11 12:39:01 +00:00
mathias
5bbab52d6d fix for #1099950, Missing initialization in FbTk/FbWindow.cc 2005-01-11 12:05:10 +00:00
mathias
baaa66787c ungrabbuttons on windows we dont handle anymore (withdrawn) 2005-01-11 04:56:29 +00:00
mathias
8054e16fab fix for #1087220 (Wrong handling of XWithdrawWindow)
an XWithdrawWindow unmaps a window and sends a synthetic UnmapEvent after
that. when the second UnmapEvent arrives we have to set either the WM_STATE to
WithdrawnState or delete it. i decided for deletion so its absolutly clear
its not any longer under our control
2005-01-10 09:04:46 +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
mathias
0c74e8c935 Simon's last changes lead to segfaults when the users specified <Sticky> or
<Workspace> in apps-file. Reason is, that an unmanaged window is not yet
assigned to an workspace and thus the returned workspacenumber is -1 ... which
leads in combination with getWorkspace(nr) to an invalid workspace (0x0) ...
This also fixes the problem with several deiconify-modes of the iconbar, when
the iconbar is in icons-only mode (same reason)

The other changes in the files are just cosmetic, i throw out the comments
about the changes Simon did coz they make sense and are correct imho.
2005-01-05 01:56:19 +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
mathias
0134038fee fix problems with imlib2 on restart:
only when using "imlib_load_image_with_error_return" as the loading
    function imlib2 seems to avoid trouble when an image with <filename>
    doesnt exist. all other loadroutines lead to heavy problems when 
    fluxbox shuts down and tries to restart (memleak(?), distorted xressources
    etc)

    i ll analyze this further. another open issue with imlib2 is that it
    doesnt work when xserver/fluxbox is running in dualscreen-mode (not
    xinerama), no valid pixmaps are visible on the second head. dunno why
    (yet).
2005-01-02 06:27:45 +00:00
mathias
c7a3200730 small issues:
- added a guard so no invalid(0)-handler is deleted at shutdown

- "if (s_image_map[extension] == 0)" -> creates an entry for sure, we
  dont want this.
2005-01-02 06:21:45 +00:00
fluxgen
45f00785e9 fixed remove workspace bug 2004-12-30 14:33:38 +00:00
fluxgen
a0340e73a7 fixed shape bug 2004-12-28 22:21:15 +00:00
mathias
ddfb14a264 correct isExecutable 2004-12-24 06:14:08 +00:00
mathias
bc7c988561 adds imlib2-support to fluxbox: allows us to load several imageformats
besides xpm. to get imlib2 support in fluxbox one has to 
 
  ./configure --enable-imblib2

default is disabled.  a fluxbox-binary that supports imlib2 will have 
IMLIB2 in "fluxbox -info"-output

explanation to the changed files:

 * xft.m4 -> acinclude.m4 + added ac_path_generic.m4 
   (from http://ac-archive.sourceforge.net/Miscellaneous/ac_path_generic.html)

 * configure.in, Makefile.am, src/FbTk/Makefile.am changed to handle
   imlib2-support

 * Font.cc/hh Image.cc/hh App.cc fluxbox.cc consistent way of init for global
   stuff for fonts and imagehandlers.

 * rest of changes just add the imlib2-code, pretty straightforward
2004-12-21 23:42:09 +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
a88d3b39ad added deleteProperty to FbWindow 2004-12-21 16:12:28 +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
mathias
f3dfb80c40 added url for gnome-hints 2004-12-21 16:04:14 +00:00
mathias
33d90f7a5e fix segfaulting when new text is smaller than the oldtext,
m_start_pos has to be 0 before calculating anything else.
2004-12-18 02:44:11 +00:00
mathias
b3fa5c2428 * moved FbTk/Directory.cc/hh over to FbTk/FileUtil.cc/hh which contain now
file and directory - helproutines.

* created the FileUtil-namespace which contains file-related functions, moved
  those functions out of Directory - code

* changes to the rest of the files to follow those changes
2004-12-18 01:29:22 +00:00
mathias
6458b1b485 cosmetic, double #include of the same header 2004-12-18 01:10:33 +00:00
mathias
0096ce6ea9 called the wrong 'update' function for the sendtomenu 2004-12-17 18:35:18 +00:00
mathias
eb42a7806d icc complaint about a "possible" conflict between the
FbTk::Menu::update(Subject*) and FbTk::Menu::update(int index)

to avoid this, we rename FbTk::Menu::update(int index) 
    -> FbTk::Menu::updateMenu(int index)

this is mostly cosmetic, but if it makes the life of a compiler happy, well ..
be happy icc :)
2004-12-13 14:03:17 +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
fluxgen
6ba7744f65 Tab command, thanks Steeve Lennmark, steeve dot lennmark at mediasvar dot se 2004-12-10 09:49:01 +00:00
mathias
55163188b5 fix #1080323, a missing header 2004-12-10 03:42:53 +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
82a03ec83e changing the timeformat of the clocktool is done via the editdialog which
causes a reconfigure .. which causes a loop over all toolbaritems and call
updateSizing() .. where we should check, if a new timeformat makes the clock
bigger or smaller...

closes #1026096
2004-12-10 01:58:09 +00:00
mathias
831daf5876 minor cosmetic issue 2004-12-07 15:55:12 +00:00
mathias
e2f9a1e7bc grrr .. future code commited, sorry about that 2004-12-06 22:30:35 +00:00
mathias
253082dbfa fixed issue with clientUp/Down in SlitClientMenu 2004-12-06 22:09:58 +00:00
mathias
ce95eedd50 typo 2004-12-03 02:53:09 +00:00
mathias
b15315445d added middle/rightclick on slitclient-menu-items to move the client up/down in the slit 2004-12-02 15:30:59 +00:00
mathias
7ed6c5ed29 * leftclick on the slitclients in the clientmenu enables/disables it
* wheel up/down move the slitclient up/down
* visual cosmetic for the slitclient-menu
* added "Save SlitList" - menuentry in slitclient-menu
2004-12-02 03:12:55 +00:00
mathias
96de2d57d6 really set the default deiconifyMode to FOLLOW 2004-12-01 20:43:53 +00:00
mathias
71abcf7343 deiconifyMode: Follow is the new/old default (as it was before deiconifyMode was introduced) 2004-12-01 14:45:32 +00:00
mathias
33db9b21e2 "fixes" http://www.securityfocus.com/archive/1/382398/2004-11-24/2004-11-30/2
and all related bugreports elsewhere. "fixes" because i think the real problem
is in xft somewhere somehow, but i dont have any prove (yet).

thanx to Rob Stevens for informing us about that problem.
2004-11-30 22:42:56 +00:00
mathias
ec5724e807 fix a problem with java-dialogs which dont open correct (thanx Scott Moser)
furthermore, and this is really interesting, this seems to fix also the bug
widely known as g.o.d - the grab of death. the g.o.d seems to freeze fluxbox
but let the mouse still be moving and no high-cpuload can be seen. the
(un)lucky can force the g.o.d by clicking like a weirdo and pressing keys like
crazy and then maybe it will happen. we are not quite sure WHY exactly this
happens but as it seems: XSync(true) caused the trouble.

we still keep watching this issue but hopefully noone experiences bad
"freezes" anymore. (/me crosses fingers)
2004-11-30 22:19:35 +00:00
mathias
c8d71542dc adds "kill" to the windowmenu
closes #1075142
2004-11-30 01:26:00 +00:00
mathias
839d5b6ad8 minor issue 2004-11-30 01:23:24 +00:00
mathias
c813375f39 fix possible segfaults in DeiconifyMode::SEMIFOLLOW and FOLLOW ...
the raisAndFocus after the sendToWorkspace makes problems, dunno why exactly
so this is still an open issue imho.
2004-11-28 12:41:57 +00:00
mathias
2e3b7633ed forgotten initialization of frame.y_hidden 2004-11-25 11:05:58 +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
mathias
a932a7a801 patch from Rob Stevens to add dragndrop-reordering of the tabs 2004-11-24 23:27:28 +00:00
mathias
a128e9829f patch from Rob Stevens to add dragndrop-reordering of the tabs 2004-11-24 23:26:38 +00:00
mathias
ad095f9f06 enable title of windowmenu when called from iconbar 2004-11-24 23:24:55 +00:00
mathias
443e7081d4 fix the hiding of the menu when the menufile-timestamps changed 2004-11-24 12:26:12 +00:00
mathias
9f4b2978c3 fix possible segfault: auto_ptr fluxbox may be 0 .. 2004-11-24 11:46:07 +00:00
mathias
b47f050367 cosmetic (tabs -> spaces)
fix possible memleak with XineramaQueryScreens:
    "Returned array should be free with XFree()" (from Xinerama.h)
2004-11-22 19:40:34 +00:00
mathias
5525d29b9b ensure sane values for ResizeCmd 2004-11-22 18:46:59 +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
24119724db undermouseplacement .. ensure the new window is on the screen. patch #1052534, close #1048000 2004-11-22 08:30:23 +00:00
mathias
2082ccc1a4 fix problem with iconic windows on startup 2004-11-20 18:43:55 +00:00
mathias
19bc596b84 fix segfaults on restart/exit, still issues with former iconified windows
at startup of fluxbox

should close #1067582, #1067580, #1060912
2004-11-20 18:12:51 +00:00
mathias
f6382f08ba fix for adding/removing desktops (thanx Øyvind Albrigtsen) 2004-11-20 04:20:46 +00:00
mathias
66a3fc1c4d fixes fontsituations when text disappears in non-antialias mode
primary problem was to use utf8 when in fact the FontSet wasnt
utf8.
2004-11-19 12:00:20 +00:00
mathias
993c17cf2e svn propset svn:keywords "Id" 2004-11-19 11:37:27 +00:00
mathias
1f133063aa fixed missing init for pointer in destructor .. could lead to segfaults 2004-11-17 16:39:30 +00:00
mathias
6fe16959c2 needed init for font-test 2004-11-17 15:41:22 +00:00
mathias
ca5d12bbde fix bug in Screen destructor, can lead to segfault at exit/restart 2004-11-17 01:21:50 +00:00
akir
467493b7bd the remember-menu now acts like a boolmenu, shows the current rememberstate
a bit better
2004-11-09 11:28:55 +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
fa5202c120 accepted patch #1057446, improved iterator in timer-code 2004-11-01 02:43:07 +00:00
akir
fa1692180e fix #1057499 2004-10-31 23:04:30 +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
6bd629bbc5 fix for #1036982 (defaults.hh isnt distcleaned) 2004-10-28 15:37:32 +00:00
akir
5b68a7548c i forgot to remove a silly warning :) 2004-10-25 22:57:32 +00:00
akir
d1a9c036b2 closes bug #1039658
" When you choose a transparency of less than 255 for a
unfocused window, the window title f the unfocused
window will not be transparent.
Only the buttons will."
2004-10-22 09:43:53 +00:00
akir
f5d7833b32 added iconbar.wheelMode and iconbar.deiconifyMode 2004-10-22 00:35:29 +00:00
akir
33b55697ab removed now obsolete #includes coz we moved FbTk/ThemeItems.hh -> FbTk/ThemeItems.cc 2004-10-21 16:49:19 +00:00
akir
66afb1e517 moved ThemeItems.hh -> ThemeItems.cc 2004-10-21 16:46:50 +00:00
akir
6b541c9162 modified to make it work with the ThemeItem.hh -> ThemeItem.cc action 2004-10-21 16:45:30 +00:00
akir
a63a27886d moved ThemeItems.hh to ThemeItems.cc, solves some linkissues 2004-10-21 16:44:06 +00:00
akir
4649df4084 back to setenv for non-irix for now, we need to look deeper into this some day. 2004-10-21 13:05:50 +00:00
akir
b1608602a9 minor fix for pedantic compilers (mipspro) 2004-10-21 11:08:04 +00:00
akir
8c377e30e8 fix:
Explicit specialization of function
          "FbTk::ThemeItem<FbTk::Font>::setDefaultValue" must precede its
          first use.

for mipspro again
2004-10-21 11:05:06 +00:00
akir
8672a337b3 fix missing 'new(nothrow)' on mipspro 2004-10-21 10:57:38 +00:00
akir
4f1fbbe6e1 fix missing namespace 2004-10-21 10:56:05 +00:00
akir
93696499f3 fix missing namespace 2004-10-21 10:49:20 +00:00
akir
5136d4936e removed unneeded code + some minor fix for mipspro 2004-10-21 10:46:21 +00:00
akir
8086dd43dd missing namespace 2004-10-21 10:40:37 +00:00
akir
b44cd19809 not all compilers have __FUNCTION__ (mipspro) 2004-10-21 10:38:25 +00:00
akir
bbb5259a88 missing template<> 2004-10-21 10:36:57 +00:00
akir
0d7f757c2c fixes missing header to avoid missing declarations (mipspro) 2004-10-21 10:29:49 +00:00
akir
d51d01cc49 fix to avoid:
Explicit specialization of function "FbTk::ThemeItem<int>::setDefaultValue"

(mipspro)
2004-10-21 10:26:13 +00:00
akir
35fb9fe291 putenv is more platform independent 2004-10-21 10:24:34 +00:00
akir
0ebe06822d fix for wrong placed end of namespace }; (thanx mipspro :)) 2004-10-21 10:23:58 +00:00
akir
b21d236d6d fix for some pedantic compilers (mipspro) 2004-10-21 10:21:03 +00:00
akir
70acd21472 removed unused variables + cosmetic issue for some compilers (mipspro) 2004-10-21 10:18:40 +00:00
akir
1d9a172a79 meaningless const qualifier removed 2004-10-21 10:16:55 +00:00
akir
b7190ee2e5 fix for mipspro: no 'new(nothrow)' available for MIPSpro Compilers: Version 7.3.1.3m 2004-10-21 10:03:43 +00:00
akir
e53e1b3b23 missing default value for session.appsFile added 2004-10-19 17:23:08 +00:00
akir
3e83f5941f added session.appsFile to the ressources 2004-10-19 09:01:49 +00:00
akir
45726d3016 if the systemtime is set back the timers wont be updated.
solution: add the delta to all of our timers too.
2004-10-19 08:59:44 +00:00
akir
1ace87ac15 fixes MIPSpro Compilers: Version 7.3.1.3m issue 2004-10-18 20:10:37 +00:00
akir
496d73d899 rewritten fluxbox-restart code, all destructors are called before the
new program is started. the former method didnt do that.
2004-10-18 01:26:54 +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
akir
9a56a3cf1a respect the users wish (followModel) to what happens if a window gets focus which is not on the current workspace 2004-10-16 22:20:05 +00:00
akir
a6d4a3563c added followModel Ressources, dunno if the name is so clever, i am open for other suggestions 2004-10-16 22:18:56 +00:00
rathnor
9fbf1ab395 fix mainWarnDisplaySet -> mainWarnDisplayEnv 2004-10-11 22:48:35 +00:00
akir
b610274539 added focusTabMinWidth 2004-10-10 16:12:48 +00:00
akir
df9ddbbae8 added iconbar.iconTextPadding 2004-10-10 16:11:25 +00:00
akir
d30e16f159 added session.tabPadding and session.focusTabMinWidth 2004-10-10 16:06:24 +00:00
akir
876a70fce2 added padding: space between text and the border 2004-10-10 16:04:33 +00:00
rathnor
af9e76fce5 * Update de_DE Translation and add some missing NLS values
(Thanks Christian Storm)
    - also a tiny cleanup of weird nls set
2004-10-10 12:00:37 +00:00
akir
565db1bcda entering @ and ~ from germankeyboards work again
added some stuff to let the user use the numpad too
2004-10-08 11:52:33 +00:00
akir
0fab25bfd2 we dont remove the scrolllock() modifier from the keystate anymore -> lead to problems with altgr on german-keyboards -> no @ in textbox's possible. 2004-10-08 11:51:16 +00:00
akir
fbbd335dce cosmetic 2004-10-08 11:49:55 +00:00
akir
9c3ad19748 added LC_TIME so the ClockTool gets the right locale 2004-10-07 09:52:28 +00:00
akir
0e8ac3839d tiny forgotten thingy from the MAN :) 2004-10-06 19:19:43 +00:00
akir
a5b9315b33 fix some keymovement issues, dunno if its completly correct that way. perhaps
a rewrite of the movement stuff is needed one day.

modified buttonPressEvent so it will place the cursor to the right place
2004-10-06 19:05:12 +00:00
akir
d673098ef8 removed unneeded m_font 2004-10-06 19:02:03 +00:00
akir
6f96757fc4 added :Export / :Setenv command 2004-10-06 11:40:28 +00:00
fluxgen
997d7d7224 allocate red, green and blue buffers only for gradients 2004-10-06 09:30:54 +00:00
fluxgen
662d1a459c setTile for X Drawable 2004-10-06 06:50:27 +00:00
fluxgen
b5b5fa7b53 fixed compile 2004-10-06 06:16:50 +00:00
rathnor
c6990baeea oops, missed a bit 2004-10-04 16:01:43 +00:00
rathnor
9128a64e62 don't require [begin] in included files 2004-10-04 15:37:58 +00:00
rathnor
07af4ff595 fix usage of setlocale return value, which returns a pointer to static
memory, which we need to promptly copy
2004-10-04 12:43:52 +00:00
akir
be19b59d0f title of current tab-window is now shown in the iconbar-buttons 2004-09-30 18:45:26 +00:00
akir
c0777f792c fix to make separators are not clickable/selectable 2004-09-29 09:58:11 +00:00
rathnor
15547c4179 fix build issue, use cerr instead of fprintf(stderr 2004-09-24 06:23:17 +00:00
akir
e8c813c38c fixed a minor bug that can lead to HIGH cpuload under some circumstances.
actually we must ensure that only timers with a valid handle are added to the
timerslist.
2004-09-19 21:15:47 +00:00
rathnor
87c7c80847 make reconfig an alias for reconfigure 2004-09-16 14:58:28 +00:00
rathnor
48e9c810d7 fix menu creator not using args for some commands 2004-09-16 14:08:46 +00:00