Commit graph

2752 commits

Author SHA1 Message Date
rathnor
48e9c810d7 fix menu creator not using args for some commands 2004-09-16 14:08:46 +00:00
fluxgen
2c66db2ba0 cleaning, we dont create windows with XCreateWindow 2004-09-16 10:10:37 +00:00
rathnor
42c1fd3ae3 preliminary support for composite/compositing manager. Also general work
for consistency with transparency resources
2004-09-12 14:56:20 +00:00
fluxgen
dfb2ab0e21 cleaning, moved resource functions to Resources.cc 2004-09-12 14:01:41 +00:00
fluxgen
2fef25747f holds main resource functions 2004-09-12 14:01:03 +00:00
fluxgen
d24bbb998b inject an entire directory of menu files with include + path, patch from Ciaran McCreesh 2004-09-12 00:31:11 +00:00
fluxgen
a4043853ff fix for Font drawText 2004-09-12 00:06:37 +00:00
fluxgen
049e40c9eb Font::drawText takes reference to FbDrawable instead of X Drawable + some code cleaning 2004-09-11 23:01:34 +00:00
fluxgen
acd2176355 copyright update 2004-09-11 23:00:44 +00:00
fluxgen
82c2f3521e access function for display 2004-09-11 20:30:28 +00:00
fluxgen
b4daf0f808 using ShowMenu commands for buttonPress event 2004-09-11 20:29:29 +00:00
fluxgen
323f5188fd workspace menu and root menu inside visible area 2004-09-11 20:28:35 +00:00
fluxgen
93ffd19686 init frame window in frame struct 2004-09-11 18:58:27 +00:00
rathnor
28c32c087a more X error fixing 2004-09-11 15:52:23 +00:00
rathnor
b063688992 ignore 32-bit visuals for now - until we can support alpha channel in colors 2004-09-11 14:13:06 +00:00
fluxgen
768d98a39d head specific strut, patch from Mathieu De Zutter 2004-09-11 13:45:16 +00:00
fluxgen
3775776963 head specific strut, patch from Mathieu De Zutter 2004-09-11 13:33:07 +00:00
fluxgen
ad63de0281 head specific strut 2004-09-11 13:27:10 +00:00
rathnor
7d793fc6a8 fix issues that resulted in unnecessary X errors 2004-09-11 12:33:14 +00:00
akir
c8f9cf1177 cosmetic + avoid unneeded App::instance()->display() calls 2004-09-10 16:48:15 +00:00
akir
df0c942aa2 cosmetic + avoid unneeded App::instance()->display() calls 2004-09-10 16:41:30 +00:00
akir
bf48239dee cosmetic + try to avoid App::instance()->display() calls when not needed 2004-09-10 16:12:49 +00:00
akir
97d2577f1a cosmetic issues, removed unneeded strcasestr-code (is already in StringUtil),
tried to avoid App::instance()->display() calls again.
2004-09-10 16:12:01 +00:00
akir
b453d143bb cosmetic, man, we need a beautifarm :) 2004-09-10 16:04:16 +00:00
akir
a7967dfb25 put App::instance()->display() to FbDrawable::s_display to avoid too much
unnecessary calls
2004-09-10 15:46:08 +00:00
akir
631dfbbc63 cosmetic, tab vs spaces 2004-09-10 15:36:04 +00:00
akir
e51cc63ccb cosmetic, tabs to spaces 2004-09-10 07:15:23 +00:00
rathnor
1081940af3 clean up unused variables, from Ryan O'Hara 2004-09-10 04:03:58 +00:00
akir
c75a703586 tiny cleanup to avoid calling unnecessary FbTk::App::instance() 2004-09-09 21:13:10 +00:00
akir
e11fb1b473 added forgotten [macrocmd] to menuitems 2004-09-09 14:32:56 +00:00
akir
1d355a9192 transfered ::getRootPixmap from several places to new home, FbPixmap 2004-09-09 14:29:10 +00:00
akir
7507098440 cosmetic, removing unnecessary calls. 2004-09-08 16:50:42 +00:00
akir
1cd19c941c added button2-on-workspacename in workspacemenu jumps to workspacadded
button2-on-workspacename in workspacemenu jumps to workspacee
2004-09-06 21:12:10 +00:00
akir
b470256cf6 fix the segfault-fix of fluxgen some days before. workspacemenu must be
destroyed after rootmenu is cleaned.
2004-09-06 13:17:56 +00:00
fluxgen
23fcec1728 fix for crash on shutdown, the workspacemenu must be destroyed before clientlist. fix for duplicates in iconlist, note: check update(stateSig) in fluxbox.cc, icons might be added twice 2004-09-05 01:11:41 +00:00
fluxgen
fb2e570e8c unique list from removeDuplicate. If we, for some reason, should have duplicate windows in the second argument windowlist 2004-09-05 00:37:16 +00:00
akir
cc7586f483 blank lines again 2004-09-04 04:54:38 +00:00
rathnor
012f661179 fix crash on amd64 2004-09-03 17:05:35 +00:00
akir
1be3c8b270 cosmetic 2004-09-03 14:17:47 +00:00
akir
f2db83f3fd fix to avoid crash when in remember-submenu and closing the application
-> current clientwindow would be 0x0 -> crash
2004-09-02 09:52:26 +00:00
akir
4b1b3f592a allow blank lines in apps-file
fixed wrong mapping of [TOP] <-> getNormalLayer()
2004-09-02 08:58:06 +00:00
fluxgen
39e88f3f6f update 2004-09-01 19:03:14 +00:00
fluxgen
2455a350e8 foreground and background color as argument 2004-09-01 12:41:11 +00:00
fluxgen
b29b4adc4a fixed multiple screen issue...again 2004-09-01 08:46:55 +00:00
akir
0fbb0bfe8b cosmetic 2004-09-01 08:00:24 +00:00
akir
b12ce691bc fix width for a menuentry, added too much space 2004-09-01 07:53:45 +00:00
akir
1c2edb9a01 final fix for iconv-issues on sun/sparcs 2004-09-01 00:09:03 +00:00
akir
0c5dae0b45 fix for a compile-error with mips-pro 7.30 (segfaulted) 2004-09-01 00:08:14 +00:00
fluxgen
6946aded1b fixed restart issue + sending resize signal when ConfigureNotify 2004-09-01 00:05:52 +00:00
fluxgen
40abe448b1 multiple screen fix, checks for screen number 2004-08-31 23:18:29 +00:00
akir
47160bdb31 fix for the missing CODESET on openbsd 2004-08-31 23:07:58 +00:00
akir
6a098b0797 hopefully final fix for missing iconv 2004-08-31 21:47:56 +00:00
fluxgen
82de6ace6d have const msg ptr to iconv 2004-08-31 21:24:05 +00:00
fluxgen
9121ec43af checking for have iconv 2004-08-31 20:27:08 +00:00
akir
a182e88412 fix for gcc 2.95.4, again make_pair and missing #include <typeinfo> before
typeid-usage
2004-08-31 19:38:42 +00:00
akir
ed88b106da fix for gcc 2.95.4 -> has problems to get the right template-types
for make_pair
2004-08-31 19:27:21 +00:00
rathnor
d17bf39a43 add autoconf check for std c++ headers 2004-08-31 15:26:40 +00:00
akir
a0701345ed added RaiseLayer and LowerLayer 2004-08-30 21:29:42 +00:00
fluxgen
51f26f0c47 clientWidth now iconWidth 2004-08-30 13:42:13 +00:00
akir
ca99e775f4 closes bug 977054 2004-08-30 12:21:18 +00:00
akir
566b0284a8 suppress informative debugmessages 2004-08-30 11:34:56 +00:00
akir
d4077526b4 antialias- and alpha-entries only in menu when its compiled in 2004-08-30 11:33:23 +00:00
akir
6a99427331 fi menuuclosebug -> choosed the wrong parent-menu under some circumstances 2004-08-30 10:23:37 +00:00
akir
bd379d3e53 forgotten changed Makefile.am 2004-08-29 22:07:37 +00:00
akir
dc836d2b78 added [wallpapers|rootcommands] to menuitems 2004-08-29 21:11:24 +00:00
rathnor
680128f286 fix wrapping upwards in menu 2004-08-29 14:53:23 +00:00
rathnor
e41bc330b4 fix bug with >1 column menus 2004-08-29 14:37:52 +00:00
rathnor
ef9565efd8 fix crash bug when windowmenu doesn't include extramenus
improve checking of existence/success of loading windowmenu file
2004-08-29 12:35:29 +00:00
rathnor
92dc8d7452 fix toolbar localtion (visible when 100%)
fix menu font size when no style
2004-08-29 12:33:55 +00:00
rathnor
4d01d1b748 add back Workspace<n> keys with deprecated message 2004-08-29 09:08:29 +00:00
rathnor
97ef84da59 a few random fixes 2004-08-29 08:33:13 +00:00
rathnor
8a59b9b454 couple of menu render fixes 2004-08-28 19:03:09 +00:00
rathnor
c4c67dafeb fix a issue with fonts coming up blank 2004-08-28 18:10:19 +00:00
rathnor
11f8d9c21f fix menu rendering bug with selected items 2004-08-28 14:25:52 +00:00
rathnor
cbc8e23ed2 fluxbox::shutdown wasn't safe to get interruped by another signal 2004-08-27 17:24:49 +00:00
rathnor
d54bf608fc fallback to clock rather than workspace name for buttons (since its
consistent with old and new themes)
2004-08-27 14:36:12 +00:00
rathnor
f2599d87f6 add a special fallback for toolbar button style 2004-08-27 14:14:42 +00:00
akir
6ce5a31ea8 unification for themes.cfg/styles.cfg and the same for menuentries:
[stylesmenu] and [themesmenu]
  [stylesdir] and [themesdir]
