Commit graph

3673 commits

Author SHA1 Message Date
Mathias Gumz
2cac7ddf6f fixed a small issue with autohidden toolbar
the toolbar was not going to hidden state when the slit
covered the toolbar and the mouse was still in the toolbar
area. now we check event.subwindow to decide if it was a
"valid" leaveNotifyEvent.
2008-03-29 17:15:37 +01:00
Bernhard Walle
d300c62ba0 Fix build with g++ 4.3
This change fixes the build for g++ 4.3. Build verified on openSUSE Factory.
Only missing includes and using directives are added.
2008-03-25 20:59:52 +01:00
Jim Ramsay
173682f8de The unfocused/pressed pixmaps for the 'stick' button were ignored.
This fixes a bug in commit 1f01d84c08 (split
WinButtonTheme into multiple themes), where every other theme except for
m_stick_pm was changed.
2008-03-19 21:02:47 +01:00
Mathias Gumz
1b1262e01b transform _NET_WM_ICON data to correct depth 2008-03-05 09:24:40 +01:00
Mathias Gumz
60a44e573e feed the right git revision used to build fluxbox into defaults.hh 2008-02-24 22:22:13 +01:00
Mathias Gumz
46fdf4d1b4 use _NET_WM_ICON property as resource for icons, fixed partly #1852693
instead of depending on proper icons in the old icccm wmhints, fluxbox now
tries to get the icon data stored in _NET_WM_ICON
2008-02-24 21:58:24 +01:00
Mark Tiefenbruck
611b6aa57e more fun with the window menu 2008-02-11 10:17:45 -08:00
Henrik Kinnunen
cd128d7a3e removed goto 2008-02-10 18:16:50 +01:00
Mark Tiefenbruck
26dafdafbe fix highlighted menu item on mouse out 2008-02-08 18:36:06 -08:00
Tomas Janousek
3a8ec6512b Fix a freed memory access in ~BScreen.
mit->second->parent() == 0 didn't do what it was supposed to. m_parent being
zero does not imply that no pointer points to it.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-02-06 16:40:46 +01:00
Tomas Janousek
1534c8d728 Consistency: alpha submenu of WindowMenu should not have title.
Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-02-06 16:36:23 +01:00
Tomas Janousek
b61502ffbc Fix a freed memory access in Keys::doAction.
The thing next_key pointed to was getting freed in deleteTree.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-02-04 18:46:24 +01:00
Tomas Janousek
9671b2f99c Fix crash with apps reloading.
Yeah, we shouldn't delete pointers that are mentioned elsewhere...

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-02-04 18:46:22 +01:00
Mark Tiefenbruck
38f84c3932 fix window menu again 2008-02-04 06:00:33 -08:00
Mark Tiefenbruck
f3e3bb5273 check pointer, even though it shouldn't be necessary 2008-02-03 12:17:42 -08:00
Mark Tiefenbruck
b7eee2350d fix rotation 2008-02-03 07:37:01 -08:00
Mark Tiefenbruck
39d4d0a010 fix focus revert when closing menu 2008-01-31 06:37:52 -08:00
Mark Tiefenbruck
24dc811fda fix warning 2008-01-28 01:46:05 -08:00
Tomas Janousek
880209a438 Merge branch 'xinerama_randr' 2008-01-28 09:58:23 +01:00
Mathias Gumz
a61b37da70 minor correction of include names 2008-01-28 09:30:31 +01:00
Mathias Gumz
9cb78eaa3b reordering 2008-01-28 08:41:42 +01:00
Tomas Janousek
f605312c48 Move dockapps to (-100,-100) instead of (screenw + 10, screenh + 10).
The windows used to appear when one xrandr'ed to a bigger resolution.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-27 15:01:14 +01:00
Tomas Janousek
4faf1bf5c3 "On head" menu -- reloading and refreshing bugfix.
We should reload the contents of this menu on Xinerama layout change.

