Dana Jansens
2f905c7ed8
deal with client events in the same way now
2002-11-04 09:33:23 +00:00
Dana Jansens
45c2589ef6
xeventhandler can handle everything except client messages now.
...
blackbox is no longer the event handler
2002-11-04 09:25:26 +00:00
Dana Jansens
7ebccbf39a
new OBTimer interface
2002-11-04 06:06:13 +00:00
Dana Jansens
d557e816be
include the right .hh!
2002-11-04 05:35:04 +00:00
Dana Jansens
6bba50ef34
include the timer manager class header
2002-11-04 05:34:28 +00:00
Dana Jansens
d4d89ce0bb
documenting classes!
2002-11-04 03:37:17 +00:00
Dana Jansens
9259ec5732
new timer infrastructure. takes a function pointer for the timeout, with a void* parameter (useful for holding a class instance!)
2002-11-03 14:29:34 +00:00
Dana Jansens
ad80ef0f66
make it shutdown on signals
2002-11-03 12:58:17 +00:00
Dana Jansens
42e406d09d
read rc3 as the default file now
2002-11-03 12:55:30 +00:00
Dana Jansens
373de009f7
new timers, timer manager
2002-11-03 12:48:10 +00:00
Dana Jansens
c5f62494f1
fix compiling in display.
...
make the timer manager work in and of itself
2002-11-03 12:27:49 +00:00
Dana Jansens
8ad2610917
ue default scope timevals
2002-11-03 12:07:54 +00:00
Dana Jansens
2bf55be061
add comment
2002-11-03 12:06:44 +00:00
Dana Jansens
ace8c8896a
WE DONT USE BASE DISPLAY FOR ANYTHING ANY MORE!!@^!*@*!! YAY
2002-11-03 11:46:05 +00:00
Dana Jansens
dd7b8b67bd
split the screeninfo class out to its own files
2002-11-03 06:09:05 +00:00
Dana Jansens
bbdca49193
gettext is ready to rock and roll
2002-11-03 05:56:15 +00:00
Dana Jansens
0eff3cc415
make strings in main.cc translatable
2002-11-01 11:18:32 +00:00
Dana Jansens
90f2414285
add gettext
...
change CXXFLAGS back to CPPFLAGS in the .am's
2002-11-01 10:08:32 +00:00
Dana Jansens
4c05a620cc
libtool stuff
2002-11-01 04:03:00 +00:00
Dana Jansens
f127273aba
make compile again
2002-11-01 04:02:33 +00:00
Dana Jansens
1824e6b100
add a cvsignore for otk.
...
make sexier automake shit
2002-11-01 03:45:34 +00:00
Marius Nita
110a1eeed9
moved files into otk
2002-11-01 03:30:18 +00:00
Dana Jansens
86bef745b9
big fat commit..
2002-10-31 09:18:24 +00:00
Dana Jansens
75f84f9557
add comment for later
2002-10-31 09:06:03 +00:00
Dana Jansens
7bf96a9123
compiles now. uses xft2
...
remove the nls remainders
2002-10-31 08:42:45 +00:00
Dana Jansens
db451d95bf
rename, remove bullshit. ya
2002-10-31 06:54:56 +00:00
Dana Jansens
60b016b7fc
no more menus, at last. woop
2002-10-31 06:30:23 +00:00
Scott Moynes
87e63d53af
Take menu file from rc file if it isn't specified on the command line.
...
It doesn't act correctly when using reconfigure, but only because I am unsure what the correct behaviour is.
2002-10-26 17:06:00 +00:00
Scott Moynes
9af642d299
Ignore dot files in the styles directory.
2002-10-26 15:31:33 +00:00
Dana Jansens
be141c2ac3
take out useless(?) assert
2002-10-24 14:50:21 +00:00
Scott Moynes
1e36acfd91
Allow variable tinting of the shadow. Use *.xft.tint: integer
...
integer is a number -100 to 100 that specifies the alpha channel, with
negative numbers meaning lighten the background and positive being
darken.
2002-10-23 02:46:47 +00:00
Scott Moynes
8b55442b2e
use drop shadow height in the font height.
...
honour rc file config option for drop shadows with new shadow code
2002-10-17 02:59:30 +00:00
Scott Moynes
8552ba2ac9
xft drawing on offsets once and for all
2002-10-17 02:37:23 +00:00
Scott Moynes
d974e00bc9
fixed the drop shadow window clearing bug in Basemenu
2002-10-17 01:45:30 +00:00
Scott Moynes
ccf6cfadf7
Fix XFT redraw of text. Still needs slight work for the shadow in Basemenu
2002-10-17 00:52:03 +00:00
Scott Moynes
402e229e76
Allow for customizing of the dropShadows.
...
If xft.flags: shadow then you can specify the tint with xft.shadow.tint:
which should be a number 0 to 255. xft.shadow.offset: will specify how
many pixels to add in positioning.
Also, try to fix the inheritence in the pressed button borders. Need a
style to test this
2002-10-16 22:33:34 +00:00
Scott Moynes
be127cb4c6
make an *xft.flags: shadow flag to have per style resource shadows
2002-10-16 02:53:49 +00:00
Scott Moynes
fa3fb793e7
oops. fix workspace warping merge buglet
2002-10-04 03:18:28 +00:00
Scott Moynes
987cf7cc40
Added style resources for window.button.pressed.focus: and
...
window.button.pressed.unfocus:
Documentation to be added.
2002-10-03 03:58:07 +00:00
Scott Moynes
080ba7f9b9
remove debug code in window menu placement
2002-10-01 02:12:09 +00:00
Scott Moynes
72a2e98738
merged with 2_1-merged-to-HEAD-2002-09-30
2002-10-01 01:59:09 +00:00
Scott Moynes
783fac59c9
snap a window menu to the bottom of the screen if it is positioned too low.
2002-10-01 01:17:24 +00:00
Scott Moynes
5b8ec88623
fixed menu placement on menus with very small windows
2002-10-01 00:14:15 +00:00
Marius Nita
c2afc72a41
Fix small compile error on g++3.
2002-09-22 09:08:29 +00:00
Scott Moynes
e0d619e309
added a configure flag for enabling/disabling bitmap buttons
2002-09-14 05:43:57 +00:00
Scott Moynes
c196ecd878
more bitmap merge fixes
2002-09-14 04:52:04 +00:00
Scott Moynes
01732a20db
Some bitmap bugfixes
...
Fixed parameters to XFillRectangle, remoced old debug code.
2002-09-14 04:01:20 +00:00
Scott Moynes
c2d992a35c
merged bitmap buttons
2002-09-14 03:44:44 +00:00
Dana Jansens
15ca6904fc
make alt-right click resizing work on the window handles
2002-09-11 02:14:55 +00:00
Dana Jansens
ce5313528e
bindable/disableable root/workspace menus
2002-09-09 22:09:38 +00:00
Dana Jansens
3de15d0504
default drop shadows to off
2002-09-09 20:51:43 +00:00
Dana Jansens
7f001973a8
catch button presses on the window's frame window, else they end up passing up the heirarchy to the root window, and then that will do things like pop up the root menu by right clicking on the window's frame window.
2002-09-08 01:22:13 +00:00
Dana Jansens
70fed8c962
dont draw borders past the end of a texture
2002-09-07 16:50:34 +00:00
Dana Jansens
8d54452b77
lighter shadow
2002-09-07 07:35:03 +00:00
Dana Jansens
01a6d810b6
increase the reported font size when it has a shadow
2002-09-07 07:18:31 +00:00
Dana Jansens
2c01b1aa9a
drop shadow with color of text
2002-09-07 06:43:18 +00:00
Dana Jansens
076ef8c10e
better ropshadow?
2002-09-07 06:26:20 +00:00
Dana Jansens
02c028d8ae
(optional) drop shadows for fonts
2002-09-06 16:14:55 +00:00
Dana Jansens
c1e79a4a82
back out the thick X button
2002-09-04 03:35:21 +00:00
Dana Jansens
23aea9b42f
better border support for stuff. add a borderColor resource, and allow borders with gradients. basically, they can only be used with flat stuff (not raised/lowered)
2002-09-04 02:58:39 +00:00
Dana Jansens
1f5dd220e7
watch for sticky windows when mapping, let them show.
2002-09-04 02:28:42 +00:00
Dana Jansens
42e00b1c5b
sync with 2.0 branch (fix auto-rasie with gtk issue)
2002-09-01 21:14:26 +00:00
Dana Jansens
e93ce60568
sync with the 2.0 branch (make XAtom::getValue not use an XGrabServer)
2002-09-01 09:51:54 +00:00
Dana Jansens
923c381dc1
sync with the 2.0 branch
2002-08-31 06:15:07 +00:00
Scott Moynes
e811623978
fixed debug flag being forced on.
2002-08-29 00:07:53 +00:00
Scott Moynes
767e04e090
Added a optional omnipresent button, enabled using the title bar layout key "S".
...
Needs to be documented, and the drawing tweaked a bit.
2002-08-28 23:58:32 +00:00
Dana Jansens
d139e299d5
cleanups and add a server grab in getValue
2002-08-27 12:49:04 +00:00
Dana Jansens
5033ce0a24
proper mask t catch the unmap events on systray windows
2002-08-27 10:57:15 +00:00
Dana Jansens
f5a1f592a4
fix shape support
2002-08-27 08:18:04 +00:00
Marius Nita
07e619ebbb
Added missing header for clearShape, which was breaking compilation
2002-08-27 06:59:57 +00:00
Dana Jansens
9667f3a0e9
fix shape.
...
a) it didnt work when it added shape after mapping
b) removing shape wouldnt have worked right either
2002-08-27 03:59:51 +00:00
Scott Moynes
bb9a37ec3d
Draw close button with line_width of 2.
2002-08-26 23:52:37 +00:00
Dana Jansens
f763814b33
dont limit how big a window can be resized.
...
dont let the user resize a window smaller than 0, which makes it wrap to a huge number
2002-08-26 12:09:28 +00:00
Dana Jansens
a6d6f0118b
sync with blackbox
...
get rid of the default limit on window sizes
2002-08-26 05:27:25 +00:00
Dana Jansens
85612861f5
don't limit how big a window can be resized
2002-08-26 04:53:37 +00:00
Dana Jansens
d9c0cfedbd
unmanage desktop windows on shutdown
2002-08-26 00:25:08 +00:00
Dana Jansens
3ad19e4a45
format comment
2002-08-26 00:23:28 +00:00
Dana Jansens
328b861d19
use the window's gravity when handling a configureRequest event for a resize only
2002-08-25 11:26:15 +00:00
Dana Jansens
db3e93a3c1
actually check if a window has the function flags approproate before trying to perform an action. (i.e. dont let windows iconify if they arent supposed to, etc)
2002-08-25 09:48:50 +00:00
Dana Jansens
45863e605c
clean up the new focusing code for workspace switching
2002-08-25 08:41:18 +00:00
Dana Jansens
3ee18e2f5f
explicitly set the focused window instead of waiting for the x server when changing workspaces, otherwise, if you move througha workspace before the xserver distributes your focus, you end up losing which window had the focus
2002-08-25 08:11:43 +00:00
Dana Jansens
2c1ce30804
dont add sticky windows to the stacking list more than once
2002-08-24 22:22:52 +00:00
Dana Jansens
23e92e110e
put !normal windows in the general client list too
2002-08-24 20:54:24 +00:00
Dana Jansens
82bf5b555f
put !normal windows in the stacking client list as well as the normal client list
2002-08-24 20:43:58 +00:00
Dana Jansens
b1da899b32
try see if this broke gnome-panel
2002-08-24 19:58:25 +00:00
Dana Jansens
81cdff0693
don't unmap/remap sticky windows on a workspace change, but still make sloppy focus work right.
2002-08-24 08:09:35 +00:00
Dana Jansens
0f4737f0f1
put !normal windows in the screen window list
...
catch systray apps unmap/destroy events
2002-08-24 05:49:22 +00:00
Dana Jansens
8344443c10
handle systray apps closing..
2002-08-24 04:41:22 +00:00
Dana Jansens
57a46b4f0f
default to line width of 0, which is more efficient than 1
2002-08-24 01:14:34 +00:00
Dana Jansens
cbf4bb3d62
use the snap offset as the margin for placing windows instead of a fixed value of 1
2002-08-23 23:13:21 +00:00
Dana Jansens
8dc38853ef
dont autoraise when the window isn't going to get focused either. sdl-fullscreen bug fixed.
2002-08-23 07:28:04 +00:00
Dana Jansens
d1b2c03152
get default line width to 1, and make it a more easily used parameter in BPen
2002-08-23 05:35:34 +00:00
Dana Jansens
469b9b3087
give gc's/BPen's a width
2002-08-23 05:12:07 +00:00
Dana Jansens
78a8ca9e53
the comment more accurate
2002-08-22 04:05:43 +00:00
Dana Jansens
33d2ceccbe
s/__openbox_version/OPENBOX_VERSION
2002-08-22 03:53:17 +00:00
Dana Jansens
a1b96061eb
sync with bb-cvs
2002-08-22 03:46:45 +00:00
Dana Jansens
4d0f46e554
dont use __ for variables.. its illegal. (thanks ppl for the patch.)
2002-08-22 01:03:08 +00:00
Dana Jansens
8a48fff773
support for showing the root and workspace menu with epist
2002-08-22 00:57:29 +00:00
Dana Jansens
cc5bde6d00
toggledecor almost done
...
some code cleanups/fixes
2002-08-21 23:57:03 +00:00
Dana Jansens
d181f1ad05
dont grab other windows while warping in opaque mode
2002-08-21 09:50:47 +00:00
Dana Jansens
d7a655137b
dont pass an unused parameter, and return an unused value
2002-08-21 09:23:00 +00:00
Dana Jansens
9d40660bce
warping works!
2002-08-21 08:59:28 +00:00
Dana Jansens
a9bfdcaa06
making warping work.. hopefully.
...
fix for leaving !normal windows behind in the window list
2002-08-21 07:47:52 +00:00
Dana Jansens
183cf03a4f
set a workspace and window number even for !normal windows
2002-08-21 06:35:29 +00:00
Dana Jansens
aa9ade7a90
add support for the kde-override hint, making the windows get no decorations.
...
also, read the window type as an array, as it is supposed to be read.
2002-08-21 06:09:31 +00:00
Dana Jansens
b1223a2acc
change how the pointer is moved.. try make this more consistant when warping at high speeds.
2002-08-20 18:43:29 +00:00
Dana Jansens
551a17d256
Fix send to menu, having deleted workspaces in it.
...
Fix workspace warping, move the mouse and window the same amount.
Fix workspace switching. Put old code back that worked better.
2002-08-20 15:38:51 +00:00
Dana Jansens
24f64750e9
change default style to mbdtex
2002-08-16 21:14:27 +00:00
Dana Jansens
a2db09b869
ignore the EnterNotify for focusing when changing workspaces in an ACTIVE_WINDOW change, so that the right window gets focused, not the window under the mouse.
2002-08-16 04:25:13 +00:00
Dana Jansens
a0c7fe1f12
sync with bb-cvs.
...
Add the if(sticky) check back into the changing-transient-state code.. test this with vanrijn/bbkeys/klaunch!
2002-08-15 16:27:02 +00:00
Dana Jansens
b016470119
testing whether i caused a bug with this code
2002-08-14 15:10:57 +00:00
Dana Jansens
74a4bc01a7
properly watch for windows on other workspaces when mapping.
2002-08-14 06:26:42 +00:00
Dana Jansens
4bebd476c3
remove the net_wm_desktop/state hints from a window when we stop managing it, so that if an app reuses the window, we don't place it on the wrong workspace the second time.
2002-08-14 06:15:08 +00:00
Dana Jansens
ef66d63b42
dont let windows get initially mapped when they arent on the current workspace
2002-08-13 21:25:41 +00:00
Dana Jansens
91b0784330
don't actually focus windows when adding them to the current workspace. this is already handled elsewhere, ands the window probably isnt evenmapped yet
2002-08-13 21:14:37 +00:00
Dana Jansens
1a145bba61
resize with alt+right click in all the same places that alt+left click moves
2002-08-13 17:49:34 +00:00
Dana Jansens
aa2ec5f217
don't make Decor_Close depend on MWM hints. Thats not part of them.
2002-08-13 13:53:41 +00:00
Dana Jansens
6838ab254f
fix whitespace
2002-08-12 21:00:12 +00:00
Dana Jansens
f633c5f057
allow the user to specify the modmask used to mouse events on windows
2002-08-10 18:21:10 +00:00
Dana Jansens
6e07a64d33
add the FlatBorder texture type
2002-08-10 17:36:26 +00:00
Dana Jansens
ff3d12175e
when updating the client menu for windows that aren't in the client menu, just ignore the request gracefully
2002-08-10 16:53:17 +00:00
Dana Jansens
175a7e5d1c
sync with bb-cvs
2002-08-10 16:52:43 +00:00
Dana Jansens
0f71036099
support the blackbox hints right and the blackbox attributes for decoration state
2002-08-10 16:15:19 +00:00
Dana Jansens
35818cc2f1
reconfigure wont break decor highlighting now
2002-08-10 00:03:29 +00:00
Dana Jansens
36db2d24ef
set a window's decorations based on mwm and window type. Ignore the different blackbox 'levels' since they arent ever used anyways. This makes toggling a window's decor always work right too!
...
Also, make XGrabServer calls while workspace warping ot make sure another window isnt grabbed in place of the one thats warping
2002-08-09 23:55:18 +00:00
Dana Jansens
bc3268b6f9
handle toolbars and utility windows proper. also, no more crashes from kpager (i really hope :P), at least not the same way
2002-08-09 00:44:35 +00:00
Dana Jansens
01096f8674
sync with blackbox-cvs
2002-08-08 23:07:24 +00:00
Dana Jansens
2d5e1c55f1
don't let windows snap to themself
2002-08-08 23:02:52 +00:00
Dana Jansens
027dbd1c20
watch for transient == ~0ul
2002-08-08 05:00:43 +00:00
Dana Jansens
f3a54e41a0
use the old method for showing windows on workspace change
2002-08-08 05:00:14 +00:00
Dana Jansens
72c56d793b
sync with blackbox
2002-08-07 00:24:58 +00:00
Dana Jansens
4e84a99f0a
disable things in the placement menu when they dont have any effect for the selected placement type
2002-08-06 23:39:13 +00:00
Dana Jansens
00391787e3
perhaps fix a segfault here
2002-08-06 22:21:12 +00:00
Dana Jansens
b8c0c7af12
dont snap things around crazy with small windows in resistance mode
2002-08-06 12:03:08 +00:00
Dana Jansens
08e28f38a9
add a sanity check for the snap offset, limiting it to 50
2002-08-03 17:05:09 +00:00
Dana Jansens
dba5b809ec
change default resistance to 18
2002-08-02 21:41:41 +00:00
Dana Jansens
b9e40b8b1e
add the resource for the window snapping offset
2002-08-02 21:07:17 +00:00
Dana Jansens
b34a0d1ce2
save the window-to-window snapping right
2002-08-02 20:56:25 +00:00
Dana Jansens
1ecf3b734a
honor the snap_offset properly for windows, and for edges(?)
2002-08-02 20:50:51 +00:00
Dana Jansens
22869af55c
snap to windows/edges an optional offset away
2002-08-02 20:37:33 +00:00
Dana Jansens
347baf0c0b
had an extra window placement menu
2002-08-02 20:22:36 +00:00
Dana Jansens
50598700df
keep the new menus on top of normal windows
2002-08-02 19:58:18 +00:00
Dana Jansens
d8a817813d
redraw menu checkmarks when needed, this was broken since they're on the opposite side of the menu now
2002-08-02 19:49:29 +00:00
Dana Jansens
a16a273251
Enable corner snapping option for both snap types
2002-08-02 19:36:47 +00:00
Dana Jansens
ea02ab8cae
add config menu entries for all the new window snapping/resistance options
2002-08-02 19:24:38 +00:00
Dana Jansens
3356db4885
add rc options for window snapping/resistance
2002-08-02 19:02:47 +00:00
Dana Jansens
b1a2c014eb
snapping/resistance is optional for window and edge snapping
2002-08-02 18:37:31 +00:00
Dana Jansens
628a4ff368
snap to bottoms too =]
2002-08-02 17:37:28 +00:00
Dana Jansens
39bd954b8b
window resistance complete
2002-08-02 17:30:50 +00:00
Dana Jansens
c2b3dc9f71
more resistance working. edge of screen works right now
2002-08-02 16:54:08 +00:00
Dana Jansens
d94e8c5068
stab #3 . window-to-window works. window-to-screen doesnt
2002-08-02 16:42:23 +00:00
Dana Jansens
6fd2543588
second stab at resistance
2002-08-02 15:58:35 +00:00
Dana Jansens
e9a5c7158a
first stab at window resistance instead of snapping
2002-08-02 15:40:46 +00:00
Dana Jansens
ef0bacbaaf
dont switch workspaces when focusing a sticky window
2002-08-02 14:57:30 +00:00
Dana Jansens
79916c273d
remove the "exec " from the command for running menu stuff so that normal shell things work right in the menu
2002-08-01 07:25:25 +00:00
Dana Jansens
25a18140fa
remove sticky windows from other workspaces when unsticking. stop the abuse of stick()! dont just re-call it!
2002-07-30 07:29:36 +00:00
Dana Jansens
a7515b6d85
don't focus non-visible windows
2002-07-30 07:17:07 +00:00
Dana Jansens
961d7eb5b3
since !isNormal windows cant focus from mouse enter events anyays, we don't need to unmap them/remap them on workspace changes, so we don't. this way they dont flash.
2002-07-29 22:56:08 +00:00
Dana Jansens
06b160db51
use a list of rects instead of windows for window-to-window snapping. Also, snap directly to the slit and toolbar, instead of snapping to the strut.
2002-07-29 15:06:46 +00:00
Dana Jansens
d86284c07b
make root scrolling customizable
2002-07-29 14:49:12 +00:00
Dana Jansens
77c518f808
better sticky windows.
2002-07-29 06:21:31 +00:00
Dana Jansens
f61a455ec1
get the window's title before adding it to the workspace, since the workspace menu wants that title
2002-07-29 05:25:30 +00:00
Dana Jansens
03f9d6170b
sync with bb-cvs (fixes the java bug, plus menu prasing redone)
2002-07-28 18:40:43 +00:00
Dana Jansens
9e7f5d2208
added sticky windows in the wrong place, before the window was even fully initialized ont he workspace.
2002-07-28 18:40:15 +00:00
Dana Jansens
d06cedce06
keep a minimum menu height so that the pixmaps (checkmarks) draw right in them
2002-07-28 17:58:06 +00:00
Dana Jansens
86af1224bd
dont assert for focusing !isNormal() windows
2002-07-28 17:37:31 +00:00
Dana Jansens
5ec63388b8
fixes to make sticky windows work better. they appear in all workspace lists, they get focus when switching workspaces properly, their workspace menus show their focus properly.
2002-07-27 18:17:45 +00:00
Dana Jansens
3816b6a257
when a window is uniconified, ensure its nothe 'last focused window' on some other workspace
2002-07-27 08:19:40 +00:00
Dana Jansens
98c17f1809
let normal windows be netizens again
2002-07-26 21:38:05 +00:00
Dana Jansens
d2ab586410
sync with bb-cvs
2002-07-26 15:22:24 +00:00
Dana Jansens
83b6c9bfa0
sync with bb-cvs
2002-07-26 08:37:15 +00:00
Dana Jansens
462ccd7c4d
sync with bb-cvs
2002-07-26 07:32:26 +00:00
Dana Jansens
6253730ef0
don't worry abou overlapping the toolbar if there is none.
2002-07-25 22:35:55 +00:00
Dana Jansens
60f0d8920c
take out that goddamn stupid assert
2002-07-25 01:33:45 +00:00
Dana Jansens
1e5bbca8a8
use the flag not the function
2002-07-25 01:32:29 +00:00
Dana Jansens
0d209464b1
better focusing. don't set the focused window when its not really set yet, and don't uncheck windows as they lose focus when they are iconified
2002-07-25 01:24:25 +00:00
Dana Jansens
d18f6a4b55
dont unshade windows when they get focus
2002-07-24 09:37:14 +00:00
Dana Jansens
809f819e6f
dont ignore full maxed windows while they are shaded just because they are full maxed
2002-07-23 20:54:40 +00:00
Dana Jansens
5cb2020b9b
make modal dialogs unmodal before reassigning focus when they are unmanaged
2002-07-23 16:17:28 +00:00
Dana Jansens
733b4f4a33
add comment
2002-07-23 06:04:08 +00:00
Dana Jansens
9500c095f8
dont accept motion events with same_screen set to false
2002-07-23 06:03:36 +00:00
Dana Jansens
6417766553
indenting
2002-07-23 05:35:40 +00:00
Dana Jansens
725e87a05e
reorder the menu, put Workspace Warping beside the opaque moving option
2002-07-23 04:31:28 +00:00
Dana Jansens
6747a451f4
add configmenu option for workspace warping
2002-07-23 04:29:57 +00:00
Dana Jansens
be306f6b60
add rc option for workspaceWarping
2002-07-23 04:22:42 +00:00
Dana Jansens
a41a0c1ac8
fix a crash. when the window loses focus during its death, it uses the timer object, which was being deleted.
2002-07-23 04:01:39 +00:00
Dana Jansens
ba9c665a87
workspace warping. this needs to be optional! also motion events are retarded!
2002-07-23 03:56:29 +00:00
Dana Jansens
4c03637fd1
modal transients wouldnt throw their focus up to their arent cuz the parent didnt know the modal dialog was gone yet and would pass it back to them.
2002-07-23 01:05:31 +00:00
Dana Jansens
b1874480ae
place large windows correctly instead of asserting
2002-07-22 23:32:30 +00:00
Dana Jansens
1e19ccc2cb
snapping better to the xinerama regions
2002-07-22 21:09:30 +00:00
Dana Jansens
a0f9b93d5b
indenting
2002-07-22 16:37:49 +00:00
Dana Jansens
107e0911b0
check to make sure the workspaces is > 0 not != 0
2002-07-22 16:15:39 +00:00
Dana Jansens
c15287a822
menu was off-by-one when no xinerama support was built in
2002-07-22 09:15:23 +00:00
Dana Jansens
b73ff84f6f
make it real easy to change the modifier key used for mouse bindings
2002-07-22 08:49:50 +00:00
Dana Jansens
fd90355381
xinerama support where it shouldnt be
2002-07-22 08:44:20 +00:00
Dana Jansens
da67802bc8
add a xinerama support menu
2002-07-22 08:09:34 +00:00
Dana Jansens
ccecab7915
dont snap windows to rects they arent in for the screen regions (xinerama) or strut/screenarea
2002-07-22 07:31:07 +00:00
Dana Jansens
debe8a2f74
window snapping now has xinerama support
2002-07-22 06:49:12 +00:00
Dana Jansens
98d4ac78ff
turn RectList into a vector
2002-07-22 06:12:38 +00:00
Dana Jansens
47585423c6
default all xinerama support options to off
2002-07-22 06:12:20 +00:00
Dana Jansens
47d7f62bf2
had an extra const in there
2002-07-22 06:11:33 +00:00
Dana Jansens
270981e6d7
better cascade placement! also, it has xinerama support now!
2002-07-22 06:02:29 +00:00
Dana Jansens
e943c31bb0
only say xinerama is active if we can find some regions for it
2002-07-22 05:37:10 +00:00
Dana Jansens
c293fd65ca
xinerama support for maximizing windows
2002-07-22 04:56:25 +00:00
Dana Jansens
b7ab0001ce
move an assert to its proper place
2002-07-22 04:39:32 +00:00
Dana Jansens
e18ff901fc
xinerama support for window placement
2002-07-22 04:29:40 +00:00
Dana Jansens
9fe6b282c0
get the right rects for the xinerama regions
2002-07-22 02:07:36 +00:00
Dana Jansens
f7122039db
make work without --enable-xinerama
2002-07-22 01:21:07 +00:00
Dana Jansens
bcb14a3ce9
acquire and provide Xinerama information for the window manager. now we just gotta use it.
2002-07-21 23:58:09 +00:00
Dana Jansens
296c12c036
add Xft-build-support and Xinerama-build-support to the -help output
...
add --enable-xinerama to configure
2002-07-21 17:58:03 +00:00
Dana Jansens
df7120d5ff
new slit placement. yea its kinda weak. this can get improved late if people complain. slit is going away anyways for 3.0.
2002-07-21 10:08:57 +00:00
Dana Jansens
bd7f948159
sync with bb-cvs.
...
Add option in config menu for disabling mouse input with scroll lock.
Remove compile-time flag for event clobbering since this solves that problem for now.
2002-07-21 09:56:18 +00:00
Dana Jansens
54c495c83c
add some cvsignore's
2002-07-20 23:19:25 +00:00
Dana Jansens
7493785c17
new windows on non-visible workspaces should follow the same focus rules as those on the visible workspace. if "Focus New Windows" is on, then they should get focus when the workspace becomes visible.
2002-07-20 20:44:29 +00:00
Dana Jansens
54dfa44cbe
move the Strut struct from Screen.hh to Util.hh
2002-07-20 19:13:29 +00:00
Dana Jansens
df61eecc26
add ifdefs for config.h
2002-07-19 22:22:32 +00:00
Dana Jansens
5d95d24dd2
use the _variable member naming convention
2002-07-19 22:22:19 +00:00
Dana Jansens
37824505d7
screwed up the order in which hints were retrieved on windows. this actualy turns out to be important :)
2002-07-19 19:31:57 +00:00
Dana Jansens
5862475ff2
make HUP reconfigure as in blackbox. make USR1 restart instead
2002-07-19 19:04:28 +00:00
Dana Jansens
256bcbed81
changing the number of workspaces in the rc does something without restarting now!
2002-07-19 14:38:10 +00:00
Dana Jansens
0326ac961f
don't try to show windows which are already shown. this also ends up fixing an elusive segfault.
2002-07-19 08:13:42 +00:00
Dana Jansens
23da937e01
only focus new transient windows if their parent has the input focus
2002-07-19 06:56:00 +00:00
Dana Jansens
6b3f5abde4
dont reconfigure during startup. thats a waste and screws up stuff!
2002-07-19 06:47:27 +00:00
Dana Jansens
90239e2bfa
make the bullet, checkmark, and text, all the same color in the menu
2002-07-18 06:47:26 +00:00
Dana Jansens
ec5ea27e53
select the focused window in the workspace menu
2002-07-18 06:29:38 +00:00
Dana Jansens
7972a75e46
fix some capitalisations
2002-07-18 05:30:48 +00:00
Dana Jansens
5b0751d51e
move the checkmarks to the opposite side of the bullets. This means they still can be used in the workspace menu for the focused workspace.
2002-07-18 05:14:18 +00:00
Dana Jansens
0a9da78140
change the color used for the checkmark. match the text. dont check the current workspace in the workspace menu.
2002-07-17 22:56:21 +00:00
Dana Jansens
f020fb586b
new checkmark for the menus
2002-07-17 22:43:33 +00:00
Dana Jansens
4b339891e7
reverse the if
2002-07-16 22:01:17 +00:00
Dana Jansens
de6c40934f
dont put non-normal windows in the stacking list. they dont show up in theclient list either.
2002-07-16 22:00:44 +00:00
Dana Jansens
2dde696a13
much awesome support for special windows like panels/desktops.
...
All 'non-normal' windows are treated equally now, with a fe wexceptionms for the desktop for stacking.
Fix some ClicmMousePlacement bugs while we're at it.
2002-07-16 08:00:59 +00:00
Dana Jansens
41053a810a
put the assert back. better solution in mind
2002-07-16 05:09:03 +00:00
Dana Jansens
d5d02c45eb
taking out an assert that only causes problems
2002-07-16 05:07:16 +00:00
Dana Jansens
daaac0dfe2
Click Mouse Placement is BACK!#!#
2002-07-16 05:00:09 +00:00
Dana Jansens
94d86896b4
add sendClientMessage
2002-07-16 04:51:06 +00:00
Dana Jansens
315f1d107a
switch workspaces if neccessary for a NET_WM_ACTIVE_WINDOW ClientMessage
2002-07-16 04:18:13 +00:00
Dana Jansens
7427fe1b9c
make bbkeys' cycliong work right, how it used to. instead of working like supoprt for brokenass kwin does
2002-07-16 04:15:24 +00:00
Dana Jansens
1d4391b09c
dont reposition non-normal/dialog windows when they get focus, such as kde's kicker, if they are off screen. they are special and may be doing this on purpose
2002-07-16 03:50:55 +00:00
Dana Jansens
fb613db29f
dont let focus fall back to strange windows like panels, only to normal windows and dialogs
2002-07-16 02:38:26 +00:00
Dana Jansens
5cf86b186c
add options for ignoring shaded windows and full-maxed windows while placing new windows
2002-07-16 02:18:16 +00:00
Dana Jansens
af0eced081
kde's 'desktop menu' now works just like a panel
2002-07-15 22:27:46 +00:00
Dana Jansens
90dbcb271c
properly handle workspace names, and changes to them.
2002-07-14 20:54:03 +00:00
Dana Jansens
c6a826bf66
fix case where the window group deletes itself. somehow missed this while syncing! :(
2002-07-14 18:47:52 +00:00
Dana Jansens
3312a209d7
sych with blackbox
2002-07-14 18:45:46 +00:00
Dana Jansens
1525520dd1
make arrows larger, match th size of the other bullets. make all bullets' sizes quickly/easily adustable
2002-07-14 17:55:03 +00:00
Dana Jansens
8ff1b70973
make sure the desktop names atom is set when setting a workspace name, even when it doesnt already exist (bug fix)
2002-07-14 17:30:26 +00:00
Dana Jansens
8cb1108f4e
properly lower windows and keep desktop windows on the bottom.
2002-07-13 21:25:19 +00:00
Dana Jansens
e8b6f65186
add support for the WM_CLASS property.
...
make getValue for a string array return the right number in nelements.
2002-07-12 02:24:30 +00:00
Dana Jansens
17fbff7d70
make the wheel mouse shade anywhere on the titlebar, and not press buttons. thanks woodlbock.
2002-07-11 23:44:04 +00:00
Dana Jansens
f320a02397
clean up the systray and desktop lists
2002-07-11 00:41:56 +00:00
Dana Jansens
cac80d06ef
restart the window manager on a SIGHUP
2002-07-10 22:29:57 +00:00
Dana Jansens
9e99a9a1e2
sync with bb cvs
2002-07-10 22:24:48 +00:00
Dana Jansens
b21cf8b335
add another return, and return a value for a non-void funtion.
2002-07-10 17:49:05 +00:00
Dana Jansens
25f3456b5d
missing a ;
2002-07-10 17:47:59 +00:00
Dana Jansens
66119f751d
add some returns so the compiler doesnt get confused
2002-07-10 17:46:21 +00:00
Dana Jansens
235d9e4c40
use a BPen in the BFont class for drawing standard X fonts
2002-07-09 06:50:01 +00:00
Dana Jansens
0c04fb5260
synch with bb-cvs.
...
add window resize zones. the resource has been renamed from windowZones to resizeZones.
2002-07-09 06:09:10 +00:00
Dana Jansens
8e34bfcfcb
keep iconified windows' workspace set to BSENTINEL, but set the NETWM hint to 0xffffffff (all desktops)
2002-07-09 04:49:04 +00:00
Dana Jansens
f2ecfb623b
when a window is iconified, set its workspace to 'all workspaces' so it shows up in taskbars still. otherwise its impossible to get back iconified windows. update teh stacking list when windows switch workspaces.
2002-07-09 01:22:16 +00:00
Dana Jansens
20bc088a99
add option to the rc file to use/not use AA for Xft fonts
2002-07-08 04:40:34 +00:00
Dana Jansens
1618ecc845
extend the style format to use xft.(font|size|flags) to specify an xft font
2002-07-08 02:28:24 +00:00
Dana Jansens
137a0c4e59
allow style options in the rc file to override those found in the style
2002-07-07 21:16:35 +00:00
Dana Jansens
32c1369752
no need to call XrmInit outside of Config class. fix indenting.
2002-07-07 20:38:39 +00:00
Dana Jansens
1da5287620
dont need to XrmInit outside of the Config class. fix indenting.
2002-07-07 20:38:00 +00:00
Dana Jansens
6d4aa1af4e
fix a debug print
2002-07-07 19:17:04 +00:00
Dana Jansens
ed3e597500
don't cast char*'s to string's needlessly
2002-07-07 11:17:44 +00:00
Dana Jansens
300491ce5a
sync with bb-cvs
2002-07-07 10:27:06 +00:00
Dana Jansens
b29977196b
try make the ~/.openbox dir if it doesnt exist.
2002-07-07 10:26:42 +00:00
Dana Jansens
b950402ba2
remove some debug fprintfs
2002-07-06 00:29:12 +00:00
Dana Jansens
5282d92b62
was ending up using the wrong cache items. now i find and release it every time a string is drawn
2002-07-06 00:28:27 +00:00
Dana Jansens
6716bd3323
sync with bb-cvs: re-add support for alt-button2, fix some off by 2's temorarily
2002-07-05 23:56:10 +00:00
Dana Jansens
9d2f88e05a
use the True/False as is the blackbox code standard.
2002-07-05 22:09:40 +00:00
Dana Jansens
4abbbd9f84
remove compiler warnings
2002-07-05 20:13:56 +00:00
Dana Jansens
b3c3157354
fix a memleak reported by valgrind
2002-07-05 19:48:03 +00:00
Dana Jansens
6954842d84
when placing a window, dont use its strut while placing itself.
2002-07-05 19:47:44 +00:00
Dana Jansens
e15e4a9e03
make iconified windows uniconify on an XMapRequestEvent.
...
sync with blackbox cvs.
2002-07-05 01:24:32 +00:00
Dana Jansens
be2f47223c
make the styles' doJustify methods stop returning the string length as this is no longer needed with the BFont class
2002-07-04 21:33:27 +00:00
Dana Jansens
08d793bb79
add BFont class, with Xft support
2002-07-03 06:34:25 +00:00
Dana Jansens
9aaf4f8de7
some memory bugs from woodblock (thanks!)
2002-07-03 05:26:11 +00:00
Dana Jansens
75a068cca2
removing old Makefile.in, rolling back Makefile.am to before the mappable muse button bindings
2002-07-03 01:31:32 +00:00
Dana Jansens
888c0bac90
backing out all changes to make mouse button mapping's configurable
2002-07-02 14:57:02 +00:00
Dana Jansens
ffa4c7f341
sync with bb. mostly cleanups in Window.cc
2002-06-30 09:53:52 +00:00
Dana Jansens
18064df19f
add capability to stick a window from input, and make close buttons work.
2002-06-30 03:30:54 +00:00
Dana Jansens
351a06655b
Configureable button mappings!
2002-06-29 23:50:04 +00:00
Dana Jansens
b0d81f77aa
proper order for the stacking order list
2002-06-28 04:27:49 +00:00
Dana Jansens
871602208a
make desktop windows get lowered properly
2002-06-28 03:39:22 +00:00
Dana Jansens
eb136b9629
use the _NET_WM_DESKTOP_NAMES root property
2002-06-28 01:44:47 +00:00
Dana Jansens
e9f582ae97
make getting a list of strings work right
2002-06-28 01:43:32 +00:00
Dana Jansens
578a5cc980
make fully max'd windows properly snap
2002-06-27 17:54:32 +00:00
Dana Jansens
b2e9af8886
add the functionality for window-window snapping
2002-06-22 04:48:33 +00:00
Dana Jansens
f4c0547b7a
merge from netwm-merge2 to netwm-merge3. Basically, all of netwm that we intend to support is 'supported'. Just need to squash bugs now.
2002-06-21 20:40:14 +00:00
Dana Jansens
1766453ca2
sync with blackbox-cvs
2002-06-21 01:06:29 +00:00
Dana Jansens
8941da8e41
change to match blackbox
2002-06-07 00:28:40 +00:00
Dana Jansens
e90fafd2fd
fix off-by-ones in window-to-window snapping. move the property from the blackbox class to the screen class.
2002-06-07 00:24:02 +00:00
Dana Jansens
aad50046de
synched with bb-cvs. couple bug fixes.
2002-06-05 04:20:08 +00:00
Dana Jansens
7a55323343
syching with bb-cvs. rm .\#* on make dist-clean. nls updates.
2002-06-05 03:51:26 +00:00
Dana Jansens
a7db565c75
window-to-window snapping is now a run-time option.
...
window-corner snapping added, and also is a run-time option.
2002-06-02 00:30:55 +00:00
Dana Jansens
f0c2fa18be
window-to-window corner snapping!
2002-06-01 23:48:21 +00:00
Dana Jansens
39d598e556
backing out sticky transients change, this should go in the netwm branch
2002-06-01 18:08:49 +00:00
Dana Jansens
1775e867c4
sync with bb-cvs
2002-06-01 17:54:32 +00:00
Dana Jansens
4e0fde35ac
make all parents/transients that are related have the same sticky state.
2002-06-01 17:18:55 +00:00
Dana Jansens
20bac0772c
on reconfigure, save all of the open submenus instead of just one, and then reopen them all as best as possible.
2002-06-01 17:14:32 +00:00
Dana Jansens
e149ab6c29
no need to try the same screen edge twice for snapping when full max is on
2002-05-30 23:17:54 +00:00
Dana Jansens
9ccebf1118
redecorating fixups. sync with bb cvs.
2002-05-30 08:55:30 +00:00
Dana Jansens
c5c5a80c7e
fix bug from merging last netwm stuff
2002-05-30 07:14:43 +00:00
Dana Jansens
5336c900d0
merge in netwm branch at tag netwm-merge2
2002-05-30 06:51:43 +00:00
Dana Jansens
23640740ca
sync with bb cvs
2002-05-30 04:35:22 +00:00
Dana Jansens
4787715525
save the right number of workspaces to the rc when adding/removing one
2002-05-29 09:11:41 +00:00
Dana Jansens
53353465f2
fix so that FocusIn events for focus transer from root->client are used.
2002-05-28 19:34:23 +00:00
Dana Jansens
b8ee3dbc45
merging in netwm changes at merge point "netwm-merge1". This add the XAtom class, and sets the net_supported_wm_check related atoms.
2002-05-28 14:32:42 +00:00
Dana Jansens
12fcb33bfa
re-added UnderMouse Placement
...
added NLS support in the new configure system.
2002-05-28 12:39:23 +00:00
Dana Jansens
b48e215ca6
updated nls to use openbox.cat
2002-05-28 12:21:38 +00:00
Dana Jansens
8eb930551c
disable the current workspace in the send-to menu
2002-05-28 11:55:43 +00:00
Dana Jansens
46b2484eda
let a window snap to more than one window at a time
2002-05-28 11:46:29 +00:00
Dana Jansens
734a96739d
window-to-window snapping
2002-05-28 11:38:37 +00:00
Dana Jansens
0bf0d84443
adding .cvsignore files to the repository to clean up the output whenever you commit some sort of cvs action
2002-05-28 10:33:56 +00:00
Dana Jansens
b13452a0c0
when nothing is to be focused, give the root window focus instead of the toolbar (since the toolbar is not neccesarily mapped anymore!)
2002-05-28 10:15:08 +00:00
Dana Jansens
57ac5e5b5e
sync with bb-cvs
2002-05-28 09:53:11 +00:00
Dana Jansens
6284d4ef90
fix bug where destroying the wrong windows in BlackboxWindow::positionButtons.
...
make util/ directory use the new config.h too
2002-05-28 09:38:40 +00:00
Dana Jansens
62ea1c5937
use config.h for configuration options instead of a bunch of -D's on the compile command lines
2002-05-28 07:41:47 +00:00
Dana Jansens
5377e3fde1
added "Hide Toolbar" option.
2002-05-27 05:06:04 +00:00
Dana Jansens
b0f8eab0e6
make window menu behavior consistant. ignore !button1.
2002-05-27 03:55:18 +00:00
Dana Jansens
341c4e04ff
mouse wheel support
...
custom titlebar layout
2002-05-27 03:12:21 +00:00
Dana Jansens
c2ab902334
prevent (and if need be revert) shading if titlebar decor is toggled off
2002-05-26 20:53:48 +00:00
Dana Jansens
f5f7c8fb4e
use the raw screen size not the strut adjusted size to determine max_height and width of a client
2002-05-26 20:51:33 +00:00
Dana Jansens
59cea4f2d3
save workspace names properly with the new Configuration class.
2002-05-26 20:51:12 +00:00
Dana Jansens
0305cbdc3a
add Configuration class for generic configuration data load/save-ing.
...
use Configuration class throughout code. no longer save rc file on exit, save when any options are changed.
2002-05-26 20:25:38 +00:00
Dana Jansens
0c7e8e4011
fixed the geometry window not getting the proper pixmap. This was caused by using a style with the window.label.focus set to parentrelative. The window label's parent is the title bar but the geometry window's parent is root. The code now detects the parentrelative and tries to use the window.title as intended.
2002-05-25 15:46:08 +00:00
Dana Jansens
c04cb76409
- raise the window during maximization if the user clicked the maximize button, but otherwise don't
...
- two fixes here. 1) only raise window in maximize if the window is focused, 2) remap window on reparent event
2002-05-25 15:45:09 +00:00
Dana Jansens
2f65b6533c
make use of the --enable-clobber option
2002-05-25 03:46:25 +00:00
Dana Jansens
d744d37540
reindent version string
2002-05-25 03:24:39 +00:00
Dana Jansens
e5d6ed912c
reindent again. better now.
2002-05-25 03:23:44 +00:00
Dana Jansens
ca5b573f63
reindent the help/usage message
2002-05-25 02:58:51 +00:00
Dana Jansens
b3737edc7c
use openbox/ dir for rc file and menu file. turn menu into a command line option instead of an rc file option
2002-05-25 02:24:30 +00:00
Dana Jansens
e5bdc51167
build a 'openbox' binary
2002-05-25 01:18:50 +00:00
Dana Jansens
f70f3028ce
use our default style
2002-05-25 01:11:24 +00:00
Dana Jansens
f992b34c7d
use our version string
2002-05-25 01:10:44 +00:00
Dana Jansens
20063c2246
import from bb-cvs
2002-05-25 00:30:31 +00:00
Dana Jansens
8794d357e6
import from bb-cvs
...
added slit and enable-clobber defines back in Makefile.am
2002-05-25 00:29:44 +00:00
Dana Jansens
18bdbfaad2
better string get/set
2002-05-24 18:19:22 +00:00
Dana Jansens
120d8e5ac3
updated -version output ot list myself
2002-05-23 15:40:11 +00:00
Dana Jansens
bbbe226ccc
refix i18n for --disable-nls
2002-05-23 15:22:48 +00:00
Dana Jansens
e7c332a586
missing an include
2002-05-23 15:12:38 +00:00
Dana Jansens
ac62af410d
fix compiling with --disable-nls
2002-05-23 15:11:41 +00:00
Dana Jansens
d03852ad25
fix compliling with --disable-slit
2002-05-23 15:00:15 +00:00
Dana Jansens
a85c9a7c6e
added XAtom class, and it all now compiles.
2002-05-23 14:53:06 +00:00
Dana Jansens
67b4df1eff
merge the sticky window fix from 1.2.
2002-05-23 14:27:52 +00:00
Dana Jansens
fda410fdf2
fixed sticky windows!
2002-05-23 06:23:22 +00:00
Dana Jansens
20d7381ffb
new versions of the X classes
...
added an Atom in XAtom and functionality in XScreen and XDisplay
2002-05-17 02:49:26 +00:00
Dana Jansens
de712f8567
XDisplay's nextEvent completed
2002-05-16 22:48:44 +00:00
Dana Jansens
ae3dc273c4
new i18n class using overloaded operator() instead of getMessage()
2002-05-16 22:35:59 +00:00
Dana Jansens
91a7ca7d20
added the X classes to the build process though they aren't sued by anything else yet. They now compile too.
2002-05-16 18:39:03 +00:00
Dana Jansens
cc7cb82deb
adding new X base classes which encapsulate all X server interation
2002-05-16 15:50:41 +00:00
Dana Jansens
4f04dcaf22
removing auto-generated stuff from cvs
2002-05-16 15:27:36 +00:00
Dana Jansens
ae093dba2f
make a new autoRaiseDelay value take effect without having to restart
2002-05-16 09:24:40 +00:00
Dana Jansens
7f3d32e3dc
make auto-raise value load.
2002-05-16 07:52:13 +00:00
Dana Jansens
927091eef1
fix off-by-one window resizing bug
2002-05-16 07:16:32 +00:00
Dana Jansens
5d6413d495
fix for slit direction menu not reconfiguring properly
2002-05-16 05:59:02 +00:00
Dana Jansens
90e7db977f
*** empty log message ***
2002-05-16 04:41:56 +00:00
Dana Jansens
a3a23c28f0
moved menu from a rc file option to a command line option
2002-05-15 22:23:35 +00:00
Dana Jansens
878d57337f
update changelog.
...
removed a redundant var from BaseDisplay.
2002-05-14 23:30:22 +00:00
Dana Jansens
e7978c7d24
confine the mouse to the window for button grabs so that alt-click-drag on a window that wont move doesnt let the mouse leave the window and cause havoc
2002-05-14 23:15:38 +00:00
Dana Jansens
f75083669f
new version of bsetroot ported from blackbox cvs
2002-05-14 22:15:01 +00:00
Dana Jansens
527864614b
set the button windows to None when they are destroyed so we know they are no longer valid windows
2002-05-14 19:32:32 +00:00
Dana Jansens
1b1efab489
compile with -Wall -W -pendantic when --enable-debug is set.
2002-05-14 19:28:34 +00:00
Dana Jansens
f00ed578ba
new focus code! working better than ever!
2002-05-14 07:53:22 +00:00
Dana Jansens
e81b9d6a72
fix for changing window buttons order. destroy them properly when they no longer exist and recreate them if they dont exist yet
2002-05-14 00:47:16 +00:00
Dana Jansens
d6c02ad70c
fix segfaut from uninitialized focused_screen pointer
2002-05-13 23:09:20 +00:00
Dana Jansens
6d16679486
focus code updates
2002-05-13 00:23:59 +00:00
Dana Jansens
6486b64576
LinkedList->STL conversion completed. LinkedList is no longer use and it has been removed from the source tree.
2002-05-12 22:45:28 +00:00
Dana Jansens
d58f7b569e
no more use of LinkedList in BaseDisplay
2002-05-12 22:40:32 +00:00
Dana Jansens
eb8a11a5a7
removed LinkedLists in BaseDisplay and Image. Only 1 left in BaseDisplay now
2002-05-12 21:46:02 +00:00
Dana Jansens
ebdf25bf67
removed all 'using namespace std;' calls.
2002-05-12 21:15:40 +00:00
Dana Jansens
4969c1b084
move some typedefs into class scope
2002-05-12 20:56:40 +00:00
Dana Jansens
30b899fc02
converted all of the openbox class LinkedLists to STL objects
2002-05-12 20:46:02 +00:00
Dana Jansens
57fb41c806
converted the remaining LinkedLists in Screen to STL objects.
2002-05-12 09:15:09 +00:00
Dana Jansens
addc23faf5
not initializing a pointer to NULL
2002-05-12 01:40:36 +00:00
Dana Jansens
a0dbb0e13f
couple of LinkedLists converted to STL lists in BScreen
...
changed teh calls to XSetInputFocus. Using the root window as the fallback when there is nothing to focus instead of the toolbar. Also, always using 'RevertToPointerRoot' instead of sometimes 'RevertToParent'
2002-05-12 01:23:48 +00:00
Dana Jansens
f804f86c3e
use screen instead of its ImageControl to get/set the image dither value
2002-05-11 18:36:26 +00:00
Dana Jansens
c7810a3c38
make image dithering value load correctly
2002-05-11 18:33:29 +00:00
Dana Jansens
b424a72384
converted from LinkedList to STL vector and list
2002-05-11 05:33:49 +00:00
Dana Jansens
9f9cdf1194
fixes for using ostrstream in gcc3. have to unfreeze the string more. annoying.
...
save workspace names/count properly
2002-05-10 07:13:40 +00:00
Dana Jansens
098fae70a6
better gcc3 compat. using ostrstream again. and using namespace std;
...
some focus changes. workspace contains a focused window instead of openbox class. this fixes a seg
2002-05-10 02:58:09 +00:00
Dana Jansens
8956328138
gcc 3 compatibility, converted strstreams to stringstreams
2002-05-07 15:34:46 +00:00
Dana Jansens
38de48bd8b
stop moving a window if it is maximized
2002-05-03 22:02:51 +00:00
Dana Jansens
445e28af9a
windows at positions x<0 or y<0 are no longer ignored in the placing code
2002-05-02 04:44:19 +00:00
Dana Jansens
ba832151d0
better toolbar strftime size/padding fix
2002-05-01 22:30:44 +00:00
Dana Jansens
73f0a90993
BScreen::resource.root_command wasnt being initialized
2002-05-01 22:21:12 +00:00
Dana Jansens
5f9c458fbc
fix possible seg because of new move code. make sure that the masked_window pointer gets cleanup up (call endMove) when a window is destroyed (pointer is then invalid)
2002-05-01 07:13:12 +00:00
Dana Jansens
0be1c1e8d7
when a window begins moving, make sure another window is not moving already, and if it is, end its move
2002-04-30 08:09:53 +00:00
Dana Jansens
f4d29bb737
make sure that the only time Click-to-place kicks in is when initially placing/mapping the window
2002-04-30 07:46:46 +00:00
Dana Jansens
5705ea3613
bug #1 from click placement fixed. was catching more motionNotify events than i wanted to with the new/modified move grabs. now i drop any left-over extras when the move completes so they dont come in too late
2002-04-30 07:24:54 +00:00
Dana Jansens
f290e1c04c
save the titlebarLayout in the default config
2002-04-30 02:08:33 +00:00
Dana Jansens
84f0293a88
fix bug with window menu positioning
2002-04-29 23:27:31 +00:00
Dana Jansens
22f8550d45
fixed col placement
2002-04-29 20:29:10 +00:00
Dana Jansens
00dc78c66f
better logic when changing a window's decoration level, for choosing what elements of decoration get placed on the window.
2002-04-29 07:31:44 +00:00
Dana Jansens
fb1ef42d42
fixed bug from converting over to STL
2002-04-29 01:58:28 +00:00
Dana Jansens
127252cc10
when a window is iconified, it was being moved, end the move cleanly
2002-04-28 19:17:16 +00:00
Dana Jansens
5e3ca8e665
don't click-to-place windows when they specify a position
2002-04-28 19:14:54 +00:00