2004-08-26 18:26:39 +00:00
rathnor
0f83e44972 fix rendering of bevels for textures with solid textures 2004-08-26 16:37:48 +00:00
rathnor
346a6598a6 make arrow button's arrow size scalable by the user 2004-08-26 15:09:33 +00:00
akir
13bf2a7fdd fixed 2 possible memleaks 2004-08-26 01:51:21 +00:00
rathnor
5337fc6640 fix up theming of the toolbar 2004-08-25 17:16:40 +00:00
akir
b57ce6ca8a make use of "size" in "recode" -> fixes drawin the cursor in textboxes 2004-08-25 10:03:09 +00:00
rathnor
3dc7103782 fix handling of font+text encodings 2004-08-18 16:30:33 +00:00
fluxgen
5be7e5b666 tempfix for empty locale 2004-08-14 09:33:09 +00:00
fluxgen
a3a59fedc0 fixed slow resize of xmms playlist, we called setupWindow in XA_WM_NORMAL_HINTS even when didnt have to 2004-08-13 12:39:02 +00:00
fluxgen
4b159871a0 minor cleaning 2004-08-11 13:17:56 +00:00
fluxgen
7ca95258d0 debug messages and some minor cleaning 2004-08-11 13:16:10 +00:00
fluxgen
0e8c418210 fixed fbrun crash when history item is bigger than entry box, sf: [ 1005182 ] fix for Bug with RequestID #877004, patch from mangala 2004-08-11 12:41:28 +00:00
fluxgen
0d7ed9bb44 minor fix 2004-08-10 19:34:35 +00:00
fluxgen
f223711cf1 fixed so we call setupWindow last in init(), else we dont get anything in the titlebar if we dont have some special option like remember enabled 2004-08-10 19:18:48 +00:00
fluxgen
1a02439df1 added literal for layer, patch from Mathias Gumz 2004-08-10 18:35:05 +00:00
fluxgen
c1b226b7ff adding halo and shadow options to font loading, patch from Mathias Gumz and c. mccreesh (ciaranm) 2004-08-10 18:08:37 +00:00
fluxgen
12237ed0db removed reparent and added debugmsg 2004-08-10 13:36:07 +00:00
fluxgen
feeecb52d7 minor stuff 2004-08-10 12:08:31 +00:00
fluxgen
5f819e8537 some debugmessages and minor fixes 2004-08-10 12:05:47 +00:00
fluxgen
05c0bfc8f8 Minor fix 2004-08-10 11:58:22 +00:00
fluxgen
41249b77fb utf-8 fix, a fixed patch from Sergey Kuleshov 2004-08-10 11:57:35 +00:00
fluxgen
52cb375886 utf-8 fix, a fixed patch from Sergey Kuleshov 2004-08-10 11:22:10 +00:00
fluxgen
cd0cdb5301 expand pixmap filename before loading, patch from Mathias Gumz 2004-08-03 21:31:31 +00:00
fluxgen
7b4d57f275 fixed menu move bug and made separator not selectable, patch from Mathias Gumz 2004-08-03 21:25:51 +00:00
fluxgen
582fe36cea minor fixes 2004-07-21 18:56:34 +00:00
fluxgen
44f7069e1c some EMX fixes, thanks dave_yeo at paralynx 2004-07-19 13:53:46 +00:00
fluxgen
ac1314c360 fixed fallback for pressed texture 2004-07-18 18:46:03 +00:00
fluxgen
601ae51604 resource bool fix and setting input focus on menus when we bring them up with the mouse 2004-07-15 18:23:03 +00:00
fluxgen
38bd7f47d9 click on handle raises, and some other minor fixes 2004-07-15 18:20:13 +00:00
fluxgen
40c44b227b mouse scroll on icons changes workspace 2004-07-15 14:20:19 +00:00
fluxgen
4179d51829 delete key 2004-07-15 13:48:54 +00:00
fluxgen
4e243d1599 fixed Resource long long, time_t is long long some systems 2004-07-15 13:42:50 +00:00
fluxgen
b672bc50bb minor stuff 2004-07-15 09:52:57 +00:00
fluxgen
1790b15e0a typedef Toolbars 2004-07-15 09:52:14 +00:00
fluxgen
b78255fa1a fixed toolbar draw bug at startup 2004-07-14 23:39:29 +00:00
fluxgen
7391de5e96 fixed menu draw bug while doing keyboard navigation 2004-07-14 18:30:37 +00:00
fluxgen
7794867005 improved algoritm for transient_for in initWindows 2004-07-14 18:28:05 +00:00
fluxgen
9cee51bdf0 fixed bug in transient window creation at startup 2004-07-14 12:13:29 +00:00
fluxgen
c213fb6ca2 fixed minor bug 2004-07-06 10:47:36 +00:00
fluxgen
7c85d11a95 tiled pixmap fix, patch from dhx (xyx@gm...), see mailing list 2004-07-05 23:51:57 +00:00
fluxgen
df570bc945 fixed menutitle and menulables drawn to close to screen-bottom, patch from Mathias Gumz 2004-07-05 09:40:08 +00:00
fluxgen
ced22314b8 save menu filename, so we can reload the menu, patch from Mathias Gumz 2004-07-05 09:27:04 +00:00
rathnor
6afbecdada fix rectangle drawing on attaching tabs 2004-06-29 12:41:23 +00:00
fluxgen
df68d8d0b0 minor stuff 2004-06-28 13:33:05 +00:00
fluxgen
7c412b5c78 force old position on configure request, we dont know if the clients changed the position 2004-06-27 21:47:16 +00:00
fluxgen
5e5a4982d3 added m_active_index. added validIndex function which validates indexes, removed highlight from drawItem since it should only highlight the m_active_index 2004-06-27 13:51:24 +00:00
fluxgen
9bd6c403f2 using menu separator 2004-06-27 13:45:20 +00:00
fluxgen
2e228593c0 using toggle menu for layer menu, fixed nls support 2004-06-27 13:43:59 +00:00
fluxgen
835501d3ae virtual destructor 2004-06-27 13:43:09 +00:00
fluxgen
e0f2a25c22 added toggle menu 2004-06-27 13:42:04 +00:00
fluxgen
291d893713 toggle menu 2004-06-27 13:41:45 +00:00
rathnor
965086f39d tidying up initialisation with dockapps 2004-06-21 15:23:42 +00:00
rathnor
6a51cefb2f fix groups file problem with windows not showing properly 2004-06-21 09:53:01 +00:00
rathnor
5cc0f12f3f we should only load LC_MESSAGES, not LC_ALL 2004-06-20 15:16:08 +00:00
rathnor
abc86f0028 fix systemtray related things 2004-06-20 10:29:51 +00:00
rathnor
9b7775751d support _NET_WM_WINDOW_TYPE_DESKTOP (e.g. nautilus desktop windows)
Allow FluxboxWindows to be untabable.
2004-06-20 04:49:33 +00:00
rathnor
4589ecdbbc fix initialisation of state when a window is first mapped 2004-06-19 15:04:28 +00:00
rathnor
a49d1128cd tweak iconbar rendertheme - need to re-render after addWindow 2004-06-17 00:17:22 +00:00
rathnor
8f88c1fecb toolbar fixes, updates and optimisations 2004-06-16 15:38:19 +00:00
fluxgen
db6e78bba9 minor fix 2004-06-15 11:03:17 +00:00
fluxgen
f1ce9c3f34 minor fix for toggle item 2004-06-14 16:09:48 +00:00
fluxgen
34ac6caeab minor fix 2004-06-14 12:25:31 +00:00
fluxgen
6ede6046d8 more improvements on transparency 2004-06-14 12:24:23 +00:00
fluxgen
3890049e3c title raise lower when title visibility changes 2004-06-14 12:23:57 +00:00
fluxgen
463c7dab18 minor fix 2004-06-13 12:01:52 +00:00
fluxgen
2475b2debc minor fixes 2004-06-13 11:01:47 +00:00
fluxgen
05a1b55901 minor fix for title and item height 2004-06-13 10:59:54 +00:00
fluxgen
825c02ccb0 more cleaning 2004-06-13 10:58:34 +00:00
fluxgen
57dd6d16f9 minor fix 2004-06-13 00:42:45 +00:00
fluxgen
8afaff0364 inline functions 2004-06-13 00:33:06 +00:00
fluxgen
c71c8244b5 setBufferPixmap public instead 2004-06-13 00:32:40 +00:00
fluxgen
46a06cdb02 transparency improvements, added buffer for title window to reduce flickering and removed menu.bevel_w since its already in MenuTheme 2004-06-13 00:31:29 +00:00
fluxgen
868edbabf2 include pixmap with mask 2004-06-10 17:31:39 +00:00
fluxgen
397e2a68cc minor fix 2004-06-10 17:24:24 +00:00
fluxgen
655c7b9de6 minor stuff 2004-06-10 17:07:58 +00:00
fluxgen
c69e7c4988 improved menu loading speed and added menu icon 2004-06-10 11:43:24 +00:00
fluxgen
d2e0aea0ae added menu icon 2004-06-10 11:42:35 +00:00
fluxgen
80ba32fb2d minor fix 2004-06-10 11:41:15 +00:00
fluxgen
af30481a47 icon in menu item 2004-06-10 11:40:43 +00:00
fluxgen
d07e5f1cc5 copyright update 2004-06-10 11:38:26 +00:00
rathnor
b1b3a6b8d2 more nls updates 2004-06-08 13:15:30 +00:00
rathnor
b659c2583c Change one nls item name 2004-06-08 11:47:10 +00:00
fluxgen
45222913d1 new files: MenuIcon 2004-06-07 22:29:37 +00:00
fluxgen
a784c1bf00 pixmap icon for menu items 2004-06-07 22:28:39 +00:00
fluxgen
13854c39b5 updated for menuseparator 2004-06-07 22:23:50 +00:00
fluxgen
4fdb621efd return values 2004-06-07 22:18:21 +00:00
fluxgen
bdcf645eba need typeinfo 2004-06-07 22:01:11 +00:00
fluxgen
0fba4bfafe minor stuff 2004-06-07 21:48:14 +00:00
fluxgen
5f84132c19 minor indent and using MenuSeparator 2004-06-07 21:43:02 +00:00
fluxgen
bb31394000 need typeinfo 2004-06-07 21:42:05 +00:00
fluxgen
3e52976eac minor fix 2004-06-07 21:36:06 +00:00
fluxgen
aaa72eada2 minor fixes 2004-06-07 21:22:42 +00:00
fluxgen
9b494abdce minor indent 2004-06-07 21:16:13 +00:00
fluxgen
a73918e805 minor fix 2004-06-07 21:15:08 +00:00
fluxgen
69aab351b0 new files: menuseparator 2004-06-07 21:07:26 +00:00
fluxgen
c7f696db31 draws a separator 2004-06-07 21:05:16 +00:00
fluxgen
2bb46b0020 item and title height specified by style 2004-06-07 21:02:49 +00:00
fluxgen
8eb2ea889d drawing of items is now done in MenuItem 2004-06-07 20:34:23 +00:00
fluxgen
34edd2640a improved transparent rendering and fixed drawing of menu items in MenuItem class 2004-06-07 20:28:50 +00:00
fluxgen
5530ce6450 alpha access function 2004-06-07 20:24:38 +00:00
rathnor
fff4456dee update NLS string handling... 2004-06-07 11:46:05 +00:00
rathnor
073065ac56 more fixing up of alpha zero-relatd problems - particularly fallback to
255, not zero for alpha items
2004-05-24 15:30:52 +00:00
rathnor
ca307efe3e handling of alpha = 0 2004-05-24 13:09:32 +00:00
grubert
b13f59e753 Make arrows in buttons half the size of the button.
Add UP and DOWN arrows.
2004-05-18 08:35:22 +00:00
rathnor
15fe67e21e fix up slit transparency redraw issues 2004-05-17 15:20:32 +00:00
rathnor
c1fb3b3e1a fix menu transparency rendering bug, and add save_under to menu windows 2004-05-17 15:01:32 +00:00
rathnor
36a848c4a5 tweak the X in the close button. It was uneven. Check the comment
for details, I suspect it depends on X version :-/
2004-05-14 13:44:31 +00:00
rathnor
9069ae0d80 fix up a number of things for when a window hides while moving,
including a crash bug
2004-05-13 01:48:18 +00:00
rathnor
d95fcc2dbb Event Manager fixes/review 2004-05-04 14:33:38 +00:00
fluxgen
e127dabae6 dont expand filename here 2004-05-03 21:37:38 +00:00
fluxgen
9ab2f6e29b minor fix 2004-05-03 21:37:01 +00:00
fluxgen
2adf0b8cc2 expand filename 2004-05-03 15:38:26 +00:00
rathnor
a969d7fdff tweak the remap fix. Scott pointed out that the xevent isn't actually
filled in there. Lets try it just checking !remap...
2004-05-03 13:45:23 +00:00
fluxgen
b872c2e0c0 minor fix for layer menu title 2004-05-02 22:28:45 +00:00
fluxgen
805f581932 minor fix for separator in windowmenu 2004-05-02 22:17:00 +00:00
fluxgen
8628f18fe5 update 2004-05-02 21:27:35 +00:00
fluxgen
ec7d792a48 minor fixes 2004-05-02 21:27:15 +00:00
fluxgen
4880851f13 movetest 2004-05-02 21:26:07 +00:00
fluxgen
955c2358fb testing menu parser 2004-05-02 21:23:35 +00:00
fluxgen
e5c0b02496 parsertest 2004-05-02 21:22:43 +00:00
fluxgen
5e03487909 new files 2004-05-02 21:21:56 +00:00
fluxgen
33300e91e3 added exit command 2004-05-02 21:13:08 +00:00
fluxgen
745dcf42c3 iconmenu is now handled in IconMenu which is created in WorkspaceMenu, moved all parsing of menu file to MenuCreator 2004-05-02 21:12:22 +00:00