Commit graph

818 commits

Author SHA1 Message Date
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
fluxgen
6d2a92c059 just a minor change 2006-05-13 16:45:56 +00:00
simonb
faf043bef9 more utf8 changes, notably window titles 2006-05-07 10:08:25 +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
fluxgen
96f47306ac fixed minor bug 2006-04-26 16:38:02 +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
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
fluxgen
5e598c460e removed include 2006-04-23 21:32:19 +00:00
simonb
cfd92af2b6 fix menu corruption when size/label changes 2006-04-22 17:19:53 +00:00
simonb
67326a080a update transparent window backgrounds on bg change 2006-04-21 16:07:45 +00:00
simonb
4c011a0a12 don't check the clock so often... 2006-04-18 15:17:11 +00:00
simonb
9ff23f01ca fix some rotation issues 2006-04-17 13:35:20 +00:00
simonb
553104ee1d fix all compiler warnings with -Wall 2006-04-16 11:18:22 +00:00
simonb
7c79084433 implement vertical toolbar placement options 2006-04-15 16:41:11 +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
fluxgen
f1a6c9100b just some indent 2006-04-09 17:40:59 +00:00
simonb
e337c67566 fix size_t issues and other 64bit-highlighted warnings 2006-04-06 13:59:52 +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
fluxgen
894a7148be size_t fixes, thanks Semushin Slava aka php-coder 2006-04-02 21:37:44 +00:00
simonb
af74a22845 rotated fonts, buttons, containers. Used for tabs for now 2006-03-26 04:02:30 +00:00
simonb
7c4e48cc69 fix compile error, include algorithm 2006-03-24 10:52:57 +00:00
simonb
ffae659b3e external tab fixes, plus aligning items properly 2006-03-23 02:06:51 +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
f2d3fff4d4 external tabs 2006-03-20 11:31: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
fluxgen
0530d278e7 fixed memory leak when XCreateImage fail, thanks php-coder 2006-03-14 20:19:33 +00:00
mathias
ec7ce1e029 cosmetic changes from php-coder (copyright, header) 2006-02-27 20:58:16 +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
mathias
ae05ad9a01 updated copyright info 2006-02-16 06:53:05 +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
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
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
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
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
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
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
a9f9e6d6ee added replaceString 2005-10-20 14:48:53 +00:00
fluxgen
0989e903e3 minor change 2005-09-14 20:28:29 +00:00
fluxgen
d4d91d0993 include memory for auto_ptr 2005-09-14 19:22:59 +00:00
fluxgen
fff4c906b3 bugfix for client menu 2005-09-07 23:19:08 +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
grubert
a5310fae34 Add missing `template <>` befor ThemeItem<Font>::setDefaultValue. 2005-06-28 13:43:02 +00:00
fluxgen
0df6609bb9 added showSubmenu in MenuItem 2005-06-23 03:09:39 +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
acaa583093 Fixes #1216020, *.font.effect wont get cleared if not defined in style 2005-06-15 06:18:03 +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