Commit graph

3015 commits

Author SHA1 Message Date
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