Commit graph

5618 commits

Author SHA1 Message Date
David Coppa
1237f83207 fixed typo in 'MerleyKay' style, closes #3286430 2011-04-14 15:10:28 +02:00
David Coppa
870d4d02ee bugfix: use 'unsigned long' to feed XChangeProperty, closes #3285968
old code crashed on sparc64, pid_t seems to be 32bit on that platform.
2011-04-14 15:08:02 +02:00
skizzhg
fbf5ce8b30 Changed fbsetbg's tips to the new behaviour. 2011-04-11 17:46:26 +02:00
Pavel Labath
a83cedf37e Fix a pair of warnings reported by clang 2011-04-11 08:37:58 +02:00
Pavel Labath
91958279d3 Menu.cc: send debug output to cerr, make the output more sensible 2011-04-11 08:31:52 +02:00
Gediminas Liktaras
b1d70e2c92 bugfix: return 'height' if container is rotated vertically, closes #3195728
iconbar.iconWidth property was ignored due this bug.
2011-04-03 13:20:35 +02:00
Pavel Labath
40f8c35084 Fix assorted typos in manpages 2011-04-03 10:57:43 +02:00
slakmagik
906166f42d make XMESSAGE a variable and use it consistently
Previously, gxmessage was getting substituted in one place and not
another.
2011-03-29 08:44:51 +02:00
slakmagik
a8583b79ae avoid trailing spaces between app and closing }
Add a few lines of code to prevent a few spaces in some menu output.
'{$app $options}' would expand to '{app }' if no options were set.

