Commit graph

884 commits

Author SHA1 Message Date
Mathias Gumz
bf15250292 merged 2008-01-03 07:56:59 +01:00
Mathias Gumz
b73411a95f moved seldom used code to where it is actually used, no need to include code into compilation when its not needed 2008-01-02 22:44:16 +01:00
Mark Tiefenbruck
6ea1ed8cfa fix border width on synthetic ConfigureNotify events 2008-01-01 19:10:38 -08:00
Mark Tiefenbruck
72d2f0e481 fix compatibility with older gcc versions 2007-12-30 14:58:41 -08:00
Mathias Gumz
04cd2fd14c removed some unneeded headers 2007-12-30 16:32:53 +01:00
Mark Tiefenbruck
4cc810b0d3 remove some (hopefully) unneeded header includes 2007-12-29 22:44:11 -08:00
Mathias Gumz
de6d340ba3 forgotten inlines from previous round 2007-12-30 01:36:37 +01:00
Mathias Gumz
e1f362ae76 'inline' in class declaration is implicitly inline 2007-12-29 22:38:53 +01:00
Mark Tiefenbruck
8e96ffb74b moved DelayedCmd from Screen.cc to FbTk/Timer.cc, added it to the keys file 2007-12-28 01:19:33 -08:00
Mark Tiefenbruck
0f6b73f36a move shape handling from FbMenu to FbTk::Menu 2007-12-28 01:14:19 -08:00
Mark Tiefenbruck
2940869cd7 merge MenuTheme with FbTk::MenuTheme 2007-12-27 23:16:17 -08:00
Mark Tiefenbruck
62bcfaf0e4 move Shape to FbTk 2007-12-27 22:52:48 -08:00
Mark Tiefenbruck
0ec165e85b move STLUtil to FbTk 2007-12-27 22:22:38 -08:00
Mark Tiefenbruck
32eb2a148e move RegExp to FbTk 2007-12-27 22:15:06 -08:00
Mark Tiefenbruck
39224b0142 move Parser to FbTk 2007-12-27 21:52:00 -08:00
Mark Tiefenbruck
e8a2f155e8 moved Container to FbTk 2007-12-27 21:47:55 -08:00
Mark Tiefenbruck
00ceefd884 moved BorderTheme and TextTheme to FbTk 2007-12-27 20:39:31 -08:00
Mark Tiefenbruck
b5c354b994 architecture astronomy 2007-12-27 13:55:24 -08:00
Mark Tiefenbruck
1f5cd12fac simplify the window transparency menu and handling a bit 2007-12-26 20:42:10 -08:00
Mark Tiefenbruck
f5024351e7 stupid & 2007-12-26 13:50:44 -08:00
Mark Tiefenbruck
f3790fb3e4 revert previous patch until it can be fixed 2007-12-26 13:44:55 -08:00
Mark Tiefenbruck
b2546389a5 changing focusnew/mousefocus should affect windows that are already open 2007-12-26 13:31:55 -08:00
Mark Tiefenbruck
9daf464b28 fix showing program icons with depth=1 in menus 2007-12-24 21:58:50 -08:00
Mark Tiefenbruck
eaabe0321d make bit depth accessible from an FbDrawable 2007-12-24 21:15:17 -08:00
Mark Tiefenbruck
54eda44f85 fix menuitem height on startup 2007-12-20 18:25:50 -08:00
Mark Tiefenbruck
aef3155784 convert macro command parsing to use new StringUtil function 2007-12-20 12:52:20 -08:00
Mark Tiefenbruck
03dce043b7 added ForEach key command 2007-12-20 12:23:56 -08:00
Mark Tiefenbruck
98c5cea5f5 fix torn menus 2007-12-17 22:52:30 -08:00
Mark Tiefenbruck
c01bd6e9fd holding control will now keep the menu open 2007-12-17 21:44:17 -08:00
Mark Tiefenbruck
31df2d8bd6 make MenuItem responsible for decision to close menu when clicked 2007-12-17 21:09:20 -08:00
Mark Tiefenbruck
0ca0aa1ac2 fix initialization of menu fonts 2007-12-16 13:13:22 -08:00
Mark Tiefenbruck
4a7a143713 load style before loading theme objects, remove duplicate theme load 2007-12-16 00:50:59 -08:00
Mark Tiefenbruck
8516f1e2a2 changed CommandRegistry to a template class, renamed to ObjectRegistry<Type> 2007-12-15 19:36:01 -08:00
markt
d90befb430 StringUtil::removeFirst/TrailingWhitespace didn't truncate a string that was only whitespace 2007-12-14 20:05:14 +00:00
markt
b001ea9f1f close menus when they lose focus, instead of on [exec] commands 2007-12-13 18:42:05 +00:00
markt
8b7464046c added FbTk::CommandRegistry, decentralized command parsing, and made them auto-register 2007-12-13 05:48:00 +00:00
markt
474e201745 only allow one open menu at a time 2007-12-11 19:29:00 +00:00
markt
bb6906fa80 added special FocusIn/Out MouseOver/Out ChangeWorkspace keys 2007-11-22 20:21:47 +00:00
markt
675bc5d66a added conditional statements to keys file 2007-11-22 04:07:57 +00:00
markt
08ebff4b31 move titlebar click handling to FluxboxWindow, fix buttons getting ungrabbed 2007-11-20 19:01:45 +00:00
markt
5d7043320d allow arbitrary window patterns in iconbar 2007-11-12 21:59:43 +00:00
fluxgen
c7d4438d91 fixed bug #1809786 2007-10-18 17:37:46 +00:00
markt
a59428d67a merged changes from pre-devel 2007-10-13 21:51:37 +00:00
markt
16218ae90b fix crash when changing toolbar visibility with empty toolbar.tools 2007-09-08 18:38:30 +00:00
markt
538e33fedb some minor changes 2007-08-05 22:28:11 +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
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
18cd70f749 save workspace names, and some fixes for menu behavior 2007-07-07 01: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
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
8f89c86592 update menu xinerama settings after moving 2007-06-03 23:51:11 +00:00
fluxgen
75f8d95c17 fixed bug #1718112, memory leak in FbWindow::textProperty 2007-05-19 11:42:44 +00:00
markt
cd73887b11 added include command to ITypeAheadable.hh header for tolower() 2007-05-17 20:35:09 +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
mathias
6ac57655d9 basicly cosmetic changes, patch by slava semushin 2007-04-17 07:52:40 +00:00
markt
3b9351be77 menu from workspacename tool wasn't focused, and fixed unpressed button rendering 2007-04-08 18:01:01 +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
markt
a744b152bb fix a little compile error on some machines 2007-03-21 22:52:47 +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
d948abb81b fixed parentrelative menu highlight bug 2007-03-11 19:07:42 +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
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
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
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
markt
3503f75903 lots of unrelated fixes 2007-02-27 17:46:48 +00:00
markt
68aa6be216 little sanity check 2007-02-25 17:39:47 +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
6fdda1a31d added mouse bindings to the keys file 2007-02-09 18:13:01 +00:00
markt
07a3b3939b clicking on the edge of a button didn't work 2007-02-04 18:41:08 +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
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
feb56381d7 various changes to menu behavior 2007-01-21 18:43:22 +00:00
markt
6ed9f38b7a several fixes for background option in styles 2007-01-14 19:00:18 +00:00
markt
45743c6f42 fix another 64-bit window property 2007-01-08 21:12:47 +00:00
simonb
a1b78a1e6d I overkilled RefCount. Too tired. Heres the proper fix. 2007-01-07 14:58:10 +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
simonb
1f7b12cc49 move triangle drawing into FbDrawable
Make MenuItem triangles proportional
2007-01-06 07:38:04 +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
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
aeac1b3344 scaling color values so that they have the right intensity 2007-01-02 06:31:23 +00:00
markt
9d1447b0d5 more dead functions 2006-12-22 05:44:42 +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
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
857e96049b added CachedPixmap 2006-10-16 19:41:57 +00:00
fluxgen
9f4baeb0fc cached pixmap helper, works like auto ptr for cached pixmaps 2006-10-16 18:47:27 +00:00
simonb
b1b8bd12ae fix minor menu separator highlight issue 2006-08-14 13:45:05 +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
0954a0b61d fix torn menus on exec 2006-07-26 20:20:52 +00:00
markt
be2f40a10d use a timer to make sure focus always reverts if possible 2006-07-23 09:51:54 +00:00
markt
a72fc5e002 unfix *lock modifiers, ignore scroll lock on events 2006-07-21 08:36:12 +00:00
markt
f9ade8947c properly revert focus when two windows close at the same time 2006-07-20 07:15:59 +00:00
fluxgen
06320420a5 Fixed bug #1362913, did not check format pointer. 2006-07-16 15:55:19 +00:00
markt
349441ec6e dead function 2006-07-11 03:20:41 +00:00
simonb
b407e121ba fix crash on startup from iconv_close of an invalid descriptor 2006-07-04 23:41:43 +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
simonb
6dc5ca4e60 some minor code cleanups thanks Slava Semushin (php-coder), who also thanks Mikhail Gusarov 2006-06-27 08:54:24 +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
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
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
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
7d5f6e382b init variables 2006-06-18 21:22:20 +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
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
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
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
fluxgen
e6a107e577 added comments 2006-05-13 16:46:31 +00:00