I switched it from FbMenu to ToggleMenu, because the selected head wasn't
being updated properly.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-27 15:01:14 +01:00
Tomas Janousek
b405d36151 Move windows out of inactive heads upon layout change.
Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-27 15:01:14 +01:00
Tomas Janousek
8c3f2a8e03 Deal with XineramaQueryScreens failure.
The call to XineramaQueryScreens may return NULL in some cases. This patch
tries to deal with that somehow.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-27 15:01:14 +01:00
Tomas Janousek
c702d683e0 Call XRRUpdateConfiguration before querying Xinerama
As the manpage says:
Clients must call back into Xlib using XRRUpdateConfiguration when screen
configuration change notify events are generated (or root window configuration
changes occur, to update Xlib's view of the resolution, size, rotation,
reflection or subpixel order.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-27 15:01:14 +01:00
Tomas Janousek
041eacdfd5 Reload the Xinerama layout on RandR signal.
The m_head_areas became a vector, because we need to dynamically change its
size. The functions manipulating struts (which refer to a particular head)
now check whether the head still exists.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-27 15:01:14 +01:00
Mathias Gumz
6717a1c805 cosmetics 2008-01-25 08:21:55 +01:00
Mathias Gumz
65df54d635 std::string.c_str() is never NULL 2008-01-25 08:21:35 +01:00
Mark Tiefenbruck
70a24b992c don't require final {} on :If 2008-01-24 04:03:04 -08:00
Mark Tiefenbruck
4bd62b771c fix some potential bugs with window menus 2008-01-23 00:27:53 -08:00
Mark Tiefenbruck
d03edf2964 fix potential infinite loop in transient windows 2008-01-23 00:20:07 -08:00
Mark Tiefenbruck
f0e60d0865 fix some issues with window menus 2008-01-22 01:34:02 -08:00
Mark Tiefenbruck
38a01a71b4 fix some updates on style change 2008-01-21 09:00:00 -08:00
Mark Tiefenbruck
db4ec8cf20 move position and geometry windows into their own class 2008-01-19 04:00:46 -08:00
Simon Bowden
7b055cc54a Fix missing destructor warning 2008-01-18 20:29:09 +11:00
Mark Tiefenbruck
1d4bea8a2d Merge branch 'master' of fluxbox@gitfbox:fluxbox 2008-01-18 00:33:47 -08:00
Mark Tiefenbruck
3a5fd7342d use function pointer for CommandParser::Command 2008-01-17 14:16:58 -08:00
Henrik Kinnunen
8c2cee577a must initialize toolbar before the windows 2008-01-15 10:56:25 +01:00
Mathias Gumz
f6c292a406 split Text.hh into Orientation.hh and TextUtils.{cc,hh} 2008-01-15 08:45:57 +01:00
Mathias Gumz
e1db89e2d7 moved code a bit around, cleaned up some classes 2008-01-14 23:27:00 +01:00
Mark Tiefenbruck
c6099d777d fix crashes on restart 2008-01-12 17:49:50 -08:00
Mark Tiefenbruck
5b7bde2ffb fix initialization of WorkspaceNameTheme 2008-01-12 17:42:52 -08:00
Mark Tiefenbruck
b302dab2f1 fix some issues with reverting focus 2008-01-12 16:47:40 -08:00
Mark Tiefenbruck
f66d446a94 move some stuff from Fluxbox to BScreen 2008-01-11 22:36:38 -08:00
Mark Tiefenbruck
5b0806f1cb forgot to add this 2008-01-11 02:46:06 -08:00
Mark Tiefenbruck
9f2f65a698 make FbTk::Command a template class, split parsing information out of ObjectRegistry 2008-01-10 23:41:22 -08:00
Mark Tiefenbruck
1f01d84c08 split WinButtonTheme into multiple themes 2008-01-08 00:50:58 -08:00
Mark Tiefenbruck
ec3125aeb9 switch FbWinFrameTheme to use FocusableTheme 2008-01-07 12:08:56 -08:00
Mark Tiefenbruck
dbfddf8e0b added new ThemeProxy for automatically handling focused vs. unfocused ThemeItems 2008-01-07 02:26:32 -08:00
Mark Tiefenbruck
ac1bd7e098 update code to use ThemeProxy 2008-01-04 17:39:19 -08:00
Mark Tiefenbruck
60ba709c2f add a level of indirection to themes 2008-01-04 01:06:38 -08:00
Mark Tiefenbruck
b20b243b48 remove some unnecessary code 2008-01-03 19:37:21 -08:00
Mark Tiefenbruck
9c105111d2 remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
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
Mathias Gumz
d24e2aae6e more encapsulation for Ewmh 2008-01-02 22:41:50 +01:00
Mark Tiefenbruck
903349f47a Merge branch 'master' of fluxbox@gitfbox:fluxbox 2008-01-02 13:38:09 -08:00
Mathias Gumz
222128c236 more header 'correctness' 2008-01-02 09:31:18 +01:00
Mathias Gumz
ec13263a18 decoupling, moved private datastructures to Keys.cc 2008-01-02 09:28:00 +01:00
Mark Tiefenbruck
6ea1ed8cfa fix border width on synthetic ConfigureNotify events 2008-01-01 19:10:38 -08:00
Mark Tiefenbruck
2f9f29df22 make reported frame extents include border width 2008-01-01 17:32:10 -08:00
Mark Tiefenbruck
7588fc10a6 fix some flickering on focus change 2008-01-01 10:29:36 -08:00
Mark Tiefenbruck
72d2f0e481 fix compatibility with older gcc versions 2007-12-30 14:58:41 -08:00
Tomas Janousek
f4ee09779b Fix minimize regression caused by b5c354b9. 2007-12-30 23:31:40 +01:00
Mark Tiefenbruck
2590d207e0 this really needs to be fixed 2007-12-30 14:16:58 -08:00
Tomas Janousek
0c1380128d Fix freeze with actions on external tab. 2007-12-30 22:51:20 +01: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
0113ca6b5e implement some focus policies for splash, dock, and desktop windows 2007-12-25 13:05:07 -08:00
Mark Tiefenbruck
7ace5e80be don't add new windows to front of focus list if they don't acquire the focus 2007-12-25 09:14:20 -08:00
Mark Tiefenbruck
35d1017959 removed KDE configure option 2007-12-24 22:49:46 -08:00
Mark Tiefenbruck
1bcc966153 added resource session.screen<N>.slit.acceptKdeDockapps 2007-12-24 22:36:22 -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
552d9a70bd minor fixes for handling ConfigureRequest events 2007-12-23 20:28:24 -08:00
Mark Tiefenbruck
fbc305ca80 added focused/unfocused borders to styles 2007-12-23 13:33:10 -08:00
Mark Tiefenbruck
1b48b749b9 make FbWinFrame aware of the decoration state 2007-12-23 13:28:08 -08:00
Mark Tiefenbruck
0676161673 if a window is prevented from stealing the focus, don't put it on top 2007-12-21 22:44:14 -08:00
Mark Tiefenbruck
84e5586ca1 don't allow clients to move or resize fullscreen/maximized windows 2007-12-21 21:55:00 -08:00
Mark Tiefenbruck
0a67bdce41 make better decisions about when to allow stealing the focus 2007-12-21 21:24:13 -08:00
Mark Tiefenbruck
0906477984 leave fullscreen windows on top, even without the focus, as long as focused window is on another head 2007-12-21 18:35:05 -08:00
Mark Tiefenbruck
f6ee704a1d remove 'friend' declaration in Window.hh 2007-12-21 16:48:11 -08:00
Mark Tiefenbruck
a10b308b4e little cleanup 2007-12-20 23:35:36 -08:00