Also, while scattered throughout, in this particular spot the
unnecessary braces around some of the variables (and not around some
others) and inside flux's braces could be very visually confusing and
lead to editing errors, so removed those.
2011-03-29 08:44:51 +02:00
slakmagik
0fbb2cb73c separate functions and main code
Transpose one function from main to the rest of the functions and one
block from the top of the script to the top of main. Add an 'End
functions' comment.
2011-03-29 08:44:51 +02:00
slakmagik
2034e5ef44 add the configuration file equivalent of '-in' 2011-03-29 08:44:51 +02:00
slakmagik
e312f35d1a silence cmp
cmp's '-s' flag is POSIX - if it's as portable as that's supposed to
mean, that might be used instead.
2011-03-29 08:44:51 +02:00
Mesutcan Kurt
2790b996f3 updated turkish translations 2011-03-28 09:47:20 +02:00
Daniel Diaz
d28e105075 compile fix: added <cstdlib> to provide declaration for 'size_t' (gcc-4.6.x likes it that way) 2011-03-28 09:06:22 +02:00
Mathias Gumz
d4f7f17330 compile fix: arguments must match declaration
Sun CC++ 5.11 complaint on linking about missing symbols 'nextWorkspace()',
'prevWorkspace()' etc.
2011-03-23 18:45:34 +01:00
Mathias Gumz
745fb8e71c removed useless code 2011-03-23 18:41:48 +01:00
Mathias Gumz
010ff6b795 configure fix: sstream test needs math.h, thus we should test math.h before
bubbled up on solaris10, had to install 'math-header'.
2011-03-23 18:41:26 +01:00
Mathias Gumz
21022a1952 cosmetics 2011-03-23 12:03:17 +01:00
Mathias Gumz
9086ccafbe compile fix: sunCC again, wants a compile time constant for arrays 2011-03-23 12:03:08 +01:00
Mathias Gumz
e850b01919 compile fix: sunCC 5.11 (sunstudio 12) compiles and links again
biggest change: renaming of 'class Layer' to 'class ResourceLayer' in
Layer.hh to handle complaints about 'ambiguous Layer: Layer or FbTk::Layer'.
'ResourceLayer' sounds crappy, but that was the best I could come
up with right now.
2011-03-23 12:02:15 +01:00
Mathias Gumz
7ece90ad4f merge 2011-03-19 20:12:05 +01:00
Mathias Gumz
9f2c37341c code cleanup: moved code from public API to implementation
renamed 'Region' to 'Area' to avoid conflicts with 'Region' from Xlib.
2011-03-19 19:29:43 +01:00
Henrik Kinnunen
0b6c860fa0 delete config menu first at shutdown 2011-03-19 19:19:26 +01:00
Mathias Gumz
97e08c3853 bugfix: reposition windows only if they are invisible
changing the layout or the number of the attached monitors
might lead to invisible windows. only those windows should be
positioned to the closest monitor, if they are not visible
already.
2011-03-19 15:05:39 +01:00
Mathias Gumz
c200045e9a code deduplication: use RectangleUtil::insideBorder() 2011-03-19 15:01:16 +01:00
Mathias Gumz
767afd32f3 prepare BScreen::XineramaHeadInfo to be 'RectangleLike' 2011-03-19 15:00:34 +01:00
Mathias Gumz
a798e0e0ff added RectangleUtil::overlapRectangles() + test cases 2011-03-19 14:56:45 +01:00
Mathias Gumz
cea6887f65 updated date of manpages 2011-03-19 14:55:52 +01:00
Mathias Gumz
bcae4e257d added tests/testRectangleUtil.cc 2011-03-18 17:57:34 +01:00
Mathias Gumz
7658d2c56d fix some escaping problems in the man pages 2011-03-18 16:31:49 +01:00
Mathias Gumz
253f13d46e some love to src/tests, use automake to use the same build environment as the rest of fluxbox 2011-03-18 15:51:17 +01:00
Mathias Gumz
81b240e976 compile fix for clang, forward declaration of FocusControl was not enough 2011-03-18 11:01:08 +01:00
Mathias Gumz
3a3df51823 compiler cosmetic: changed return type of ScreenPlacement::placeAndShowMenu() to void, closes #3204402 2011-03-18 07:53:53 +01:00
Mathias Gumz
a53017cc3b bugfix: do not use anything from the current ClientMenuItem after m_client.focus(), closes #3210493
m_client.focus() might call ~ClientMenuItem(), thus m_client is not available anymore. the crash was triggered by trying to deiconify a client via the clientmenu. this triggers a signal to remove and destroy the current ClientMenuItem.
2011-03-15 09:49:06 +01:00
Mathias Gumz
bb2ce5df8a fix misordered Toolbar::Placement strings, closes 3195721 2011-03-01 14:32:21 +01:00
Mathias Gumz
cd74184e50 remove doc/ru reference in configure.in 2011-03-01 11:32:43 +01:00
Slava Semushin
0b3e6a0bbc Removed Russian translation of fluxbox(1).
Translation is out of date and may puzzles users.
2011-02-28 18:51:07 +01:00
Slava Semushin
3618a8de3a Removed ONLINE DOCUMENTATION section from man pages.
Because link in this section not available now.
2011-02-28 18:50:52 +01:00
Mathias Gumz
f44856d995 updated NEWS for 1.3.1, increased version number 2011-02-27 18:45:39 +01:00
Mathias Gumz
3eea27600b updated ChangeLog 2011-02-27 18:45:00 +01:00
Mathias Gumz
1fe7245f40 created manpages 2011-02-27 18:44:48 +01:00
Mathias Gumz
0d116b3a4d cosmetics 2011-02-27 18:43:29 +01:00
Mathias Gumz
d2e7feaa85 bugfix: submenus didn't hide if a delay was set
use the FbTk::Timer API correctly, bug(s) introduced by

   1f0adef4da
   e685117941
2011-02-25 18:39:48 +01:00
Mathias Gumz
798ecb88d5 cache result of getWorkspace() 2011-02-24 16:56:53 +01:00
Mathias Gumz
4a161132c2 better solution for warping transient windows
see #3088856 / 09f99a4674.

at the moment this fix looks side-effect free, time will tell.
2011-02-24 16:55:55 +01:00
Mathias Gumz
09f99a4674 intermediate fix for segfault when warping transient windows to different workspace, see #3088856
warping a transient window to the next workspace creates a cycle between
BScreen::changeWorkspaceID(), BScreen::reassociateWindow(), Workspace::removeWindow(),
FocusControl::unfocusWindow(), FluxboxWindow::setCurrentClient(), FluxboxWindow::focus()
and so on.

for now we just stop allowing transient windows to be warped, it is most
likely a bad idea anyway having the modal dialog on one workspace and the
(dead) main window on another one.

this issue must be analyzed further, since there might be a deeper problem
with the way the focus code works.
2011-02-24 15:59:34 +01:00
Mathias Gumz
35753c7c3f fix calculating the width / height of SystemTray (closes #3150939) 2011-02-24 15:00:22 +01:00
Mathias Gumz
39871695cf SystemTray tool should use the right fallback resource 2011-02-24 14:58:15 +01:00
Mathias Gumz
51a64587e0 updated ChangeLog 2011-02-24 14:19:52 +01:00
Mathias Gumz
3c924a251a removed unused headers 2011-02-24 11:21:29 +01:00