all repos — openbox @ b90b0beaf930deb96e47eddab7b971d686052ea1

openbox fork - make it a bit more like ryudo

b90b0bea
global valid
Dana Jansens danakj@orodu.net
3cdf906f
more checks, for pixelsize fonts
Dana Jansens danakj@orodu.net
a32fffbb
add more checks, for fonts, and for missing stuff
Dana Jansens danakj@orodu.net
48cc1758
update oldschool .xft.font options from ob2
Dana Jansens danakj@orodu.net
6258e5f7
enable all the tests
Dana Jansens danakj@orodu.net
cdf2d7ea
check for oldschool fonts
Dana Jansens danakj@orodu.net
dd74424f
check window.button.pressed
Dana Jansens danakj@orodu.net
9d1137a6
themeupdate already fixes some recent changes
Dana Jansens danakj@orodu.net
ea949093
couple more xrdb theme format cleanups:
window.focus.font -> window.label.focus.font
window.unfocus.font -> window.label.unfocus.font
window.justify -> window.label.justify
menu.frame.* -> menu.items.*
menu.hilite.* -> menu.selected.*
*.picColor -> *.imageColor
Dana Jansens danakj@orodu.net
7f7378cc
remove an old plugin call
Dana Jansens danakj@orodu.net
f33bbca9
couple more xrdb theme format cleanups:
window.focus.font -> window.label.focus.font
window.unfocus.font -> window.label.unfocus.font
window.justify -> window.label.justify
menu.frame.* -> menu.items.*
menu.hilite.* -> menu.selected.*
*.picColor -> *.imageColor
Dana Jansens danakj@orodu.net
556a4f35
remove the urgent options
Dana Jansens danakj@orodu.net
5dafdaf2
dont crash when flashing a window when it goes away, remove the timer when dying
Dana Jansens danakj@orodu.net
3ab0fc48
flash when urgent
Dana Jansens danakj@orodu.net
ed6f5152
remove vibrate and flash actions
Dana Jansens danakj@orodu.net
bd70fff6
improved frame flashing code, can start and stop it on command
Dana Jansens danakj@orodu.net
169e64da
remove the urgent actions
Dana Jansens danakj@orodu.net
4a107aa4
i rul.. at typos..
Dana Jansens danakj@orodu.net
1d31a09f
copy/free the new interlaced color
Dana Jansens danakj@orodu.net
e91814e9
add interlaceColor, and support interlaced gradients
Dana Jansens danakj@orodu.net
93547b57
add flashing urgent windows
Dana Jansens danakj@orodu.net
1b0a66dc
add flash action
Dana Jansens danakj@orodu.net
0621e229
add code to flash the frame
Dana Jansens danakj@orodu.net
d7b4f1b1
make separators span the width of the entire menu
Dana Jansens danakj@orodu.net
9d42df6a
add urgent actions
add some macros for moving/resizing clients
add 'vibrate' action
Dana Jansens danakj@orodu.net
a1fdeedb
s/expand_tile/ob_expand_tilde/
Dana Jansens danakj@orodu.net
955dfabf
missing 'extern' for a bunch of vars
Dana Jansens danakj@orodu.net
b543af60
move expand_tilde to ob_expand_tilde in openbox.c to make it global.
use it on the command read in the menu parsing for pipe menus.
use it on the command read for execute/restart actions.
Dana Jansens danakj@orodu.net
43c5c01d
parse all the menu files specified
Dana Jansens danakj@orodu.net
8de54d2b
oops, now is in the loop :>
Dana Jansens danakj@orodu.net
5db556c5
get the current time when adding timers
Dana Jansens danakj@orodu.net
eabb24ae
i dont use sed for anything, no need to check for it
Dana Jansens danakj@orodu.net
2c185975
rm some plugin stuff that i missed
Dana Jansens danakj@orodu.net
84de4a17
alpha7
Dana Jansens danakj@orodu.net
0a580a10
changes
Dana Jansens danakj@orodu.net
854da68d
add the DesktopLast action, props to marius nita for this one
Dana Jansens danakj@orodu.net
030fabad
remove debug print
Dana Jansens danakj@orodu.net
ea2f33e9
add a separator in the client-list-menus above iconic windows
Dana Jansens danakj@orodu.net
7b06426b
dont lose the menu selection while puttin the mouse over a separator (properly)
Dana Jansens danakj@orodu.net
d298cfb7
compress events properly
Dana Jansens danakj@orodu.net
49d58ec9
only hide menus if theyre supposed to when executing
Dana Jansens danakj@orodu.net
4ab212d0
make directional focusing an interactive action
Dana Jansens danakj@orodu.net
ba64eb20
the <interactive> tags are no longer needed
Dana Jansens danakj@orodu.net
75c8bec4
make desktop cycling work properly when non-interactive
Dana Jansens danakj@orodu.net
829a9faf
when no modifiers are in a binding, then make it non-interactive
Dana Jansens danakj@orodu.net
0745e2ee
make focus cycling work when not interactive
add focus_directional_cycle
Dana Jansens danakj@orodu.net
01278127
tore did some more actions :)
Dana Jansens danakj@orodu.net
89fb38e1
ungrab keys before grabbnig keys at the next chain level
Dana Jansens danakj@orodu.net
4d9a46be
grab the pointer Async for key grabs, lets key bindings like <execute>xkill</execute> work
Dana Jansens danakj@orodu.net
a991c07b
draw menu separators
Dana Jansens danakj@orodu.net
cd75b454
add RrColorGC
add a LineArt texture type for drawing a line, this is used for drawing the menu separators
Dana Jansens danakj@orodu.net
6e86a42c
use RrColorGC
Dana Jansens danakj@orodu.net
f90167d8
add RrColorGC
Dana Jansens danakj@orodu.net
02045b14
kill a warning
Dana Jansens danakj@orodu.net
3e4495c4
move_onscreen was supposed to go away.. :) thanks mikachu
Dana Jansens danakj@orodu.net
435b9b37
*** empty log message ***
Scott Moynes smoynes@nexus.carleton.ca
d0b9c28d
remove the last of the plugin stuff
Dana Jansens danakj@orodu.net
e10b4aac
add masks from the titlebar buttons to the client menu's options
Dana Jansens danakj@orodu.net
5d4cbbc6
add suppot for showing pixmap masks in menus where the rgba icons go too
Dana Jansens danakj@orodu.net
0185445e
use the nwe theme's show_handle value
Dana Jansens danakj@orodu.net
f97e7133
allow handlewidth of 0, which sets show_handle to false
Dana Jansens danakj@orodu.net
6de84db8
compress motion events
Dana Jansens danakj@orodu.net
50f2037a
bugz, wrong vars
Dana Jansens danakj@orodu.net
6486ba2c
add padding in the menu title too
Dana Jansens danakj@orodu.net
8e76e328
add destructor functions for clients that you acn subscribe with, and use these instead of hardcoding special cases in the unmanage code
Dana Jansens danakj@orodu.net
2c6c0757
make interactive actions a type and not special cases.
add the <interactive> option to them to turn off interactivity
Dana Jansens danakj@orodu.net
009685bc
remove debug print
Dana Jansens danakj@orodu.net
de4f92cc
using the ObMainLoop, which rulz the planet
Dana Jansens danakj@orodu.net
952ca245
put debian menu file first
Dana Jansens danakj@orodu.net
c3b02749
add pipe-menus
Dana Jansens danakj@orodu.net
3ff8eb03
fix grabbing and not releasing with menus
Dana Jansens danakj@orodu.net
8a1e9c64
dont ungrab twice when hiding menus
Dana Jansens danakj@orodu.net
53134db1
properly select the first menu item in the child menu when using the 'right' keycode
Dana Jansens danakj@orodu.net
09f4a0c5
dont keyboard nav onto disabled menu items
Dana Jansens danakj@orodu.net
7317d17c
missing break would be bad in future if added more cases
Dana Jansens danakj@orodu.net
7fbf1f4b
dont need gmodule anymore
Dana Jansens danakj@orodu.net
dcdc325f
ultra-keyboard-controlled-menus
Dana Jansens danakj@orodu.net
43fded6a
fix includes
Dana Jansens danakj@orodu.net
3cbe3680
update which files have translatable strings
Dana Jansens danakj@orodu.net
a6532c3b
the kernel/ dir has been moved to openbox/
Dana Jansens danakj@orodu.net
2a79db16
remove the plugin stuffs
Dana Jansens danakj@orodu.net
6f9cea86
remove a dispatch.h
Dana Jansens danakj@orodu.net
485fbff1
remove plugins from the menu parsing
Dana Jansens danakj@orodu.net
a9567a81
move the client and client-list menus into the 'kernel'
Dana Jansens danakj@orodu.net
f85fea3b
remove the placement plugin
Dana Jansens danakj@orodu.net
3c5f6db0
remove the event dispatcher
Dana Jansens danakj@orodu.net
1ce196c4
add separator above "All desktops"
Dana Jansens danakj@orodu.net
0b4cd7a0
typo, reading from the wrong member of the actiondata union
Dana Jansens danakj@orodu.net
5e06be6a
add window placement routines to the kernel
Dana Jansens danakj@orodu.net
db4b0e62
place submenus with their borders over the parent's
Dana Jansens danakj@orodu.net
73577632
nicer default bullets
Dana Jansens danakj@orodu.net
5fb0a42b
only left-justify menus, remove the menu.frame.justify option
Dana Jansens danakj@orodu.net
700e5513
fix a bunch of memleaks from valgrind and stuff
Dana Jansens danakj@orodu.net
5baa7c80
s/Shade/Roll up\/down/
Dana Jansens danakj@orodu.net
7a48ef1f
s/(Un)//
Dana Jansens danakj@orodu.net
75e948b1
free rgba texture caches
Dana Jansens danakj@orodu.net
d911fbf4
only execute enabled items
Dana Jansens danakj@orodu.net
0e29139b
was not disabling the normal layer when appropriate
Dana Jansens danakj@orodu.net
ec9dd7fd
new method for loading menu files etc
Dana Jansens danakj@orodu.net
fb035e4b
fix crash bug is parsing menu section of the rc3
Dana Jansens danakj@orodu.net
5c63aaa9
missed one thing, using invalid mem still
Dana Jansens danakj@orodu.net
79c99102
make the maximize item toggle maximized
Dana Jansens danakj@orodu.net
9e85e930
fix for using freed memory to exec stuff
Dana Jansens danakj@orodu.net
5efc7236
free the menu entry frames
Dana Jansens danakj@orodu.net
21b07748
wrong action name
Dana Jansens danakj@orodu.net
60fa05f7
rm double ;;
Dana Jansens danakj@orodu.net
15386e86
add icons to the client-list-menu
Dana Jansens danakj@orodu.net
2c263fc8
load the plugins in the rc3 for the menus
Dana Jansens danakj@orodu.net
c34915ae
make submenus not require the menu to exist when they are created, not until they are shown.
crash fix in client_menu
Dana Jansens danakj@orodu.net
f7eb47db
make client-list-menu work too
more menu cleanups
Dana Jansens danakj@orodu.net
ffba11ae
load menu plugins automatically from whats in the menu file
menu fixups
move enabled into the 'normal menu item' specific data stuff
Dana Jansens danakj@orodu.net
615cbd96
change the menu plugin interface, no need for the create/destroy functions any more.
redo the client-menu plugin to work with the new menu api
Dana Jansens danakj@orodu.net
9290376b
add follow option back for sendto actions
Dana Jansens danakj@orodu.net
6f37c38b
split the menus out so they aren't nested in the example
Dana Jansens danakj@orodu.net
c34ef402
half way through the changes to new menu code/design. hot shit. static menus work, on to plugins next.
Dana Jansens danakj@orodu.net
cadab91e
oooops RECT_SET_POINT was broken
Dana Jansens danakj@orodu.net
56cc3dc6
more typo :)
Dana Jansens danakj@orodu.net
d075ca09
typo :)
Dana Jansens danakj@orodu.net
a32c2c12
dont be rude to non-normal windows with keeping them onscreen
Dana Jansens danakj@orodu.net
9a0c3179
fix border on shaded maximized windows
Dana Jansens danakj@orodu.net
8173509e
double deref, props to 'mmj' for spotting this
Dana Jansens danakj@orodu.net
fdfaa0c8
remove the last of the cool stuff thanks to GTK fuck fuck. no more not focusing windows in groups that arent focused on map
Dana Jansens danakj@orodu.net
82513088
blef
Dana Jansens danakj@orodu.net
507e7ac8
type change
Dana Jansens danakj@orodu.net
1a94524b
make --disable-session-management work i think
Dana Jansens danakj@orodu.net
dcb5a38f
dont force fallbacks within groups
Dana Jansens danakj@orodu.net
5186d04c
better handling of maximizing, wrt changing decorations on the windows, and showing the correct decor for the max state especially for windows which dont change size (Xnest) when maximized cuz they are at their maximum size already
Dana Jansens danakj@orodu.net
584656d9
add STRUT_EQUAL
Dana Jansens danakj@orodu.net
7e7efa5c
set the client decorations to match the frame's so that there is not thot to be changes later on whene there were actually none
Dana Jansens danakj@orodu.net
0964b804
restore the stacking order of a saved session
Dana Jansens danakj@orodu.net
486c189d
save the stacking order of the windows, and sort the saved session data based on stacking when it is loaded. make the list public.
Dana Jansens danakj@orodu.net
97e0908f
dont put #define values into the supported atoms list
Dana Jansens danakj@orodu.net
4739cf19
clarify that stacking_below sucks
Dana Jansens danakj@orodu.net
7120face
add stacking_below which moves a window to immediately below another window. use with care it doesn't enforce transient shit etc..
Dana Jansens danakj@orodu.net
496fbac2
better handling of multiple niteractive actions
Dana Jansens danakj@orodu.net
c798c990
better ac macro usage
Dana Jansens danakj@orodu.net
2c467b3f
alpha6
Dana Jansens danakj@orodu.net
659c2c77
recent changes
Dana Jansens danakj@orodu.net
3871fc15
recent changes
Dana Jansens danakj@orodu.net
7a74b4a0
recent changes
Dana Jansens danakj@orodu.net
ecdf24a5
end the other action when starting a new interactive action while one was in place
Dana Jansens danakj@orodu.net
8146cdb6
formatting
Dana Jansens danakj@orodu.net
b95d9779
80 cols
Dana Jansens danakj@orodu.net
a2836527
stupid function name die
Dana Jansens danakj@orodu.net
baa23609
nevermind
Dana Jansens danakj@orodu.net
d7ae443c
default font size one smaller to make default bitmaps fit better
Dana Jansens danakj@orodu.net
c0c06e38
offset of 1 is default
Dana Jansens danakj@orodu.net
c6ea5397
shrink font by a pixel to make the button bitmaps line up nice
Dana Jansens danakj@orodu.net
7b6ca7c2
only use visible windows when calcing for raiselower
Dana Jansens danakj@orodu.net
7755edc3
maybe smarter
Dana Jansens danakj@orodu.net
ca8a3ac7
make the raiselower action smarter
Dana Jansens danakj@orodu.net
faeadd74
make focus and unfocus fonts for window titles. change 'xftfont' to 'font' in the themes.
Dana Jansens danakj@orodu.net
5958e0a0
recent changes
Dana Jansens danakj@orodu.net
d8d1eb53
better handling of starting a new interactive grab while one is in progress
Dana Jansens danakj@orodu.net
a098c243
rename the 'root' context to 'desktop'
Dana Jansens danakj@orodu.net
df79dc57
add the 'raiselower' action for raising obscured windows and lowering fully visible ones
Dana Jansens danakj@orodu.net
a09984bb
add an obscured flag that tracks if the frame is at all obscured
Dana Jansens danakj@orodu.net
888df2e1
shrink the handles
Dana Jansens danakj@orodu.net
d59508ae
use the result from XGetGeometry correctly
Dana Jansens danakj@orodu.net
533992f5
handle the XGetGeomtry failing for button releases
Dana Jansens danakj@orodu.net
9e3d680c
dont grab client context stuff on desktop windows. check that clint is non-null
Dana Jansens danakj@orodu.net
6375df67
grab root mouse bindings on desktop windows also, since they are conceptually the desktop.
Dana Jansens danakj@orodu.net
0844866b
reset first to TRUE properly when the desktop popup is off
Dana Jansens danakj@orodu.net
c4ec27c2
move the pointer while doing a keyboard move/resize
Dana Jansens danakj@orodu.net
ec0bbfec
fix whitespace
Dana Jansens danakj@orodu.net
43c8a3d2
was reading the menu bullet color into the wrong place
Dana Jansens danakj@orodu.net
5c0f10b6
skip windows in the alt-tabbing which have the SKIP_TASKBAR hint set on them
Dana Jansens danakj@orodu.net
70003cec
add the gettext version
Dana Jansens danakj@orodu.net
da39aa66
recent changes
Dana Jansens danakj@orodu.net
d61edbe2
fix the offsets used to keep the menus on screen
Dana Jansens danakj@orodu.net
948c549d
dont show titles on submenus. kill the extra 1px at the top of titleless menus
Dana Jansens danakj@orodu.net
12af0aed
make putting plugin menus in a menu closer to working..
Dana Jansens danakj@orodu.net
a2768682
rename root to root-menu
Dana Jansens danakj@orodu.net
fec178a2
add the client-list-menu
Dana Jansens danakj@orodu.net
cbd0e4d3
add the client_list_menu plugin
Dana Jansens danakj@orodu.net
a88e58e2
add the destructor for menus
Dana Jansens danakj@orodu.net
b0855c19
add a menu destructor callback.
fix a possible crasher where a callback was called with a different menu.
Dana Jansens danakj@orodu.net
1ac6426a
80 cols
Dana Jansens danakj@orodu.net
237a1274
shutdown the menus before the plugins are unloaded
Dana Jansens danakj@orodu.net
888c3d1f
make activate take a here parameter
Dana Jansens danakj@orodu.net
90861d60
parse <here>true</here> for the activate action
Dana Jansens danakj@orodu.net
60bf9dcd
make the activate action have a 'here' parameter
Dana Jansens danakj@orodu.net
99d0b716
add an 'activate' action
Dana Jansens danakj@orodu.net
35ed95fe
move the resistance plugin into the kernel. dont resist when move/resizing with the keyboard, only when doing it with the mouse.
Dana Jansens danakj@orodu.net
950b85b9
oops i fucked up tore's patch. better.
Dana Jansens danakj@orodu.net
e531f690
bug fixes for growtoedge from tore. props to tore for all the growtoedge and movetoedge code, and directional focus code also since i dont think i mentioned his name before in the changelogs woot.
Dana Jansens danakj@orodu.net
10450794
adjust for changes to the parsing api.
split the menu into its own file.
Dana Jansens danakj@orodu.net
9ea78a4e
create ObParseInst structuer which can be then used to parse more than one file/memory thing at a time.
add function to parse memory block.
Dana Jansens danakj@orodu.net
8b67ce70
prefix/capitalize the mouse actions enum
Dana Jansens danakj@orodu.net
555e3384
oops read the mouse cnofig vars into the right place
Dana Jansens danakj@orodu.net
fdc52e87
add the chainQuitKey option to teh <keyboard> section of the rc3
Dana Jansens danakj@orodu.net
83705e52
add Xutil includes for these badboys on older X versions/solaris
Dana Jansens danakj@orodu.net
84a75ac5
make all the masks unsigned chars for consistancy woot
Dana Jansens danakj@orodu.net
f3926a57
kill some warnings
Dana Jansens danakj@orodu.net
35181125
include Xutil for shape.h on old X versions
Dana Jansens danakj@orodu.net
b1d44ac4
rendering fixups for submenu bullets
Dana Jansens danakj@orodu.net
5fe1eb45
add the cyclingDialog option
Dana Jansens danakj@orodu.net
ee26742a
remove the scrolling on root without alt since that fucks up with the dialog since there are no modifiers
Dana Jansens danakj@orodu.net
e1fd32bc
add an option for if the popup is used for desktop cycling. defaults on.
Dana Jansens danakj@orodu.net
f4979de3
dont move windows when starting
Dana Jansens danakj@orodu.net
0b4b4c2b
recent changes
Dana Jansens danakj@orodu.net
154b6fb8
alpha5
Dana Jansens danakj@orodu.net
8008638e
when cancelling return the first desktop
Dana Jansens danakj@orodu.net
e7ae71db
use the new client_directional_edge_search for the movetoedge actions.
add new growtoedge actions.
Dana Jansens danakj@orodu.net
c1f0f7c4
small bugfix to the directional focus code.
add the client_directional_edge_search function.
Dana Jansens danakj@orodu.net
a9ce3ba2
only do shit with the grabbed_* when a grab is in place
Dana Jansens danakj@orodu.net
8529aab6
remove debug printings
Dana Jansens danakj@orodu.net
a414fe42
remove the keyboard plugin shit
Dana Jansens danakj@orodu.net
c90da6da
move the keyboard and mouse plugins into the kernel for mucho sexiness.
make workspace changing a grabbed/interactive process like focus cycling is, with the popup and all.
this is some hot shit.
Dana Jansens danakj@orodu.net
cb49f853
keep event_lasttime at the last time an event has come in so far, don't regress when events come out of order. props to shrimpx for this patch.
Dana Jansens danakj@orodu.net
a4f023cf
Some fixes and new bugs. Someone else can do the menus because it is
clear no one gives a fuck what I think and no one else wants a window
manager that doesn't suck the same balls as every other window manager.
Scott Moynes smoynes@nexus.carleton.ca
d94fba72
save the frame decorations in client_configure_full before causing the fake frame adjust, since that loses its old value.
Dana Jansens danakj@orodu.net
084c66a3
clear the window after setting the background color, this isnt implicit
Dana Jansens danakj@orodu.net
79e189db
changes to the timer api, pass the timer to the callback function.
add a desktop-switch popup with the desktop's name
Dana Jansens danakj@orodu.net
356318b5
include Xlib.h for other platforms
Dana Jansens danakj@orodu.net
164a0953
Fix lock up when not using a session manager and doing fd management.
Scott Moynes smoynes@nexus.carleton.ca
f50c2bc2
missed changing the resize resist function
Dana Jansens danakj@orodu.net
e74fd763
remove the <windows> option from the resistance plugin since window and edge resistance have been separated, a 0 value will work now
Dana Jansens danakj@orodu.net
d987d339
disable the current desktop in the send-to menu
Dana Jansens danakj@orodu.net
fd364fe4
dont ignore topleft layouts
Dana Jansens danakj@orodu.net
8db526a8
missed prefix of define
Dana Jansens danakj@orodu.net
dbaa0c15
pick  the xinerama head of the parent if possible
Dana Jansens danakj@orodu.net
98573846
center parentless dialogs on the screen
Dana Jansens danakj@orodu.net
c9434160
dont map the tl/tr invisible grips when the grip decors are turned off
Dana Jansens danakj@orodu.net
08f1f213
split the increment into a separate macro
Dana Jansens danakj@orodu.net
2494762d
a couple frame layout bugfixes hidden inside all this.. wee
fixes for maximizing windows:
 - when you toggledecor, it will reconfigure once, but the new constraints from the decor changes would not be in effect when the window was resized to the contranits. fixed by calling frame_adjust_area first thing ni client_configure_fulll with fake=TRUE which will recalc all the frame geometry without resizing/redrawing anything in the frame. this way the decor can take effect in the geometries.
 - when maxed horizontally, make the client fill the screen, but dont do this by just making it wider than the screen, fit it to the screen and adjust the titlebar/handle as appropriate to keep it all on the screen.
 - when maxed horizontally and vertically, remove the handle from the decorations
Dana Jansens danakj@orodu.net
853d5f4b
when setting up decor on a window, it needs to reconfigure twice if the decor changes, cuz the constraints need the new frame sizes to work right
Dana Jansens danakj@orodu.net
20aca7fb
make the position dislpayed in the moving popup offset by the top/left struts so that 0,0 is inside teh struts not neccessarily at the screen edge
Dana Jansens danakj@orodu.net
a5f083c1
add more widgets to the main window
Dana Jansens danakj@orodu.net
b06efd10
recent changes
Dana Jansens danakj@orodu.net
26827d87
kill non-opaque move/resize
add an option for redrawing/resizing the client window while resizing, when disabled the client is not touched until the resize is complete.
Dana Jansens danakj@orodu.net
9ba3f7d0
give the plate the same background color as its border
Dana Jansens danakj@orodu.net
7d3127b1
has a pane and list and workarea
Dana Jansens danakj@orodu.net
b874b996
has a menu and a treeview
Dana Jansens danakj@orodu.net
be7c0d42
use the frame size not the client size when figuring out if stuff fits on the screen
Dana Jansens danakj@orodu.net
b4b0c625
let transients go where they requested :( fuck xmms
Dana Jansens danakj@orodu.net
cd647976
add disabled button styles (from miklos)
Dana Jansens danakj@orodu.net
0090ec43
missing sys/time.h
Dana Jansens danakj@orodu.net
5f1259fd
alpha4
Dana Jansens danakj@orodu.net
40c86891
recent changes
Dana Jansens danakj@orodu.net
75bd4795
add the om4ob theme
Dana Jansens danakj@orodu.net
4be3e7e2
recent changes
Dana Jansens danakj@orodu.net
764e0e28
oops indenting
Dana Jansens danakj@orodu.net
ede531da
look in theme dirs first, use the theme as the path as a last attempt only!
Dana Jansens danakj@orodu.net
441041d1
the grips go below the titlebar buttons
Dana Jansens danakj@orodu.net
cb3c457b
place transients better
Dana Jansens danakj@orodu.net
4cd886e5
add partial struts tho they arent useful eyt
Dana Jansens danakj@orodu.net
960a7f01
invisible resizing areas/grips in the top corners of the window
Dana Jansens danakj@orodu.net
824bfd9d
omg i found the bug that would make the mouse cursor end up way far from where you started the drag.
Dana Jansens danakj@orodu.net
3123cf4a
use the toggled mask for shade and desk buttons
Dana Jansens danakj@orodu.net
4a2400c5
that line ended up in teh if somehow...
Dana Jansens danakj@orodu.net
62f1473c
oops buttons not keycodes
Dana Jansens danakj@orodu.net
e3521c23
if a dock app has a button grabbed already then dont die
Dana Jansens danakj@orodu.net
b9802177
look for masks only where the themerc was read from
Dana Jansens danakj@orodu.net
0c2ee993
rename stick bitmaps to desk
Dana Jansens danakj@orodu.net
b972055c
rename stick buttons to desk
Dana Jansens danakj@orodu.net
f407b5d8
add pressed bitmaps. rename stick bitmaps to desk
Dana Jansens danakj@orodu.net
2b72e5d0
add toggled textuers for titlebar buttons
Dana Jansens danakj@orodu.net
dd3ca168
make obconf_interface.h belong to the obconf sources
Dana Jansens danakj@orodu.net
3a26c8aa
move the dekstop file to data/
Dana Jansens danakj@orodu.net
c05ad7a3
install the .desktop file again
Dana Jansens danakj@orodu.net
c757753a
remove old stuff
Dana Jansens danakj@orodu.net
d6559d02
install greenz theme
Dana Jansens danakj@orodu.net
ce4ae7e8
remove old _data shit
Dana Jansens danakj@orodu.net
6b606a09
s/_t.xbm/_toggled.xbm/
Dana Jansens danakj@orodu.net
d4170da0
renamed the _t bitmaps, and added disabled and hover bitmaps
Dana Jansens danakj@orodu.net
4d9bd88f
make themes inside a directory
Dana Jansens danakj@orodu.net
759565a7
add the kdetrayproxy tool
Dana Jansens danakj@orodu.net
12a4cc4c
configre teh dock after finding the new screen sizes
Dana Jansens danakj@orodu.net
bfd20c7a
compile fixes
Dana Jansens danakj@orodu.net
5101e89d
add missing includes
Dana Jansens danakj@orodu.net
1ffbf75f
recent changes
Dana Jansens danakj@orodu.net
34064ae3
alpha3
Dana Jansens danakj@orodu.net
c68f0a0f
fix a long-lurknig gravity bug
Dana Jansens danakj@orodu.net
336cef80
dont inlcude these headers they arent needed yet
Dana Jansens danakj@orodu.net
14433420
recent changes
Dana Jansens danakj@orodu.net
5301ee3c
oops missed one
Dana Jansens danakj@orodu.net
52a6fc08
expose exit_with_error
Dana Jansens danakj@orodu.net
732990d2
kill warnings
Dana Jansens danakj@orodu.net
860020c1
kill some output
Dana Jansens danakj@orodu.net
e5afb0db
only load the session from file if a file was provided
Dana Jansens danakj@orodu.net
36056a69
missing a header
Dana Jansens danakj@orodu.net
c9759edb
remove shit i no longer use
Dana Jansens danakj@orodu.net
577ae81f
always return a string from parse_string
Dana Jansens danakj@orodu.net
c8fa3a60
set the desktop hint if the desktop is changed by the session code
Dana Jansens danakj@orodu.net
d7f3d16f
set the desktop hint after everything is read/setup even session stuff
Dana Jansens danakj@orodu.net
717d10f3
add the window to the lists before setting the client list hint
Dana Jansens danakj@orodu.net
e75ad73c
declare functions that are needed when built without session support
Dana Jansens danakj@orodu.net
d9cc4f65
use the new sm_client_id function so all windows who should save state do. session save/load seems to be working with gnome-session rather well.
Dana Jansens danakj@orodu.net
02c15aca
add a function to retrieve the sm_client_id value
Dana Jansens danakj@orodu.net
07b38ba2
dont save/load history. its slow and its stupid.
Dana Jansens danakj@orodu.net
9c1438f1
restore saved session data for applications
Dana Jansens danakj@orodu.net
07b66ee1
center transients
Dana Jansens danakj@orodu.net
54ad34a0
move the titlebar layout from the theme to the rc file
Dana Jansens danakj@orodu.net
9e9e6278
attemp #3
Dana Jansens danakj@orodu.net
f3467381
attempt #2 at better logical size values
Dana Jansens danakj@orodu.net
0a809d36
attempt #2 at better logical size values
Dana Jansens danakj@orodu.net
c852826e
include the base size in the logical size
Dana Jansens danakj@orodu.net
db6bb056
recent changes
Dana Jansens danakj@orodu.net
006de2ab
the size can be 0 when there is a base size
Dana Jansens danakj@orodu.net
1aa0bc66
improved ICCCM compliance!
  a) send ConfigureNotify back to the client as required by the ICCCM in all sitatuations.
  b) send the corrent coords in the ConfigureNotify, including the border width
  c) remove the WM_STATE property when unmanaging a window
Dana Jansens danakj@orodu.net
b8ba52fa
code cleaning
Dana Jansens danakj@orodu.net
40c3228f
only ignore wheel buttons
Dana Jansens danakj@orodu.net
64884e43
i am the king of copy/paste errors
Dana Jansens danakj@orodu.net
df0f0084
more menu fixes.
I hate menus.
Scott Moynes smoynes@nexus.carleton.ca
3b62c85b
Clear current_menu when hiding menus.
Scott Moynes smoynes@nexus.carleton.ca
dd33644d
Close menu properly on unbound keys.
Scott Moynes smoynes@nexus.carleton.ca
f6ad401d
Fix some keyboard control issues.
Scott Moynes smoynes@nexus.carleton.ca
b799cfd9
base rudeness on if they have a strut even smarter!
Dana Jansens danakj@orodu.net
067776e7
base rudeness on if they have a strut or not
Dana Jansens danakj@orodu.net
4d82dd30
make the new placement restrictions not affect !normal windows like panels
Dana Jansens danakj@orodu.net
e6486bff
use plugin_open_reopen not plugin_open_full
Dana Jansens danakj@orodu.net
4de5230c
typo thanks merry
Dana Jansens danakj@orodu.net
74210651
hover theme elements for window titlebar buttons
Dana Jansens danakj@orodu.net
95051612
make those apps stay/map on screen!! fuck stupid apps. thats right im talking to you mozilla and you too java.
Dana Jansens danakj@orodu.net
d8d2fd71
make things compile again. hover does not work yet.
Dana Jansens danakj@orodu.net
09f178aa
use the macro
Dana Jansens danakj@orodu.net
eb1fb558
keep apps from moving/maping their titlebar underneath left/top panels
Dana Jansens danakj@orodu.net
7da335f9
set teh clone comamnd
Dana Jansens danakj@orodu.net
7b00edb3
use char not a long, since we're telling the SM that its 1 byte lone
Dana Jansens danakj@orodu.net
4d7a7d9d
save the commands on startup
Dana Jansens danakj@orodu.net
f531b18a
use the path properly for the session file
Dana Jansens danakj@orodu.net
ecab6fe3
use teh save file not the session id
Dana Jansens danakj@orodu.net
73374510
demand load plugins from the menu
Scott Moynes smoynes@nexus.carleton.ca
f37a9190
Menu stuff.
Testing may begin.
Scott Moynes smoynes@nexus.carleton.ca
632b2af7
fix mem leaks/crashes
Dana Jansens danakj@orodu.net
2eb57214
add pressed colors for buttons
Dana Jansens danakj@orodu.net
b8715ba3
Close menu on click if outside the menu.
I think, haven't tested.
Scott Moynes smoynes@nexus.carleton.ca
70299501
more fixes
Scott Moynes smoynes@nexus.carleton.ca
42009bd0
make errors non-modal
Dana Jansens danakj@orodu.net
a354b0f5
restarting work on obconf
Dana Jansens danakj@orodu.net
c4275bef
recent changes
Dana Jansens danakj@orodu.net
5d58b4ff
split resistance strengths for screen edges and windows. also a fix for parsing changes,
Dana Jansens danakj@orodu.net
364dfe10
dont stack groups together
Dana Jansens danakj@orodu.net
61176f75
the parsing shit changed but this didnt yet
Dana Jansens danakj@orodu.net
3c92311b
Some menu updates.
Don't talk to me about menus.
Scott Moynes smoynes@nexus.carleton.ca
11cde968
add client_search_transient which searches the tree from a client down for a client
Dana Jansens danakj@orodu.net
399952e5
dont allow parentrelative on top-level appearances
Dana Jansens danakj@orodu.net
1afc4180
stacking fixes
Dana Jansens danakj@orodu.net
2064042d
lwindow needs a type
Dana Jansens danakj@orodu.net
04a44af3
save and load the session save file, though its data is not used yet!
Dana Jansens danakj@orodu.net
f3b42e60
double clicks only work on the same window with both clicks
Dana Jansens danakj@orodu.net
d51702af
I had a commit message but my commit got stepped on so fuck it.
No one cares what I think anyway.
If the menu navigation isn't EXACTLY FUCKING RIGHT I WILL REMOVE IT
AND SOME OTHER POOR FUCK CAN PUT UP WITH ALL THE FUCKING BULLSHIT.
Scott Moynes smoynes@nexus.carleton.ca
5973fb03
updates to changelog
Dana Jansens danakj@orodu.net
0de9685d
dont display the build type at the end its already in the output
Dana Jansens danakj@orodu.net
5be0a82a
use ob_debug for any debug printing and only display the output when its a debug build or when --debug is passed to it
Dana Jansens danakj@orodu.net
230abdc5
draw the bevel stuff in the pixel data buffer so parent-relative stuff can use it.
Dana Jansens danakj@orodu.net
159ef958
space
Dana Jansens danakj@orodu.net
9352747a
init the parent shit in the surface when making a copy
Dana Jansens danakj@orodu.net
aca18d48
use rm -f
Dana Jansens danakj@orodu.net
2603255b
declare vars at top
Dana Jansens danakj@orodu.net
03186a7b
i already fixed this once :) var declarations go first
Dana Jansens danakj@orodu.net
2c92ab76
include obconf_interface.h in the dist
Dana Jansens danakj@orodu.net
0554ab0c
remove headers that dont exist
Dana Jansens danakj@orodu.net
05c0cd5c
add the include menu plugin
Dana Jansens danakj@orodu.net
a60d6a6d
add the new m4s
Dana Jansens danakj@orodu.net
b52b5a6f
Timed menu updates. Still needs work.
Scott Moynes smoynes@nexus.carleton.ca
d03c1afa
Better placement of the client window. Might need some tweaking.
Scott Moynes smoynes@nexus.carleton.ca
b6e3e1bc
unhilite the entry for the submenu when it is closed
Dana Jansens danakj@orodu.net
3578c185
alpha2
Dana Jansens danakj@orodu.net
1466a4a8
add hover
Dana Jansens danakj@orodu.net
68c910b1
Added include_menu.c as an example of how one could write a plugin.
Scott Moynes smoynes@nexus.carleton.ca
0e69ae2b
* Change xml parsing to pass the parent node, rather than the first
child.
* Add x,y co-ordinates on showmenu action so we can place menus on keypress.
Scott Moynes smoynes@nexus.carleton.ca
84583322
add the --replace command line option, and support for the WM_Sn selection
Dana Jansens danakj@orodu.net
6a7d4de7
add the MANAGER atom.
allow prop_message to be used with a user-defined mask instead of only with the NetWM mask
Dana Jansens danakj@orodu.net
221415e9
set the x/y values in the moveresize struct for moveresize key actions
Dana Jansens danakj@orodu.net
a057d14c
stop shownig the desktop when a new window maps
Dana Jansens danakj@orodu.net
56527d41
add a func to find a menu entry from a submenu.
keep menu entries highlighted while they have their submenu open
Dana Jansens danakj@orodu.net
31cdb959
add a func to find a menu entry from a submenu
Dana Jansens danakj@orodu.net
3340aaeb
declare vars at the top of the block
Dana Jansens danakj@orodu.net
ea6258ce
add a menuOverlap property to themes, and use it in the submenu placement
Dana Jansens danakj@orodu.net
463c0004
update to new version of gettext
Dana Jansens danakj@orodu.net
a55c3ae6
more stuff to ignore
Dana Jansens danakj@orodu.net
ea538507
Keyboard navigatable menus
Scott Moynes smoynes@nexus.carleton.ca
e9a8e272
Fix a couple memory leaks.
Scott Moynes smoynes@nexus.carleton.ca
fd19711e
If there is a pid="true" attribute in the <menu plugin="fifo_menu">
tag, append .pid to the fifo files. This allows for more than one
openbox to be run by the same user and use fifo menus.
Scott Moynes smoynes@nexus.carleton.ca
22ff8c58
Menu parsing updates for plugins.

FIFO menus are the only plugin that takes advantage of this.
Example:
<menu id="root" label="Openbox 3">
  <menu id="fonk" label="fonk" plugin="fifo_menu">
  </menu>
</menu>

This creates a FIFO ~/.openbox/fifo_menu/fonk to which you can send
menus to. The menus sent to it must be like
<fifo>
  <item>
   etc...
</fifo>

I think. If my memory serves me right.

It is all hideous, but I just wanted to experiment and see if it was
possible.
Scott Moynes smoynes@nexus.carleton.ca
5fce7824
useless code move
Dana Jansens danakj@orodu.net
4c1641bf
simple code cleanup
Dana Jansens danakj@orodu.net
70a38951
removed the RrEndian so using LSBFirst always now. hopefully this works!
Dana Jansens danakj@orodu.net
9d7244e6
when a transient maps on another desktop, give it focus when it deserves it
Dana Jansens danakj@orodu.net
6fdf481b
same default offsets for all endian machines
Dana Jansens danakj@orodu.net
6f1c3223
some input from woobie and changed the menu stuff
Dana Jansens danakj@orodu.net
b0aefaf5
extra menu tag
Dana Jansens danakj@orodu.net
d3454e32
add --g-fatal-warnings
Dana Jansens danakj@orodu.net
1546430f
fix a seggie i introduced, going too far in the dockapps list
Dana Jansens danakj@orodu.net
fdbeee7e
attempt #2
Dana Jansens danakj@orodu.net
f5f7e84a
oops extra menu_layout
Dana Jansens danakj@orodu.net
c920b476
a full style defn..
Dana Jansens danakj@orodu.net
130a4271
move to the desktop of the activated window
Dana Jansens danakj@orodu.net
81af5a8b
add disabled buttons, instead of now showing buttons at all when they wont do anything, now show a disabled button instead. this severely breaks compatibility with blackbox themes since there is no good way to automiatically create a disabled button that i can think of, so if they dont exist in the theme you get black and white for the button.

when a window cant be resized, its handle is not removed but its grips are.

change allowing the user to disable individual decorations as that is overkill,
instead allow a toggle through the client.decorate boolean.
Dana Jansens danakj@orodu.net
b0e8e276
readd the Makefile
Dana Jansens danakj@orodu.net
32bf0522
readd the Makefile
Dana Jansens danakj@orodu.net
11262940
simply startup/shutdown
Dana Jansens danakj@orodu.net
c868e91f
add some more contributors
Dana Jansens danakj@orodu.net
3044e871
sync is in unistd.h
Dana Jansens danakj@orodu.net
a95dc346
prefix and capitalize ObMenu ObMenuEntry and ObMenuEntryRenderType
make the ObMenuEntryRenderType a standard enum instead bitflags
Dana Jansens danakj@orodu.net
1ffc7fa9
move ob_pointer_pos to screen_pointer_pos
Dana Jansens danakj@orodu.net
bddbe943
make ob_state a function so it cant be changed outside of openbox.c
Dana Jansens danakj@orodu.net
35418ca0
remove the ob_root var, its redundant of what Xlib already provides
Dana Jansens danakj@orodu.net
ec908528
use gint
Dana Jansens danakj@orodu.net
a46b4ee4
ob_remote has been killed, remove ob_sync from the public header, its only used internally
Dana Jansens danakj@orodu.net
6c39d268
the --rc arg and rc_path var wasnt even being used so just rm it
Dana Jansens danakj@orodu.net
eea43e64
make the ob_restart/shutdown stuff static vars and expose them only through functions ob_restart_other(), ob_restart() and ob_exit()
Dana Jansens danakj@orodu.net
452f3f8a
remove useless include
Dana Jansens danakj@orodu.net
d1d84711
replace the focus_backup with the screen_support_win, we dont need 2 offscreen windows.
Dana Jansens danakj@orodu.net
120623d3
use the xerror stuff to trap errors instead of dupliacted the effort here
Dana Jansens danakj@orodu.net
85112c4d
prefix the Timer->ObTimer and TimeoutHandler->ObTimeoutHandler shitz
Dana Jansens danakj@orodu.net
122d55fb
prefixing and capitalizing the StackLayer -> ObStackingLayer enum.
less includes in headers for less rebuilding on changes
Dana Jansens danakj@orodu.net
59f318e8
prefix and capitalize the ObFocusFallbackType enum
Dana Jansens danakj@orodu.net
5c2e4cce
use the ObOrientation enum instead of a horz bool for configuring the dock's orientation
Dana Jansens danakj@orodu.net
d206303a
prefixing for the dock. use ObDirection instead of dupliacting it in another enum for the dock's placement
Dana Jansens danakj@orodu.net
33a2cdbe
prefixing for the Popup->ObPopup struct
Dana Jansens danakj@orodu.net
06d3487d
dont need client.h in this header
Dana Jansens danakj@orodu.net
7d943a95
prefixing and capitalization for the Frame->ObFrame struct and the Context->ObFrameContext enum and its constants.
Dana Jansens danakj@orodu.net
5be23ec5
prefix Group to ObGroup
Dana Jansens danakj@orodu.net
e4be1f86
prefix TRAN_GROUP to OB_TRAN_GROUP
Dana Jansens danakj@orodu.net
4736c257
prefix and capitalize some more constants/enums in client.h (Function -> ObFunctions and WindowType -> ObClientType)
Dana Jansens danakj@orodu.net
ad45ecb6
kill warnings
Dana Jansens danakj@orodu.net
2477a38d
rename the Client struct to ObClient
Dana Jansens danakj@orodu.net
375b5049
add the new misc.h and mwm.h to the kernel sources
Dana Jansens danakj@orodu.net
b42ef736
add a mwm.h for the mwm hint structure and flags.
use proper prefixing and capitalization for the new mwm stuff.
Dana Jansens danakj@orodu.net
276b2be5
add misc.h with some standard enumerations with proper prefixing and capitalizations.

use the new enums throughout.

provide keycodes and cursors through ob_cursor and ob_keycode functions, which use the new misc.h enums for picking the cursor and keycode.
Dana Jansens danakj@orodu.net
6357583c
rename 'xinerama' stuff to 'monitors' to be more generic and descriptive.
Dana Jansens danakj@orodu.net
416b9d5f
speed up pick_group_windows too
Dana Jansens danakj@orodu.net
38d3cad2
make pick_windows waaaay faster
Dana Jansens danakj@orodu.net
7f19b99a
remove the use of the BINARY define. kill a compiler warning.
Dana Jansens danakj@orodu.net
f0b09e26
allow restacking of transients above one another
Dana Jansens danakj@orodu.net
bd15aab8
put the transient's title before the parent's in the focus popup
Dana Jansens danakj@orodu.net
9cc08630
remove the xinerama active boolean, just count the extension as not present if it is not active
Dana Jansens danakj@orodu.net
0719843c
add client_search_top_transient.
keep transients all on the same desktop together. use client_search_top_transient where possible in client.c
Dana Jansens danakj@orodu.net
d2a628a4
add ob_debug for printing stuff only when debug is enabled
Dana Jansens danakj@orodu.net
bcc090ec
these havent been used for a long time.. ;) old parsing shit be gone
Dana Jansens danakj@orodu.net
58be655d
remove rependancy on geom.h from the kernel, provide what is used in its own geom.h
Dana Jansens danakj@orodu.net
2abbf011
update the build system, using a single Makefile.am for a sexyass non-recursive make. booyah!
Dana Jansens danakj@orodu.net
425b1734
move the gettext header out to the root source dir
Dana Jansens danakj@orodu.net
7f44ed53
include stdlib for exit()
Dana Jansens danakj@orodu.net
9b0e134d
add ACLOCAL_FLAGS to the aclocal call.
Dana Jansens danakj@orodu.net
5d1718b8
use --foo instead of -foo for cmd line arguments
Dana Jansens danakj@orodu.net
ce940eee
try some better default offsets for big endian machines.
print what the conversion is so i can see what it should be if im wrong though
Dana Jansens danakj@orodu.net
41d72ee5
used RrColorShift when RrColorOffset was what we wanted
Dana Jansens danakj@orodu.net
3bca7645
coment the USE_LIBSN defined variable
Dana Jansens danakj@orodu.net
c6945c13
rename the raise and lower functions. raise is claimed by signal.h already
Dana Jansens danakj@orodu.net
bbc2fa53
set te strut smaller when autohide is on
Dana Jansens danakj@orodu.net
19df0324
Makes a simple click not so accidently annoying by making it not
execute a menu action if nothing is highlighted.
Scott Moynes smoynes@nexus.carleton.ca
1a3bcbdd
messed up the indexes while finding the combined size of all xineerama heads
Dana Jansens danakj@orodu.net
e2b245dc
oops, i want the max edges to find the full area
Dana Jansens danakj@orodu.net
bc12dc05
using a changelog generated off of CVS
Dana Jansens danakj@orodu.net
953b68a1
Remove menu plugins because they are stupid and don't work.
Scott Moynes smoynes@nexus.carleton.ca
f544273e
the prop_get_strings_locale function looked for a utf8 typed property
Dana Jansens danakj@orodu.net
1cacfa85
add some comments and asserts to make sure I don't ever add this bug again
Dana Jansens danakj@orodu.net
dd80df31
create the popup's window before adding it to the stacking list, so that it is stacked properly and doesnt wreck everything
Dana Jansens danakj@orodu.net
2f9efb38
prepare for alpha1 release.
make 'make dist' work.
Dana Jansens danakj@orodu.net
6923e537
add a makefile so i can put stuff into the make dist
Dana Jansens danakj@orodu.net
1052ca3f
python support is gone
Dana Jansens danakj@orodu.net
f7c327c5
we dont really have any translatable stuff yet but this was pointing at old cpp shit
Dana Jansens danakj@orodu.net
af8c5f51
use strcmp instead of collate, since collate is slower and we're only doing an == check
Dana Jansens danakj@orodu.net
82bbaf4c
these are old and not used anymore
Dana Jansens danakj@orodu.net
9d896233
missed setting 'current' at the end of the pyramid gradient
Dana Jansens danakj@orodu.net
2fa7129c
waste of energy in stacking_add, and it even caused bugs. woops.
Dana Jansens danakj@orodu.net
8de13a41
Update the send-to window only if the workspaces have changed.
Scott Moynes smoynes@nexus.carleton.ca
71b7b043
Handle menu events a little better: don't bother updating a submenu on
mouseover if it is already open, and call update on menus, even if
they aren't marked as invalid.
Scott Moynes smoynes@nexus.carleton.ca
1ff04257
use fprintf not g_message in the signal handler. no mallocing allowed.
Dana Jansens danakj@orodu.net
121afb76
remove debug print
Dana Jansens danakj@orodu.net
52b99477
set the values of the array at teh right indexes
Dana Jansens danakj@orodu.net
7837faa3
fix memory bugs
Dana Jansens danakj@orodu.net
90b220db
remove the switch to... menu
Dana Jansens danakj@orodu.net
1bb7a5f8
don't destroy font patterns, i think this is a double free
Dana Jansens danakj@orodu.net
b23fa507
put group members above the window when lowering it
Dana Jansens danakj@orodu.net
4695749a
set the stacking list when stacking changes
Dana Jansens danakj@orodu.net
af3fa4a6
ignore the generated makefiles
Dana Jansens danakj@orodu.net
6d0d75cd
add the makefiles for the themes' data dirs
Dana Jansens danakj@orodu.net
527af766
add the themes path to the struct. make the name never include a path
Dana Jansens danakj@orodu.net
68a2b6a8
adjust the themes with buttons to match how they are read now
Dana Jansens danakj@orodu.net
7a310955
simplify this shit
Dana Jansens danakj@orodu.net
c109dcd6
hardcode the button names for themes
Dana Jansens danakj@orodu.net
8a049a6d
dont need to raise after adding
Dana Jansens danakj@orodu.net
0a459f7a
rename the button_dir var to data_dir.. pointless :>
Dana Jansens danakj@orodu.net
bbe0e7da
snap to all heads the window is present on
Dana Jansens danakj@orodu.net
05a850b8
build 'openbox' instead of 'openbox3'.
add the openbox.desktop file for gnome compat.
Dana Jansens danakj@orodu.net
1821fb49
set "Openbox" as the name no "Openbox3"
Dana Jansens danakj@orodu.net
7e777c7c
add a .desktop file which gets installed for gnome
Dana Jansens danakj@orodu.net
ea8c154e
add the openbox binary
Dana Jansens danakj@orodu.net
083afe5e
add a call to g_set_prgname
Dana Jansens danakj@orodu.net
c170d2f7
stacking changes, its more like the old code without being shitty and with support for raising groups at a time.
Dana Jansens danakj@orodu.net
a9bc0916
core when the list gets out of order
Dana Jansens danakj@orodu.net
34e81973
xinerama support
Dana Jansens danakj@orodu.net
d0abbec2
root menu on right click
Dana Jansens danakj@orodu.net
e846063f
4 space indents
Dana Jansens danakj@orodu.net
f6b19a1d
return true when ungrabbing so that it can ungrab them all on shutdown
Dana Jansens danakj@orodu.net
81cf4699
set ret to true when grabbing and we alerady have it grabbed
Dana Jansens danakj@orodu.net
15c77071
dont destroy the match pattern, it seems that Xft holds onto the pointer
Dana Jansens danakj@orodu.net
22112d2b
check that extensions_vidmode is set before trying to use the vidmode functions
Dana Jansens danakj@orodu.net
20523853
if grab fails dont set grabbed_key
Dana Jansens danakj@orodu.net
d3dd25a5
return FALSE if a grab fails
Dana Jansens danakj@orodu.net
da24f915
set the desktop hint when the window already has a hint but its out of range
Dana Jansens danakj@orodu.net
0423b057
clear the over item in the menu when executing shit
Dana Jansens danakj@orodu.net
9c8ee186
add NUM_STACKLAYER, fix some comments that dont apply
Dana Jansens danakj@orodu.net
0443796e
remove unused variable
Dana Jansens danakj@orodu.net
ba76ffaa
remove/add instead of raising to put a window into a new layer
Dana Jansens danakj@orodu.net
794ce0e0
new stacking code that doesnt suck ass to look at, woot
Dana Jansens danakj@orodu.net
e39762b0
use the minsize to keep the stuff ni the dock off of the bevel edges etc
Dana Jansens danakj@orodu.net
bf2f0c58
add comment
Dana Jansens danakj@orodu.net
a12e73cf
read fonts and titlebar layout from theme files
Dana Jansens danakj@orodu.net
5410a9d1
add right click on icon to open the client menu
Dana Jansens danakj@orodu.net
c791cbfd
set teh X so it gets used right
Dana Jansens danakj@orodu.net
0901ddf8
keep a small space on the sides of windows between the edge and the text
Dana Jansens danakj@orodu.net
54962740
only render if there was an over existing
Dana Jansens danakj@orodu.net
7af1c6a9
menus grab the keyboard and pointer, thus making only one menu visible at a time, and making them act like gtk menus and * menus do, where you can click and drag and release to select something as well as click-release to elave it open while you search around the menu
Dana Jansens danakj@orodu.net
32c51bb4
show the client meun on "press" on the icon
Dana Jansens danakj@orodu.net
487c0a4a
use the stock shownig method for the client menu for now, makes it pop up under the cursor so a click-release works like expected
Dana Jansens danakj@orodu.net
0e9c5049
use the alst button press for clicks instead of teh fisrt. it make sno diff to me really and this makes it work when you grab the pointer on the click, without leaving the mouse plugin in a weird state.
Dana Jansens danakj@orodu.net
4b90b241
grab all motion events for pointer grabs
Dana Jansens danakj@orodu.net
a3857023
position submenus correctly horizontally
Dana Jansens danakj@orodu.net
b61a41c6
menus were too short by a border width
Dana Jansens danakj@orodu.net
6dd3ee72
check to make sure the window is on screen *after* positioning it
Dana Jansens danakj@orodu.net
5cd0ed57
do horz grads without any multipliaction
Dana Jansens danakj@orodu.net
1e882b62
made all the gradients work with integer math. removed the pipecross and rectangle gradietns tho cuz they are ugly and i dont want to code that bullshit cuz they are ugly.
Dana Jansens danakj@orodu.net
dc60657a
integer math for gradients. horz vert and diags and pipecross work so far.
Dana Jansens danakj@orodu.net
76aeb9b2
add a simple menu parser.
while menu parsing, the theme does not exist so we can't do any theme stuff while creating menu stuff, so put that off for later, i.e when the menu is shown.
Dana Jansens danakj@orodu.net
197988af
reorder startup so menu goes before config parsing
Dana Jansens danakj@orodu.net
17a85c1c
add a root menu
Dana Jansens danakj@orodu.net
069e9607
add decoration state to the frame struct. make client_configure adjust the frame if the decorations do not match between the client and the frame, so that when they change it can send a configurenotify to the client.
Dana Jansens danakj@orodu.net
d0857565
make client_reconfigure a non-user-type client_configure
Dana Jansens danakj@orodu.net
75b23047
strdup the exec path cuz it gets freed by the time we restart otherwise
Dana Jansens danakj@orodu.net
77062863
moveresize messages are not user-requests
Dana Jansens danakj@orodu.net
7e83fa08
remove debug print
Dana Jansens danakj@orodu.net
716477fc
send teh configure event to client on user-requested final configures even if not moved, cuz usualy the final isnt sent with a change, but just to end the move process.
Dana Jansens danakj@orodu.net
0a8fa636
always create the bg pixmap, X seems to not like it if i dont?
Dana Jansens danakj@orodu.net
bab8b41f
always use the session id from the session manager when setting the restart property
Dana Jansens danakj@orodu.net
4cf23f53
add -sm-disable option
Dana Jansens danakj@orodu.net
7f2550e0
only show -sm-client-id in the help when session management is build in
Dana Jansens danakj@orodu.net
e6739af2
session management works, and it can resume with its old ID, so it works with gnome-session
Dana Jansens danakj@orodu.net
373a4584
make session management optional
Dana Jansens danakj@orodu.net
9befe65a
set the required properties so that session managers see openbox
Dana Jansens danakj@orodu.net
dc92dbfc
don't exit in the render lib, rather return a NULL font/theme on failure
Dana Jansens danakj@orodu.net
b3e9fea1
add libSM *client* support, so we should work with gnome-session now!
Dana Jansens danakj@orodu.net
5929a63f
more namespacing with Rr*
Dana Jansens danakj@orodu.net
bb6b616b
more namespacing with Rr*
Dana Jansens danakj@orodu.net
16066ed2
use the pseudo shit in the instance now
Dana Jansens danakj@orodu.net
768c3cd4
more namespacing with Rr*
Dana Jansens danakj@orodu.net
33ec08ea
more namespacing with Rr*
Dana Jansens danakj@orodu.net
ae9aed85
dont use .. in include paths
Dana Jansens danakj@orodu.net
c100b72c
more namespacing with Rr*
Dana Jansens danakj@orodu.net
4541959b
kill a warning
Dana Jansens danakj@orodu.net
dbe2851b
more namespacing to Rr*
Dana Jansens danakj@orodu.net
10232a43
fix a warning
Dana Jansens danakj@orodu.net
092616de
rename pixel32/16 to RrPixel32/16
Dana Jansens danakj@orodu.net
bd595767
rename color_rgb to RrColor
Dana Jansens danakj@orodu.net
b1f55552
put the render theme into a struct
Dana Jansens danakj@orodu.net
a4a0cb78
fixed to accomodate the changes to the render/ API.
Dana Jansens danakj@orodu.net
3f32dfa8
this is going to break the kernel/ building.

lots of modifications to the render API, prefixing everything, making proper
names for everything. the structures are not hidden/opaque yet, but the naming scheme of the public API works much better now.
Dana Jansens danakj@orodu.net
49268650
oops typo
Dana Jansens danakj@orodu.net
62240d2b
take the bevel width into account for the width available
Dana Jansens danakj@orodu.net
f90ee94d
position the client menu right
Dana Jansens danakj@orodu.net
cd12a2ea
simply the render interface by not requiring the setting of all the areas. only take a w and h in paint(). best font layout ever.
Dana Jansens danakj@orodu.net
349d0167
miklos does themes like mad
Dana Jansens danakj@orodu.net
ad30e709
slight optimizations, and make the last 4 gradients work properly
Dana Jansens danakj@orodu.net
fd52dc5d
center text vertically. use the font's height because all that space is needed for some charcters
Dana Jansens danakj@orodu.net
6e93be1d
remove non-planar surfaces
Dana Jansens danakj@orodu.net
438924b2
remove --enable-gl
Dana Jansens danakj@orodu.net
36231e5c
fix for how base-size is used to comply with the icccm
Dana Jansens danakj@orodu.net
5338fdbf
export the WANT_AUTOMAKE var before running acloacl
Dana Jansens danakj@orodu.net
8a8f2c83
remove an extra useless call to focus_set_client(NULL)
Dana Jansens danakj@orodu.net
7cbac3c4
describe the complicated if a bit :)
Dana Jansens danakj@orodu.net
07539c38
more checks for when to do an XResizeWindow
Dana Jansens danakj@orodu.net
43d109dd
send the configure notify for resizes too, just to be a little more safe
Dana Jansens danakj@orodu.net
ddeb066e
onlt send configurenotify if the client actually moved, to work around emacs, hopefully :)
Dana Jansens danakj@orodu.net
05e52e3c
some more fixes for resizing clients. aspect ratio is not the last thing checked and so rules all, that might need to change.. however, it now uses base-size only for aspect ratios and base-size/min-size for other sizing shit, as per the ICCCM.
Dana Jansens danakj@orodu.net
bda9e6aa
from icccm:
If a base size is not provided, the minimum size is to be used in its place and vice versa.

Added support for this.
Dana Jansens danakj@orodu.net
ac4e6784
i was backwards
Dana Jansens danakj@orodu.net
7c139200
this cnofigure is FINAL!
Dana Jansens danakj@orodu.net
5b3d5bda
don't resize the client itself while doing a resize if its not final when config_opaque_resize is not on
Dana Jansens danakj@orodu.net
f7de8e5a
better VIDMODE support, handle the cases where the functions fail
Dana Jansens danakj@orodu.net
abd8ec3c
size fullscreen applications to the resolution with the VIDMODE extension
Dana Jansens danakj@orodu.net
68cc6e30
remove the client_remaximize function, and replace it with the client_reconfigure function, which just calls client_configure with the window's current location and dimensions, user=TRUE and final=TRUE.

add support for the VIDMODE extension in client_configure, namely, fullscreen windows are positioned at the point of the viewport rather than at 0,0.
call client_reconfigure when uniconifying a window, so that fullscreen windows are put at the point of the view port.
Dana Jansens danakj@orodu.net
a865fe60
remove that fancy new leftHanded option, it should be done via xmodmap instead
Dana Jansens danakj@orodu.net
ae0d8472
add a leftHanded option for mouse bindings, reverses the left/right keywords
Dana Jansens danakj@orodu.net
795d90c3
make key grabbing per window instead of always root
Dana Jansens danakj@orodu.net
bb937633
grab bindings on each client's frame (and the focus_backup) instead of on the root window
Dana Jansens danakj@orodu.net
8a1fa6d3
allow cycling to iconic windows
Dana Jansens danakj@orodu.net
c6fd3aa8
use client_can_focus from client_focus to always get the same result
Dana Jansens danakj@orodu.net
4cb48beb
reverting the transient focus cycle change, its just not.. right. add the parent's title to the transient's for the popup instead of just relpacing it
Dana Jansens danakj@orodu.net
1139d96e
better focus cycling for transients. use the parent instead of the transients in the list in case it has more than one, then after choosing it try focus a transient instead
Dana Jansens danakj@orodu.net
0ce054c2
dont try change focus while looping thru the focus list
Dana Jansens danakj@orodu.net
e0fa57d2
allow focus_fallback to query if a client can be focused without changing the focus order on it
Dana Jansens danakj@orodu.net
9232682a
grab the keybaord before cycling focus for reduced latency
Dana Jansens danakj@orodu.net
f827fbca
remove debug print
Dana Jansens danakj@orodu.net
9867ce23
more unique error for unhandles image bit depths, remove debug prints
Dana Jansens danakj@orodu.net
c4e60e4a
handle increase_depth on 1bpp images
Dana Jansens danakj@orodu.net
70a34967
ignore xerrors while using the pixmaps specified by the client, since they can certainly be invalid and there's nothing i can do about it.
Dana Jansens danakj@orodu.net
f7b68748
rm g_messages.. ones that segfault.. :>
Dana Jansens danakj@orodu.net
5a8c1644
also dont increment the nicons if the w*h is 0
Dana Jansens danakj@orodu.net
754391ea
watch out for 0x0 icons, and skip them
Dana Jansens danakj@orodu.net
465e32b7
add env var to get automake 1.7
Dana Jansens danakj@orodu.net
365a9fbb
adjust what gets raised on map a bit, a little less selective.
Dana Jansens danakj@orodu.net
6a947144
better alpha/beta check :)
Dana Jansens danakj@orodu.net
e6255a02
look for 'alpha' and 'beta' releases also
Dana Jansens danakj@orodu.net
3424de66
only add non-nonintrusively when both windows share a stacking layer
Dana Jansens danakj@orodu.net
6ddb0597
raise on client clicks
Dana Jansens danakj@orodu.net
2e824eec
rm the 'focusraise' action, it is redundant.
Dana Jansens danakj@orodu.net
b7780b74
proper centering of the text in popups without icons
Dana Jansens danakj@orodu.net
4b2ec0d0
use frame->visible, not the desktop number, other states exist too, like show_desktop
Dana Jansens danakj@orodu.net
c8dc32b6
omg wrong branch!
Dana Jansens danakj@orodu.net
e5bb095d
always gl. fontconfig instead of xft.
Dana Jansens danakj@orodu.net
b8f05e53
gl.h shouldn't be required when not enabling gl
Derek Foreman manmower@gmail.com
4b297943
add the glade/gtk deps for debian
Dana Jansens danakj@orodu.net
db705f40
all grads done
Derek Foreman manmower@gmail.com
f9505b23
pipecross
Derek Foreman manmower@gmail.com
d6652d0a
rectangle and diagonal grads yay

gl > *
Derek Foreman manmower@gmail.com
10e2807d
Shade not Shaded
Dana Jansens danakj@orodu.net
a2b37ea6
add debian package list
Dana Jansens danakj@orodu.net
11633965
automake 1.7
Dana Jansens danakj@orodu.net
b4607cdf
mention glib, xml, gtk and glade
Dana Jansens danakj@orodu.net
b5b350bb
make autoconf 2.54 required. makes automake1.6 get used on some systems
Dana Jansens danakj@orodu.net
48a75b80
gl is starting.  it's gonna get really ugly really fast, folks
Derek Foreman manmower@gmail.com
d1e355de
this is a big one! im putting stats in here just cuz!
 59 files changed, 1691 insertions(+), 607 deletions(-)
Adding the beginings of ObConf. Adding a resistance-config plugin for ObConf.
Creating an obparser library that obrender can use, the kernel can use, plugins can use, and ObConf and its plugins can use. (its just code for using libXml2)
Dana Jansens danakj@orodu.net
927f99e4
not being developed anymore, maybe in the future...
Dana Jansens danakj@orodu.net
3753a0ed
convert shit from utf8 to filename before execing it
Dana Jansens danakj@orodu.net
d2857b11
ECKS EM ELL
Dana Jansens danakj@orodu.net
f7df74b9
let the client menu open below the top of the window, just limit it at the titlebar
Dana Jansens danakj@orodu.net
75e691a2
add actions for showing the desktop
Dana Jansens danakj@orodu.net
e4832570
soem changes to desktop actions.
instead of having *wrap actions, just default to having wrap on, and let it be optionally placed into the rc to disable it.
instead of next/prev desktop, just have actions for desktop to the right/left/up/down. this applies to sendtodesktop actions too.
Dana Jansens danakj@orodu.net
26ebe251
add a DEBUG_FOCUS print
Dana Jansens danakj@orodu.net
dc7a267a
there's this case where we DONT want to ignore both events or we end up without anything we know of being focused, even tho something is. this case is now covered. ps i hate focus so much.
Dana Jansens danakj@orodu.net
a373b158
use the user friendly desktop number
Dana Jansens danakj@orodu.net
cd54e31a
clarify comment
Dana Jansens danakj@orodu.net
d61b48a2
remove obcl. shrimpx may work on this in the future but we are not usnig it now.
Dana Jansens danakj@orodu.net
b1fe0dbb
dont refocus the focused window, that just causes so many problems (with alt-tab :)
Dana Jansens danakj@orodu.net
f68eb1fc
validate utf8 strings before using them
Dana Jansens danakj@orodu.net
b46222c3
Fixed missing includes
Scott Moynes smoynes@nexus.carleton.ca
f54e8c9b
add --enable-gl support, and put the flags/libs in the appropriate makefiles
Dana Jansens danakj@orodu.net
a83b590f
remove a todo item that seems to be.. done!
Dana Jansens danakj@orodu.net
b6947305
missed a case of using the stacking list and assuming that its all clients still. fixed that assumption now.
Dana Jansens danakj@orodu.net
493e7d4a
ignore ancestor FocusIn events. i get them sometimes when hitting alt-tab and that totally fucks it up cuz it cancels teh alt-tab process.
Dana Jansens danakj@orodu.net
ebb97c18
had some code inside the action for loop that didnt belong in there
Dana Jansens danakj@orodu.net
4160963c
Add toggle decor action to client menu
Scott Moynes smoynes@nexus.carleton.ca
99c7fa72
fix cut'n'paste bug
Derek Foreman manmower@gmail.com
d3980aa4
only button 1 can use menu items
Dana Jansens danakj@orodu.net
f249e016
watch out for border widths
Dana Jansens danakj@orodu.net
c00accbd
removed a piece of code I suspect has never been run
this is for XServers that report less than 8 bpp default visual and support
8bpp or higher visuals

hopefully nothing is really that stupid.  we'll see.
Derek Foreman manmower@gmail.com
911d7251
keep XVisualInfo around in preparation for opengl stuff
Derek Foreman manmower@gmail.com
5ac5170d
only grab C-g while in a chain
Dana Jansens danakj@orodu.net
1bd4bb32
add the client_menu stuff
Dana Jansens danakj@orodu.net
1eef38ce
async key grabs to avoid race conditions with the sync stuff. there are still possible rases (yay X) but they will be much harder to hit, i expect noone will ever hit them more than once/often enuogh to realise.
Dana Jansens danakj@orodu.net
64c9c16c
remove shit for my own makefiles that i dont need no more
Dana Jansens danakj@orodu.net
3669da9c
a missing break!
Dana Jansens danakj@orodu.net
04a85677
layers submenu on client
Scott Moynes smoynes@nexus.carleton.ca
4d814a38
add actions for changing client layers to abov/below/normal
Dana Jansens danakj@orodu.net
d6cb5adb
typo
Dana Jansens danakj@orodu.net
68eba18b
load the client_menu by default for nowc
Dana Jansens danakj@orodu.net
71d2605e
Client menus
Add "client_menu" to pluginrc to use.
Scott Moynes smoynes@nexus.carleton.ca
955d9d8e
optimize it a bit
Dana Jansens danakj@orodu.net
9b2a67d0
pass the number of bytes, not characters to the xft draw functions
Dana Jansens danakj@orodu.net
7da6e227
add 'movetoedge' actions
Dana Jansens danakj@orodu.net
9f501638
add xerror.h
Dana Jansens danakj@orodu.net
539f061b
Openbox3 in the WM name, FUCK OFF XINE, YA YOU HEARD ME.
Dana Jansens danakj@orodu.net
e4aa5c69
allocate the border_color's gc
Dana Jansens danakj@orodu.net
9e33652f
put the devation back how it used to be, it aws definately no better..
Dana Jansens danakj@orodu.net
76425437
of by one error in pyramid, rectangle, and crosspipe
Derek Foreman manmower@gmail.com
0de48102
remove debug prints
Dana Jansens danakj@orodu.net
895cd9f4
reindent the file....
but while i'm at it:
  - add support for bevels/borders on solid textures.
  - reverse the colors in the rectangle gradient, the pipecross and pyramid
    ones may need to be reversed as well.
Dana Jansens danakj@orodu.net
13f701bd
remove the elliptic gradient type.
add bevel light/dark colors for solid textures with bevels
Dana Jansens danakj@orodu.net
97b22bd2
use the rectangle gradient when the theme asks for elipse
Dana Jansens danakj@orodu.net
19500061
argh put it back right!*(
Dana Jansens danakj@orodu.net
d1ccdfc9
fuck it, put it back
Dana Jansens danakj@orodu.net
14cab4f9
smarter default debug value :)
Dana Jansens danakj@orodu.net
644d6295
default debug off (for non-cvs builds!)
Dana Jansens danakj@orodu.net
32390c6b
ignore errors when playing with application defined colormaps
Dana Jansens danakj@orodu.net
ea6d0e0d
get the size for all the apps before positioning them
Dana Jansens danakj@orodu.net
40f2e19e
set teh dock sizes before the app uses it for positioning
Dana Jansens danakj@orodu.net
135d6d7b
center dock apps
Dana Jansens danakj@orodu.net
8c0cae82
add fifo_menu shit
Dana Jansens danakj@orodu.net
81417dd3
use the resize increment when resizing relative
Dana Jansens danakj@orodu.net
5a7953b3
2 in 1 again..
a) directional focus actions
b) action system changes i.e. use structs/arrays for convertings strings to actions instead of gross if-else chains
Dana Jansens danakj@orodu.net
00960995
Added a fifo_menu plugin
Scott Moynes smoynes@nexus.carleton.ca
ad4c3aad
PipeCross
Derek Foreman manmower@gmail.com
b24e6fbf
there's the rect grad.  now stop bugging me :(
Derek Foreman manmower@gmail.com
e328dc2f
is that a rectangle grad?  damned if I know
Derek Foreman manmower@gmail.com
a18c1697
make icons use pixel32 data, and image_draw takes pixel32 data.
client.c gets pixmap icons as a backup to netwm ones, and they are converted into pixel32 data.
Dana Jansens danakj@orodu.net
f41d06f5
include grab.h
Dana Jansens danakj@orodu.net
4be1b081
whatever, it's a junk file.
Derek Foreman manmower@gmail.com
d46e6627
change badly named offsets
add stubs for rectangle and pipecross
Derek Foreman manmower@gmail.com
b9ecd5bf
rename poorly named offsets
Derek Foreman manmower@gmail.com
d9bdc211
add stubs for pipecross and rectangle
Derek Foreman manmower@gmail.com
dcdd743f
fix poor naming of default offset
Derek Foreman manmower@gmail.com
90ca2a20
fix poor naming of the default offset
Derek Foreman manmower@gmail.com
d8921eb3
this is actually xor :) - fixing the focus search function to not return NULL if no valid group members exist to be a transient for
Scott Moynes smoynes@nexus.carleton.ca
cea19c78
proper check to see if something was raised, the it==NULL would cause it to always return, incorrectly.
Dana Jansens danakj@orodu.net
993fc622
2 in 1 deal :\

client.c stacking.c: fixing looping transient case for group transient windows. now a window which is transient for a group is *not* transient for any other transient windows in the group (perviously the other window had to be transient for the group to be excluded, now it can be transient for anything).

client.c/h event.c render.c/h: adjustnig icon handling a bit. will be converting the legacy pixmap icons into rgba data so they can be handled the same as netwm icons.
Dana Jansens danakj@orodu.net
3c7bf77d
Indentation stuff
Scott Moynes smoynes@nexus.carleton.ca
971b3a83
actually optional now.
Dana Jansens danakj@orodu.net
599837b9
make LIBSN optional
Dana Jansens danakj@orodu.net
ac779e65
grab the mouse during focus cycling. this removes the bug of focusing following the mouse when the popup disappears and fuck up your cycling.
Dana Jansens danakj@orodu.net
d1ceea89
need the libsn flags
Dana Jansens danakj@orodu.net
94d222f6
needs the libsn flags to use openbox.h now
Dana Jansens danakj@orodu.net
f54b294e
Clean up on destroy.
Scott Moynes smoynes@nexus.carleton.ca
2b2beddc
add (optional) support for showing a busy cursor via startup notification
Dana Jansens danakj@orodu.net
c912b634
Added stat() based timed menu update.
Needs parser before it is useful.
Scott Moynes smoynes@nexus.carleton.ca
f6b61bb6
disallow drag events on title buttons.
dont redraw title button when the wheel buttons are used on them.
Dana Jansens danakj@orodu.net
0b5f6589
print the class not the name
Dana Jansens danakj@orodu.net
f8bbe46b
get all the strings!
Dana Jansens danakj@orodu.net
f17b225d
save the dock's class/name for future evil purposes!
also print names of windows being managed/unmanaged
Dana Jansens danakj@orodu.net
2efed807
discourage floating a bit, capitalize better.
Dana Jansens danakj@orodu.net
d9e1eb0c
FUCK dock is not an array anymore!
Dana Jansens danakj@orodu.net
7a166a38
give the dock a strut and use it
Dana Jansens danakj@orodu.net
66d30066
Fixed child wait.
Scott Moynes smoynes@nexus.carleton.ca
2d6c9a7b
remove debug prints
Dana Jansens danakj@orodu.net
a0691941
dockapps are ObWindows now.
set the type when creating new dockapps.
Dana Jansens danakj@orodu.net
e4c662ea
add stdio.h
Dana Jansens danakj@orodu.net
b77e40e1
rename "Slit" to "Dock".
add config options to the rc3 for the dock.
create a window_map, add DockApps to the ObWindow types, use the window_map for translating windows into objects for event handling (only one lookup now) and remove the old maps (client_map, menu_map).
Dana Jansens danakj@orodu.net
6e42b65b
add anotehr stacking_add function.
make stacking_add take care of raising also.
make new windows that dont get focus also not raise above the focused window.
Dana Jansens danakj@orodu.net
8367ab14
movnig shit around
Dana Jansens danakj@orodu.net
7b65469a
watch out for not loading the timed_menu plugin
Dana Jansens danakj@orodu.net
c5b8ec74
pass teh correct values for config notify events
Dana Jansens danakj@orodu.net
78a8680c
Added a menu to read from a pipe.
File descriptors added to the event loop.
Scott Moynes smoynes@nexus.carleton.ca
80dfe9cb
watch out for stacking_list
Dana Jansens danakj@orodu.net
9938de36
add opaque move/resize to the rc3
Dana Jansens danakj@orodu.net
ea6b9caf
was using the frame window in the stacking list hint
Dana Jansens danakj@orodu.net
7c7868f4
add internal popups n shit to the stacking list.
some cleanups for the stacking order hint.
add non-opaque move/resize. cant toggle it yet.
Dana Jansens danakj@orodu.net
fed4a9e7
rm comment for shit i fixed
Dana Jansens danakj@orodu.net
6385eeb8
updated... it sucks tho anyways
Dana Jansens danakj@orodu.net
7e9ad375
not everything in the stacking_list is a client anymore
Dana Jansens danakj@orodu.net
81cc0749
Menus put themselves into the stacking list.
Clicking on the menu (but not on an entry) will raise it.
Dana Jansens danakj@orodu.net
58cfbb7f
Clients Menus and Slits are all 'ObWindow's now.
Stacking is done with ObWindows.
Slits add themselves to the stacking order, as do clients of course.
Added some macros for adding/removing to the stacking order.
Dana Jansens danakj@orodu.net
506122a1
garb press events so they dont break bindings... X sucks
Dana Jansens danakj@orodu.net
3689fa4b
grab button events on the slit so they dont go through to root
Dana Jansens danakj@orodu.net
ffb76025
use the size of the icon window for slit apps, not the client window
Dana Jansens danakj@orodu.net
23697223
cleanups
Dana Jansens danakj@orodu.net
ed4f84ac
can drag slit-apps around in the slit
Dana Jansens danakj@orodu.net
20ba24b7
add autohiding to the slit
Dana Jansens danakj@orodu.net
4e887121
some slit fixes, support resizing slitapps
Dana Jansens danakj@orodu.net
66899a4e
rm the tools dir
Dana Jansens danakj@orodu.net
0d55e6cb
rm this garbage...
Dana Jansens danakj@orodu.net
c4a51490
add a slit to the kernel
Dana Jansens danakj@orodu.net
37169289
ignore the build shit
Dana Jansens danakj@orodu.net
9702f788
add the sgml dir
Dana Jansens danakj@orodu.net
2508089d
make the client menu not have a title
Dana Jansens danakj@orodu.net
bd6d80f1
be more careful about ignoring focusin/out event pairs
Dana Jansens danakj@orodu.net
6c431d3a
tyop
Scott Moynes smoynes@nexus.carleton.ca
24eb9f85
Turn off timed_menu by default
Scott Moynes smoynes@nexus.carleton.ca
03d42b5d
Timed menu that reads output from a process while the window is hidden
Scott Moynes smoynes@nexus.carleton.ca
3fab044f
whitespace
Scott Moynes smoynes@nexus.carleton.ca
e7c9e432
fixor
Scott Moynes smoynes@nexus.carleton.ca
24a07415
nice merge
Dana Jansens danakj@orodu.net
a8a4a2cc
Menu uber patch
Since we have no menu parser see menu_startup() to customize
Scott Moynes smoynes@nexus.carleton.ca
d5eacc56
add a client_activate function, use it for net_wm_active mesgs and for focus cycling.
Dana Jansens danakj@orodu.net
380ddd2b
unshade windows when you cycle focus to them
Dana Jansens danakj@orodu.net
bccb90b0
add shit that i made in the last week!
Dana Jansens danakj@orodu.net
f26f23de
all my changes while i was offline.
better alt-tabbing. better transient handling. i dont even know. lots of fucking cool shit so WATCH the FUCK OUT.
Dana Jansens danakj@orodu.net
60065663
thoughts and shit
Marius Nita marius@cs.pdx.edu
1594828e
move windows before calcing struts. watch for windows on DESKTOP_ALL when removeing a desktop
Dana Jansens danakj@orodu.net
f8e7ab50
a more correct for the missing frame problem. don't restack windows when changing the window's layer while it is being managed.
Dana Jansens danakj@orodu.net
5888e7ed
watch for windows without frames, they can be in the transient order before they get fully managed
Dana Jansens danakj@orodu.net
ea4913fc
no longer pertinent
Dana Jansens danakj@orodu.net
a081582e
fix window icon rendering, was using incorrect size.
Dana Jansens danakj@orodu.net
02c7f2e8
its G_BYTE_ORDER not G_ENDIAN.
Dana Jansens danakj@orodu.net
04d6bf1e
show the move coords for where the window will actually be
Dana Jansens danakj@orodu.net
fd89a7ea
only focus on startup if focus_new is true
Dana Jansens danakj@orodu.net
d3c09435
restore the desktop and focused window on restarts if possible
Dana Jansens danakj@orodu.net
92d3f234
add helper functions for manipulating the focus_order list.
move the focus popup into focus.c, out of action.c
allow cycling to iconic windows, which are kept at the bottom of the focus_order lists.
Dana Jansens danakj@orodu.net
16a9ac01
let the frame hold a focus state so that it can lie.
dont focus windows while cycling, just highlight them as if they are focused
Dana Jansens danakj@orodu.net
11b7764e
icons are not at +1 anymore
Dana Jansens danakj@orodu.net
019c779f
some more checks for transients looping on eachother when they are transients of a group
Dana Jansens danakj@orodu.net
957ffe9c
client side shit ISNT 32 bits on 64 bit platforms, its 64 bits. fuck X so hard.
Dana Jansens danakj@orodu.net
0ba67006
even better checks for when to focus new windows. focus dialogs when they are the only member of their group
Dana Jansens danakj@orodu.net
574dd66b
More menu changes to facilitate plugins.
Scott Moynes smoynes@nexus.carleton.ca
6a237b91
Render menus only when they are invalid.
Scott Moynes smoynes@nexus.carleton.ca
c61420b2
add automake
Dana Jansens danakj@orodu.net
100fdf72
focus on press onm the titlebar buttons
Dana Jansens danakj@orodu.net
5d973d35
yet more changes to choosing to focus windows when they mapp
Dana Jansens danakj@orodu.net
d22e9c9c
try avoid cicular includes with the bison shit
Dana Jansens danakj@orodu.net
573aaf7e
make the icon larger than the buttons by one pixel in each direction, this makes it as tall as the label and lets it fit more image in
Dana Jansens danakj@orodu.net
d3ce8451
new focus-new rules
Dana Jansens danakj@orodu.net
8dfa16ab
i lied.. fuck @ those gnome dialogs
Dana Jansens danakj@orodu.net
ccb8cd61
lighten up a bit on the focus new windows criteria
Dana Jansens danakj@orodu.net
9c55fd5a
rm invalid comment
Dana Jansens danakj@orodu.net
540f547b
only look for FocusOut events on the same window
Dana Jansens danakj@orodu.net
bcbe5c8f
convert STRING properties from "ISO-8859-1" instead of from the current locale, since this is what they apparently are, according to gdk.
Dana Jansens danakj@orodu.net
be6d54a0
check the string not the pointer to it
Dana Jansens danakj@orodu.net
6b7737ac
the mouse grab screws that up
Dana Jansens danakj@orodu.net
2829849b
dispatch presses and releases during a move/resize
Dana Jansens danakj@orodu.net
31fac363
kill the debug prints for now
Dana Jansens danakj@orodu.net
142c14fc
nm cant do it.. damn
Dana Jansens danakj@orodu.net
6a9e7dea
ignore another type of crossing event, caused when leaving gtk popup menus
Dana Jansens danakj@orodu.net
c2b3a49e
just formatting
Dana Jansens danakj@orodu.net
01debc76
yet MORE changes to how focusin/out's are handled. more edge case fixing, this time with focus fallback when unmapping a window in sloppy focus mode.
Dana Jansens danakj@orodu.net
b426f766
adjust choosing to focus new windows, make it more strict.
eat all Enter events when unmapping a window so focus fallback can be more smarter..
Dana Jansens danakj@orodu.net
a8b8f2fc
dont need to sync
Dana Jansens danakj@orodu.net
a5f5b424
check for client_normal before focusing
Dana Jansens danakj@orodu.net
06663c24
when unfocusing a window (e.g. unmanaging) try fallback to transient relations, if that fails, try group relations, then fallback to other window.
Dana Jansens danakj@orodu.net
9d16ced2
try focus other transients of the parent window when a transient falls back before focusing the parent
Dana Jansens danakj@orodu.net
f8056d9c
unset it AFTER using it...
Dana Jansens danakj@orodu.net
bf14853e
unset the client when done moveresizing
Dana Jansens danakj@orodu.net
b5a5a8f3
don't wait(), the glib function does that for us woot.
Dana Jansens danakj@orodu.net
c4fb053f
more strict rules on what will be focused by the focusNew option in the rc3. only strictly NORMAL windows will be focused, not dialogs or anything else when they are mapped.
Dana Jansens danakj@orodu.net
e6a00eee
comment typo
Dana Jansens danakj@orodu.net
077cd7f9
watch out when unmanaging a window, that it is not being move/resized
Dana Jansens danakj@orodu.net
cfe3dc9e
a) put transient windows on the same desktop as their parent
b) if a window is attempted to be focused but it is not on the current desktop,
   then move it to the top of the focus order on its desktop
Dana Jansens danakj@orodu.net
322b2d0a
distribute focus when entering/leaving show-the-desktop mode
Dana Jansens danakj@orodu.net
0a3d3245
remove debug print
Dana Jansens danakj@orodu.net
43139ed3
add the left/right/top/bottom direction arrows and use them for resizing those ways
Dana Jansens danakj@orodu.net
4b421dc8
net_WM!@^&(
Dana Jansens danakj@orodu.net
95b1cd01
use the right client
Dana Jansens danakj@orodu.net
a85158b1
dont use the client if there is none
Dana Jansens danakj@orodu.net
793099ce
dont ignore all Virtual pointer events
Dana Jansens danakj@orodu.net
1923939b
02:33 (@xor) omg yes
02:33 (@xor) grid workspace cycling of d3th
Dana Jansens danakj@orodu.net
827e7baf
fix grip workspace cycling
Dana Jansens danakj@orodu.net
c4af9509
fix up support for moveresize. make keyboard grabs Async so that i can hit escape to cancel a moveresize process.
Dana Jansens danakj@orodu.net
de70d9ff
do not shadow parameter pls
Dana Jansens danakj@orodu.net
c4138c0c
initialize start_x/y
Dana Jansens danakj@orodu.net
25ffe6b5
add support for interactive/keyboard move/resize
Dana Jansens danakj@orodu.net
12d4c866
add support for net_moveresize_window and net_wm_moveresize
Dana Jansens danakj@orodu.net
7e8cdf1a
use the new cursor defn's
Dana Jansens danakj@orodu.net
75d44284
use the new ptr cursor defn
Dana Jansens danakj@orodu.net
7886b797
move the move/resize functionality into moveresize.c, for use with the netwm atoms. use it from teh plugins. combine the two actions.
Dana Jansens danakj@orodu.net
55c424d3
put text centered in the popup dialog properly
Dana Jansens danakj@orodu.net
1617489f
make alt-middle the default resize binding
Dana Jansens danakj@orodu.net
11b79778
add more cursors for move/resizing, and use the arrows not the angle brackets
Dana Jansens danakj@orodu.net
372bf029
grab pointer during cycling to remove focus screwups from focus-follows-mouse.
grab during move/resize and assign a cursor while doing the move/resize too!
Dana Jansens danakj@orodu.net
962f0b30
save the client and context during drags since a pointer grab will change them
Dana Jansens danakj@orodu.net
450c21d0
ignore virtual crossing events..
Dana Jansens danakj@orodu.net
8d3829d1
that was dumb, it was metacity's fault
Dana Jansens danakj@orodu.net
3505a866
only cycle to visible windows
Dana Jansens danakj@orodu.net
cb71c993
dont send menu events to plugins
Dana Jansens danakj@orodu.net
8955a2b7
show the root menu on right click
Dana Jansens danakj@orodu.net
185d1337
menus works on some level. add a built-in root menu
Dana Jansens danakj@orodu.net
04cfdd26
code cleanup
Dana Jansens danakj@orodu.net
1683b33f
when flags are not set assume bette defaults
Dana Jansens danakj@orodu.net
79a352a4
raise menus above clients.
hilight menu entries as the cursor passes over them.
Dana Jansens danakj@orodu.net
59c3cce4
save the window ids in a map for the menus
Dana Jansens danakj@orodu.net
c915078f
only change the group info if the group flag is set
Dana Jansens danakj@orodu.net
8c2f20e6
only add transients if we are IN a group
Dana Jansens danakj@orodu.net
712475a9
oops nm
Dana Jansens danakj@orodu.net
f3a93aee
less ()s cleanup
Dana Jansens danakj@orodu.net
d4b2de21
remove transients before removing ourlselves from teh group
Dana Jansens danakj@orodu.net
998ad4e7
set the group to null when removeing ourselves from it
Dana Jansens danakj@orodu.net
1c873588
watch out for missing a name
Dana Jansens danakj@orodu.net
9bd740cf
make menu font smaller and !bold for now
Dana Jansens danakj@orodu.net
0e28a07e
start of showing/rendering menus. woot!
Dana Jansens danakj@orodu.net
1c3689d0
load menu style stuff
Dana Jansens danakj@orodu.net
bbaef2ee
make minsize take int*'s not a Size*
Dana Jansens danakj@orodu.net
3c960fb9
remove transients of the group from teh window when it leaves the group
Dana Jansens danakj@orodu.net
4eb80a81
add group transients when setting up the group
Dana Jansens danakj@orodu.net
5898c685
bug in the search for transient_for's
Dana Jansens danakj@orodu.net
84b9c90b
update the theme stuff
Dana Jansens danakj@orodu.net
70f63e4c
more processor bummy
Marius Nita marius@cs.pdx.edu
b72a3853
PYRAMID PARTY PART 2!!!
Derek Foreman manmower@gmail.com
8f5e1a0f
PYRAMID PARTY!!!
Derek Foreman manmower@gmail.com
db251b08
remove debug print
Dana Jansens danakj@orodu.net
1ab60776
node processing code/macros, and other fixes
Marius Nita marius@cs.pdx.edu
37e2ef05
added line numbers to nodes
Marius Nita marius@cs.pdx.edu
f8c712f5
init commit, tree processing code bummy
Marius Nita marius@cs.pdx.edu
e6d1ab21
fixes for handling char**s
Dana Jansens danakj@orodu.net
b486929d
indenting oopsie
Dana Jansens danakj@orodu.net
693c88ca
dont get a null at the end of the data, so use strndup
Dana Jansens danakj@orodu.net
cb684078
fix a seg from ignoreing PROP_GETSS failure
Dana Jansens danakj@orodu.net
5a957862
more fixes for working with char**s
Dana Jansens danakj@orodu.net
4769c65a
nullify the ends of the char**
Dana Jansens danakj@orodu.net
3175986d
remove casts from PROP defines. use proper vars and cast elsewhere if needed.
Dana Jansens danakj@orodu.net
64e08844
text justification
Dana Jansens danakj@orodu.net
1afb1a7c
shrink the area that the textures are rendered into by the bevels/borders
Dana Jansens danakj@orodu.net
d4b20aef
rip the prop code i wrote in cwmcc out and make it all 64bit friendly (i think!). stop using gulong for values from the xserver, using guint32 instead.
Dana Jansens danakj@orodu.net
3d6e0f94
these menus should not be removed, they are good and will be used.
Dana Jansens danakj@orodu.net
677bc6ed
clean up this mess of crap a lot
Dana Jansens danakj@orodu.net
3809fb37
do not commit bad char* foo that breaks on !32 bit platforms
Dana Jansens danakj@orodu.net
99fd65ba
cleanups and such
Marius Nita marius@cs.pdx.edu
7aae14e9
beginning of obcl. the parser works with semicolons after statements
for now, there is much left to change and do.
Marius Nita marius@cs.pdx.edu
69854023
*** empty log message ***
Scott Moynes smoynes@nexus.carleton.ca
fd069520
allow _'s in identifiers
Dana Jansens danakj@orodu.net
eb5f930a
raise and lower all transients along with parents
Dana Jansens danakj@orodu.net
58ebc8f7
apply layers to all transients. only raise once on the highest window who's layer changed after applying layers to them all
Dana Jansens danakj@orodu.net
4d069713
ifdef not ifndef
Dana Jansens danakj@orodu.net
580795fe
keep all transient windows above their parents
Dana Jansens danakj@orodu.net
e75ead70
simple cleanups for the client_iconify function.
also dont follow into other groups when searching up the transient_for tree
Dana Jansens danakj@orodu.net
16e7aac6
rm the unused vars
Dana Jansens danakj@orodu.net
fd1b33af
onyl focus 'normal' windows on map
Dana Jansens danakj@orodu.net
58ba751a
only keep fullscreen windows on top while they are focused
Dana Jansens danakj@orodu.net
b58268e0
make fullscreen decorations and functions be calculated by the setup_decor_and_functions func
Dana Jansens danakj@orodu.net
07d48062
rm the group debug prints
Dana Jansens danakj@orodu.net
00042637
only print that when debuggin focus
Dana Jansens danakj@orodu.net
184e57c7
ignore the remaining new shit from automaking everything again
Dana Jansens danakj@orodu.net
dfc9680e
back to automake
Dana Jansens danakj@orodu.net
1e1ee706
shrimpx above miklos?
Dana Jansens danakj@orodu.net
bb8b9ddb
pass the Client for frame_context cuz the client might be NULL
Dana Jansens danakj@orodu.net
14a842b3
comment properly
Dana Jansens danakj@orodu.net
282bca1d
load the font shadow stuff from the old ob2 shitz
Dana Jansens danakj@orodu.net
d6ef2155
let specify theme in the rc3 file. rm the other old engine options
Dana Jansens danakj@orodu.net
159423ff
break on errors
Dana Jansens danakj@orodu.net
5cf61ee0
move the openbox engine into librender and the kernel. the theme is loaded and stored inside librender. the frame is decorated and managed inside the kernel.
Dana Jansens danakj@orodu.net
fb169665
move the themes
Dana Jansens danakj@orodu.net
76ebae32
allow freeing NULL appearances
Dana Jansens danakj@orodu.net
ef1f7b04
allow closing NULL fonts
Dana Jansens danakj@orodu.net
2d9c03a4
allow freeing NULL pixmap masks
Dana Jansens danakj@orodu.net
c2bb32dc
dont fux self in color_free if the color is NULL
Dana Jansens danakj@orodu.net
fd5784c0
proper cwmcc_ prefixing.
add gulong *num and gulong num to funciton params where needed. cant use 0 to terminate an array of numbers
Dana Jansens danakj@orodu.net
4d510a8a
set the right mask for the client msg!
Dana Jansens danakj@orodu.net
73f85d0a
dont use #ifdef HAVE_FOO for ansi functions/headers
Dana Jansens danakj@orodu.net
949946a9
complete the root property get functions
Dana Jansens danakj@orodu.net
7b030414
add most of the root window props get functions
Dana Jansens danakj@orodu.net
9b63f238
add right click in client focuses
Dana Jansens danakj@orodu.net
6b95bf33
add getting of some root properties
Dana Jansens danakj@orodu.net
6011fe9c
make utility windows able to be resized
Dana Jansens danakj@orodu.net
3342e142
name set_icon_name correctly
Dana Jansens danakj@orodu.net
0e4e4526
rm the main Makefile in a distclean
Dana Jansens danakj@orodu.net
585ecc73
add the new cwmcc stuff
Dana Jansens danakj@orodu.net
43f01ee9
add set functions for setting name/icon name
Dana Jansens danakj@orodu.net
d976fc6b
add set functions for all the client props that need em
Dana Jansens danakj@orodu.net
f317ceea
add get functions for all the client properties
Dana Jansens danakj@orodu.net
d8fc08f3
add all functions for getting and setting window properties
Dana Jansens danakj@orodu.net
a5bd2bab
deiconify transient parents when a child is deiconified.
Dana Jansens danakj@orodu.net
64dac07d
no fuck that it was working fine
Dana Jansens danakj@orodu.net
cb444e37
make the TRAN_GROUP an unsigned long
Dana Jansens danakj@orodu.net
a6ce30cb
add MapRequest print
Dana Jansens danakj@orodu.net
e9d875cf
some smarter rules for focusing new window when focus_new is not set
Dana Jansens danakj@orodu.net
b3ed490e
use .los not .os
Dana Jansens danakj@orodu.net
09deadf7
install with libtool
Dana Jansens danakj@orodu.net
51e27c03
set up the atoms in cwmcc
Dana Jansens danakj@orodu.net
787cbcf6
buld fixes for the new libs
Dana Jansens danakj@orodu.net
d0e90156
add libcwmcc and libobcl
Dana Jansens danakj@orodu.net
c2983d1f
describe the code subdirs
Dana Jansens danakj@orodu.net
a6130b84
dont show the focus popup when theres no target client
Dana Jansens danakj@orodu.net
9bae1e31
rm debug print
Dana Jansens danakj@orodu.net
3d1c63bc
add override
Dana Jansens danakj@orodu.net
3331a2a9
add a test that maps an override redirect window
Dana Jansens danakj@orodu.net
71badb07
move config option loading for the kernel into config.c/h
add options for the number of desktops and the names of the desktops
Dana Jansens danakj@orodu.net
672f1de2
add the desktops options
Dana Jansens danakj@orodu.net
4efc6db7
better clickfocus friendliness
Dana Jansens danakj@orodu.net
63b0c561
check for focus before unfocusing
Dana Jansens danakj@orodu.net
c99bb4a0
add more options for focus fallback, use an enum for all the types of fallbacks.
Dana Jansens danakj@orodu.net
40bfb2b6
only cycle focus to normal windows
Dana Jansens danakj@orodu.net
bd5d4416
make stacked cycling the default
Dana Jansens danakj@orodu.net
7b5a51db
use a size not area for the label
Dana Jansens danakj@orodu.net
0272ef26
show a popup with the focus target while cycling
Dana Jansens danakj@orodu.net
f278ec41
fallback to transients' parents when possible.
return the Client* which was focused from focus_cycle
Dana Jansens danakj@orodu.net
fc325777
fallback focus while unmanaging the window
Dana Jansens danakj@orodu.net
8a30fa25
FocusRaise to be more clickfocus friendly too
Dana Jansens danakj@orodu.net
083f2f5d
add focusLast and focusLastOnDesktop options in the [focus] section of the rc3. allows more customizaton of the focus model. default to click-focus style. add handling for focus cycling when nothing on the desktop is focused.
Dana Jansens danakj@orodu.net
2dac2cc0
ignore inferior enternotifies
add anotehr focusdebug print
Dana Jansens danakj@orodu.net
5f53cd5f
check for new windows always being onscreen.
rename the client pointer to self in teh manage unmanage functions for consistancy
Dana Jansens danakj@orodu.net
7613d4d8
rm debug prints
Dana Jansens danakj@orodu.net
3e55e63f
dont check to make sure the window is on screen here
Dana Jansens danakj@orodu.net
d963ae89
add comment about the two different area Rects
Dana Jansens danakj@orodu.net
91f2c11a
add new HACKING!
warn about Client.transient_for
Dana Jansens danakj@orodu.net
a25b19a1
support for transients of groups
Dana Jansens danakj@orodu.net
e6cc69ca
support for transients of groups
Dana Jansens danakj@orodu.net
3cbf5bfa
missed one
Dana Jansens danakj@orodu.net
2eb4d793
put focus messages in ifdefs
Dana Jansens danakj@orodu.net
79ddf918
remove debug print
Dana Jansens danakj@orodu.net
e040fc1b
add the group.c
Dana Jansens danakj@orodu.net
5f42ecfa
track window groups
iconify all its transients when a window is iconified
Dana Jansens danakj@orodu.net
aaae49d6
look for masks in the right place. display the error with just the requested button name.
Dana Jansens danakj@orodu.net
2da1898f
install the buttons
Dana Jansens danakj@orodu.net
49f31c07
once in a window-cycle, don't fire any other key bindings
Dana Jansens danakj@orodu.net
db086ef3
put focus_cycle into focus.c, use it there in the action. improved it as well to handle odd cases like modal windows. added functions to client.c which are needed by the focus cycling routine.
Dana Jansens danakj@orodu.net
1f775fdd
grab the other device in Sync for button/key grabs
Dana Jansens danakj@orodu.net
a484ba5e
dont let windows be placed offscreen
Dana Jansens danakj@orodu.net
b15007ca
ifndef NOT IFNDEF GAH
Dana Jansens danakj@orodu.net
d498522a
dont toggle when no client was passed to teh action
Dana Jansens danakj@orodu.net
d43a109b
nm that, pointless...
Dana Jansens danakj@orodu.net
d1913d1d
disable keyboard and mouse input while ob is starting or exiting
Dana Jansens danakj@orodu.net
8ebf2b6a
Fix reduce color depth to not use original data
(and break parentrel)
Derek Foreman manmower@gmail.com
70e41381
print the error when the engine cant load
Dana Jansens danakj@orodu.net
56f6acce
add stdlib.h for exit()
Dana Jansens danakj@orodu.net
a119f704
stop using build/ dir configure shits all over itself for other people
Dana Jansens danakj@orodu.net
a2375590
add the openbox themes makefile
Dana Jansens danakj@orodu.net
86f1830d
build fixes for finding Xlibs and for setting vars based on found Xlib info and Xinerama info
Dana Jansens danakj@orodu.net
8a4e27bd
more build system fixups
Dana Jansens danakj@orodu.net
5d665673
fixes for build system. add themes to the install process. use the build/ dir for configures trash dump
Dana Jansens danakj@orodu.net
ee236804
clean up the module if load() fails
Dana Jansens danakj@orodu.net
8d08de4b
add function to give the minimum size of an appearance to fully render it's data
Dana Jansens danakj@orodu.net
852f3623
save the state at the start of a drag and use it throughout until the button is released
Dana Jansens danakj@orodu.net
c42314ec
add a coords popup for moving and resizing
Dana Jansens danakj@orodu.net
b31eb83f
add ()'s to the macros for more safety
Dana Jansens danakj@orodu.net
6016ff86
add the ability to render and size text labels for non-window-decorations
Dana Jansens danakj@orodu.net
af21cb13
add functions to the engine interface for rendering and sizing a text label
Dana Jansens danakj@orodu.net
2b120ec3
Remove woodblock's local changes :P
Scott Moynes smoynes@nexus.carleton.ca
2ec96443
Moved to DESIGN/
Scott Moynes smoynes@nexus.carleton.ca
747679b8
some thoughts on menu stuff
Scott Moynes smoynes@nexus.carleton.ca
6bec1de5
remove asserts pending sanity check.
Derek Foreman manmower@gmail.com
4260bfcb
added flakey parentrel for solids and some mean spirited asserts
Derek Foreman manmower@gmail.com
214fa871
added superb pseudo-color (8bpp) support
Derek Foreman manmower@gmail.com
26034c37
dont resize snap windows with size increments
Dana Jansens danakj@orodu.net
aa26b219
make NLIMC the default titlebar layout
Dana Jansens danakj@orodu.net
d6f9bc95
allow specifying that some focus events should be ignored for the focus order list
Dana Jansens danakj@orodu.net
ec4e24a4
stacked and linear cycling
Dana Jansens danakj@orodu.net
7ebc5c79
linear focus cycling of the gods
Dana Jansens danakj@orodu.net
69c9b621
add special shit for window cycling, grab the keyboard etc
Dana Jansens danakj@orodu.net
37788461
typo
Dana Jansens danakj@orodu.net
3d0ba381
put it back
Dana Jansens danakj@orodu.net
e38b27fc
make unfocus really unfocus everything
Dana Jansens danakj@orodu.net
36072a3e
add linear cycling for now
Dana Jansens danakj@orodu.net
9663ff83
rm the [foo] section
Dana Jansens danakj@orodu.net
3348ff49
update teh rc3 to reflect how the code works now
Dana Jansens danakj@orodu.net
3921ce30
dont default to NULL for the engine name
Dana Jansens danakj@orodu.net
06356d33
add engine options to the new rc file
Dana Jansens danakj@orodu.net
bd12517c
add focus options to the new rc file
Dana Jansens danakj@orodu.net
cbbf90a7
change how rc parsing will work. a=b will be parsed in any [section] and given to a separate parsing callback. no more general config infrastructure needed/
Dana Jansens danakj@orodu.net
88f8ebad
make tint signed
Dana Jansens danakj@orodu.net
ab3ef03a
typo
Dana Jansens danakj@orodu.net
d485e71b
rm the old mouserc shit
Dana Jansens danakj@orodu.net
41790dfe
add an rc3 which gets installed
Dana Jansens danakj@orodu.net
d60d7a06
make love
Dana Jansens danakj@orodu.net
e3aeb9ff
ignore more new shit
Dana Jansens danakj@orodu.net
50fba4bc
use Button<num> instead of just <num> for specifying buttons by number
Dana Jansens danakj@orodu.net
038e6119
better error msgs
Dana Jansens danakj@orodu.net
bca8082d
use a context enum instead of quarks
Dana Jansens danakj@orodu.net
831db744
add the mouse plugin to the build system
Dana Jansens danakj@orodu.net
d58799bc
not using quarks, using an array and a Context enum for contexts
Dana Jansens danakj@orodu.net
47cc1797
prefix key bindnigs with 'kbind'
Dana Jansens danakj@orodu.net
98c0c676
initialize all vars.
change warnings to messages
Dana Jansens danakj@orodu.net
d77ac21a
reorder startup so that grabs are set up before parsing teh rc
Dana Jansens danakj@orodu.net
c83ae0a2
wonr name in the glog domain
Dana Jansens danakj@orodu.net
7a651f9f
remove debug print
Dana Jansens danakj@orodu.net
68ff2eb3
add the keyboard plugin into the build systems
keyboard bindings are parsed from the rc file
Dana Jansens danakj@orodu.net
c8ff993e
clean up output
Dana Jansens danakj@orodu.net
896210a4
properly
Dana Jansens danakj@orodu.net
aeb6d817
add -DENABLE_NLS
Dana Jansens danakj@orodu.net
59621c4f
more using of new token struct
Dana Jansens danakj@orodu.net
e2c3582a
use new token structs. free token lists.
Dana Jansens danakj@orodu.net
5da14853
attempting to parse lists
Dana Jansens danakj@orodu.net
8dc158ac
reflect the current requirements for building/using cvs
Dana Jansens danakj@orodu.net
e9742080
allow '-' in identifiers
Dana Jansens danakj@orodu.net
c0f1e3ae
engine builds
Dana Jansens danakj@orodu.net
609a9925
build the resistance/placement plugins
Dana Jansens danakj@orodu.net
dd0304e0
remove some unneeded vars
Dana Jansens danakj@orodu.net
b66b0ef9
use the values from the yacc parser
Dana Jansens danakj@orodu.net
ce901a23
more build fixes, calling the other makefiles instead of including them
Dana Jansens danakj@orodu.net
2d81fb03
try accomidate more versions of bison
Dana Jansens danakj@orodu.net
ff113a7e
rm debug print
Dana Jansens danakj@orodu.net
9084ca41
more build fixes
Dana Jansens danakj@orodu.net
f0c7edec
make the parent depdir
Dana Jansens danakj@orodu.net
926074bf
use PACKAGE_FOO vars
Dana Jansens danakj@orodu.net
400003f4
double break statements :) oops
Dana Jansens danakj@orodu.net
43f1d3fa
add stuff that should be ignored at the toplevel
Dana Jansens danakj@orodu.net
6dc28dc0
some build fixes
Dana Jansens danakj@orodu.net
d447dc0f
new build system without automake
Dana Jansens danakj@orodu.net
28a4456c
comment stuff correctly for xresources
Dana Jansens danakj@orodu.net
b6b50119
rm the data dir
Dana Jansens danakj@orodu.net
c84b844e
BLEF HATE DIE
Dana Jansens danakj@orodu.net
9dd43bb2
bison doesnt use y.tab.*
Dana Jansens danakj@orodu.net
0a04c368
use bison not yacc
Dana Jansens danakj@orodu.net
67bbd697
rename the parse.yacc to parse.y
Dana Jansens danakj@orodu.net
fadc760c
make parse.h depend on y.tab.h
Dana Jansens danakj@orodu.net
87fbee96
this should seriously work
Dana Jansens danakj@orodu.net
089a7320
undo that
Dana Jansens danakj@orodu.net
c561ee4c
ignore new lex/yacc gen'd files
Dana Jansens danakj@orodu.net
8dd9a7c7
don't include the y.tab.h inside the yacc file
Dana Jansens danakj@orodu.net
fa741bc0
add y.tab.h to the headers so the yacc shit runs
Dana Jansens danakj@orodu.net
7820ca56
rm the generated files on clean
Dana Jansens danakj@orodu.net
8fe4e3e8
wrong .h for the make rule
Dana Jansens danakj@orodu.net
8887584e
deps the lex h on the c
Dana Jansens danakj@orodu.net
51ef6e3b
make the drag threshold and double click time into rc options
Dana Jansens danakj@orodu.net
71c8b0b7
create a generic tokenizer/sectionizer for the config file. pass off the token to functions registered for each section to parse them further. some fixes for the engine irt font shadows, and fixed a bug with rendering the iconify button when it was not in the layout
Dana Jansens danakj@orodu.net
4875ff5f
whitespace
Dana Jansens danakj@orodu.net
60204c43
kill debug print
Dana Jansens danakj@orodu.net
301c302e
use the tint properly for the shadow
Dana Jansens danakj@orodu.net
b10b31fe
rm debug print
Dana Jansens danakj@orodu.net
5ff6204e
ob_ prefix
Dana Jansens danakj@orodu.net
b0f7aa39
base the handle's layout on the grip's parentrelative state
Dana Jansens danakj@orodu.net
8cd8b1d0
will seg again
Dana Jansens danakj@orodu.net
170fa13d
stop copying. still segfault?
Dana Jansens danakj@orodu.net
cf4e1780
find the right offset in the source data for parent relative
Dana Jansens danakj@orodu.net
49eea471
default focus text color for titlebars is black
Dana Jansens danakj@orodu.net
4213b558
let there be parentrelative
Derek Foreman manmower@gmail.com
2517e307
catch button presses on the frame so that clicks on the side borders dont go through to the root window
Dana Jansens danakj@orodu.net
f1ba6ac9
more updates to current status
Dana Jansens danakj@orodu.net
5b323a93
add the shade button to the default layout
Dana Jansens danakj@orodu.net
168e75cf
add the Shade context to the comments
Dana Jansens danakj@orodu.net
4398c7c1
add a shaded button
Dana Jansens danakj@orodu.net
6e4c57b3
add some current states
Dana Jansens danakj@orodu.net
2e4c88ba
use merry's 7x7 bitmaps
Dana Jansens danakj@orodu.net
2b4a42e0
dont resist to windows which we're not touching
Dana Jansens danakj@orodu.net
abbb454a
only disallow shading when the function is not enabled, dont disallow unshading
Dana Jansens danakj@orodu.net
25198318
use the client's size instead of the frames size so the real size is used, not the size of the frame (avoids shaded window problem)
Dana Jansens danakj@orodu.net
a048c430
disallow resizing of windows which are shaded
Dana Jansens danakj@orodu.net
ace0beb9
unser drag_used when drag is unset too
Dana Jansens danakj@orodu.net
5daa08c6
80 col rule
Dana Jansens danakj@orodu.net
d75e0940
add a space where it belongs
Dana Jansens danakj@orodu.net
f99fe837
make realeases fire releases instead of presses. make drags prevent clicks only if there is something bound to the drag.
Dana Jansens danakj@orodu.net
a022c418
no drag events for keysrc..
Dana Jansens danakj@orodu.net
2881ed1e
use 'toggled' in the new button masks' resource names instead of 'pressed' to be more accurate to their use
Dana Jansens danakj@orodu.net
506c1aa0
change buttons masks so that there are masks for max and desktop buttons when their state changes but not for all buttons just when they are pressed
Dana Jansens danakj@orodu.net
0327c5a7
use the frame's position in the maximize function since they're converted to the client coords before getting to client_configure
Dana Jansens danakj@orodu.net
8d192068
was not using the pointer properly. leaving the value untouched
Dana Jansens danakj@orodu.net
8fbc68d4
set fullscreen and max positions properly for all gravities
Dana Jansens danakj@orodu.net
69552028
rm a no-longer-valid comment
Dana Jansens danakj@orodu.net
e6818c74
yet more haxes to make focus events work the way i want. this is rough shit.
Dana Jansens danakj@orodu.net
a8afa4d0
extraneous ! causing resistance to be snapping in one case. rm a debug print
Dana Jansens danakj@orodu.net
feb6bc63
use 'sans' as the fallback font instead of 'fixed'
Dana Jansens danakj@orodu.net
a6d9be4f
yet more focus fixings. RevertToPointerRoot could mess things up focusing a client and us ignoring the FocusIn of Pointer type. this is all handled now.
Dana Jansens danakj@orodu.net
71ade2a9
add support for foo.pressed.mask to load a different mask for pressed buttons
Dana Jansens danakj@orodu.net
2135d9e2
make SendToDesktop action work right, give the option of following
Dana Jansens danakj@orodu.net
4d5885d2
add pixmap_mask_copy, and add the data to the mask struct, since it is needed for allowing copies
Dana Jansens danakj@orodu.net
2b4ab675
better decribe bindings and list all the modifiers, was missing shift/control
Dana Jansens danakj@orodu.net
f9308410
add SendToDesktop to the comments. fix the type calling the Desktop action Desktops
Dana Jansens danakj@orodu.net
8a6a9710
use the number for sendtodesktop
Dana Jansens danakj@orodu.net
b6b514c4
rm a redundant actiondata struct
Dana Jansens danakj@orodu.net
2309520b
no //'s plz
Dana Jansens danakj@orodu.net
5c472be0
translate sendtodesktop actions
Dana Jansens danakj@orodu.net
36b90c32
use the top when snapping to the top
Dana Jansens danakj@orodu.net
56713e45
create the dirs for themes in ~/.openbox on startup
Dana Jansens danakj@orodu.net
b185f7d8
Add include path
Scott Moynes smoynes@nexus.carleton.ca
5b039d98
add focusing if clicked on the grips
Dana Jansens danakj@orodu.net
dbdb330a
use the bottom of the screen for botom snapping! :)
Dana Jansens danakj@orodu.net
a116f2c6
Menu data structures basically completed.
Need the engine support still, parser, and controllers.
Scott Moynes smoynes@nexus.carleton.ca
7f5514ae
rm the extra ;
Dana Jansens danakj@orodu.net
9d136ab7
add unshaderaise and shadelower actions from Mikachu
Dana Jansens danakj@orodu.net
f154f7b5
add a var to track errors
Dana Jansens danakj@orodu.net
475fb805
don't die when someone else has a key grabbed
Dana Jansens danakj@orodu.net
a61cecfe
add ToggleDecorations
Dana Jansens danakj@orodu.net
8ac5a603
rm client_disable_decorations.. it already had an action.
add the action to the action_from_string func
Dana Jansens danakj@orodu.net
8fb10d8d
add client_disable_decorations
Dana Jansens danakj@orodu.net
3e8ecbee
onlt raise the window when sending to a desktop it wasnt already on
Dana Jansens danakj@orodu.net
69177d87
FocusOut's are NOT ignored. thats bullshit. fixing comment.
Dana Jansens danakj@orodu.net
76943cdf
focus... works...? i have all cases of mozilla working, with RevertToPointerRoot sucking ass but.. working now.
Dana Jansens danakj@orodu.net
0fcd4c30
RevertToPointerRoot is the worse error case, so use it always
Dana Jansens danakj@orodu.net
4d65fe35
comment why NotifyAncestor is not ignored
Dana Jansens danakj@orodu.net
5895fa84
yet MORE focus events reworkings. mozilla behaves now too. woot
Dana Jansens danakj@orodu.net
cc813ed6
make the value boolean
Dana Jansens danakj@orodu.net
32808b53
more focus cleanups. ignored focusin's were not working right recursively.
also, when the focusin coming later is not for a valid window the fallback would not be called. both fixed.
Dana Jansens danakj@orodu.net
21442ab6
round down for size increments
Dana Jansens danakj@orodu.net
ca40e8b9
add resizing event
Dana Jansens danakj@orodu.net
1cbe8af5
resize resistance. size incs will fuck with it yet though.
Dana Jansens danakj@orodu.net
c3e80452
set lbutton from clicks
Dana Jansens danakj@orodu.net
663102cf
rm debug prints
Dana Jansens danakj@orodu.net
b749cd5e
was not moving the window between desktop focus lists sometimes. bad news. now i always do. yay!
Dana Jansens danakj@orodu.net
4bd18260
killa  debug print
Dana Jansens danakj@orodu.net
96a81e88
handle better the case of choosing the window to focus but it is already focused when switching desktops
Dana Jansens danakj@orodu.net
beb489fe
comment the new parameter
Dana Jansens danakj@orodu.net
92bea590
let a window be 'moved' to a new desktop without actually show/hiding it. useful for sending a window when following it, so theres no flash/flicker
Dana Jansens danakj@orodu.net
42bbf005
oops that worked before i borked it bad
Dana Jansens danakj@orodu.net
e1e3974c
frame is a pointer
Dana Jansens danakj@orodu.net
63bbbaef
dont die if a non-visible window is raised/lowered
Dana Jansens danakj@orodu.net
bb087efb
take borders into account for figuring clicks
Dana Jansens danakj@orodu.net
51c0c739
better prefix symbols to reduce clashes
Dana Jansens danakj@orodu.net
a5524747
ignore new shit
Dana Jansens danakj@orodu.net
883a38ee
split the render functions into obrender.c. rename all the src files to obfoo so no more conflicts with code elsewhere in the tree.
Dana Jansens danakj@orodu.net
66969a6b
make better?
Dana Jansens danakj@orodu.net
beb0fa81
use the new render interface, no area params for paint, rect in the struct instead
Dana Jansens danakj@orodu.net
ad406283
sync after focusing
Dana Jansens danakj@orodu.net
f8fb32b1
make these things one 'command' without braces
Dana Jansens danakj@orodu.net
3d6b970a
moved paint's arguments into the appearance struct
Derek Foreman manmower@gmail.com
69abb86c
dont lower below lower layers
Dana Jansens danakj@orodu.net
38c776bd
use the struts to size the window correctly for maximized windows
Dana Jansens danakj@orodu.net
91fed618
read struts properly
Dana Jansens danakj@orodu.net
175271a1
fix draw order in x_paint
Derek Foreman manmower@gmail.com
9a498534
black.  not white.  oops
Derek Foreman manmower@gmail.com
16b17599
black for parentrelative so we can test icons
Derek Foreman manmower@gmail.com
83508a2a
focus on middle click on client
Dana Jansens danakj@orodu.net
5e3ab28b
skip better
Dana Jansens danakj@orodu.net
1593473d
skip comments and empty lines
Dana Jansens danakj@orodu.net
e7d225b8
only use the initial_state shit when NOT starting and when managing the window
Dana Jansens danakj@orodu.net
045c4f03
rm a bunch of prints. make switching to an empty desktop not kill focus
Dana Jansens danakj@orodu.net
c7e818ab
dont focus !normal windows on enter events
Dana Jansens danakj@orodu.net
e094bd40
add send-tos with the mouse wheel
Dana Jansens danakj@orodu.net
ef3f83ca
free the themename properly
Dana Jansens danakj@orodu.net
fe2ec095
use the theme name only for the buttons dir
Dana Jansens danakj@orodu.net
c9d39edd
focus plugin is gone
Dana Jansens danakj@orodu.net
07a52aea
mor fabulous focus fixings.
RevertToNone so that when the fallback stuff goes the window wont already have focus cuz it has the pointer in to
Dana Jansens danakj@orodu.net
52d4433a
fallback focus in superior fashion
Dana Jansens danakj@orodu.net
6778db73
better var naming
Dana Jansens danakj@orodu.net
b23c66af
dont rm focus when i actually found something to fall back to with the pointer
Dana Jansens danakj@orodu.net
fe882632
parent relative for grips
Dana Jansens danakj@orodu.net
c3a2684e
watch for FocusIn's for unknown clients
Dana Jansens danakj@orodu.net
d54b8724
support parent relative titlebar elements
Dana Jansens danakj@orodu.net
6b52a86d
rm the focus plugin
Dana Jansens danakj@orodu.net
8e68958a
prep for parentrelative
Derek Foreman manmower@gmail.com
3139c3c7
missed the end of a comment
Dana Jansens danakj@orodu.net
bf32b376
handle focus in the kernel, no more plugin
Dana Jansens danakj@orodu.net
eee483bb
add code to fallback focus
Dana Jansens danakj@orodu.net
8cc7c8b4
focus a window on desktop switch
Dana Jansens danakj@orodu.net
047fe672
rm the focus plugin
Dana Jansens danakj@orodu.net
ebab4adb
add focus options
Dana Jansens danakj@orodu.net
2fc662aa
set the last time to CurrentTime for events that don't have time stamps
Dana Jansens danakj@orodu.net
e0170fe1
rm debug print
Dana Jansens danakj@orodu.net
1b20f591
use the right data when initially placing the frame. was fucking up the gravity calcs
Dana Jansens danakj@orodu.net
f29dd7e0
not using CurrentTime anywhere
Dana Jansens danakj@orodu.net
1d5fa24e
use CurrentTime again?
Dana Jansens danakj@orodu.net
78424735
bind C-g for the rset key
Dana Jansens danakj@orodu.net
4f101c1f
ungrab with currenttime
Dana Jansens danakj@orodu.net
106d5630
use the last event timestamp when focusing the focus_backup
Dana Jansens danakj@orodu.net
0d6bc131
negatives that work!
Dana Jansens danakj@orodu.net
6be319c2
document the options
Dana Jansens danakj@orodu.net
379ca159
better negatives
Dana Jansens danakj@orodu.net
e76057ec
allow negative numbers
Dana Jansens danakj@orodu.net
8055abe8
was reversing the keylist
Dana Jansens danakj@orodu.net
bb103dc0
subtract 1 from the given desktop number
Dana Jansens danakj@orodu.net
addbf691
make parsing more generic
Dana Jansens danakj@orodu.net
1fb5c4b5
free unused paths
Dana Jansens danakj@orodu.net
06f27af0
split up the relative functions.
make the parsing more generic, anything can have a string/numeric argument
Dana Jansens danakj@orodu.net
c473d5f8
remove an extraneous g_warning
Dana Jansens danakj@orodu.net
6d97bd51
split the relative functions
Dana Jansens danakj@orodu.net
46e54970
check for invalid keys properly
Dana Jansens danakj@orodu.net
dffe9600
comment that the relative move/resize amounts need to be set
Dana Jansens danakj@orodu.net
1a32ba56
split up the relative move/resize actions into horz/vert
Dana Jansens danakj@orodu.net
9eeb13ec
create actions from string names
Dana Jansens danakj@orodu.net
91ebde9e
load keybindings from keysrc
Dana Jansens danakj@orodu.net
59ad2e31
add exit/restart.
clarify which can be used for drag events
Dana Jansens danakj@orodu.net
b4d24116
dont let bind to actionexecute or desktop cuz they require a parameter
Dana Jansens danakj@orodu.net
f2a1e11e
dont let bind to actiondesktop
Dana Jansens danakj@orodu.net
a6d5d8bc
use the action_from_string helper
Dana Jansens danakj@orodu.net
68fdcde1
let a be null for action_free
Dana Jansens danakj@orodu.net
a6815038
use g_warning not printf
Dana Jansens danakj@orodu.net
ded198f7
properly restrict bindings for motion events
Dana Jansens danakj@orodu.net
f532a746
even beter
Dana Jansens danakj@orodu.net
2dc875f5
better comment parsing
Dana Jansens danakj@orodu.net
c0a69182
sep is not used any more
Dana Jansens danakj@orodu.net
01d92ca2
fix comment parsing
Dana Jansens danakj@orodu.net
232e0030
dont set fields if in a comment
Dana Jansens danakj@orodu.net
093c4cb7
kill the prints again for now
Dana Jansens danakj@orodu.net
d78f345b
rm the lex .c on clean
Dana Jansens danakj@orodu.net
ac735b64
dont print bad window errors
Dana Jansens danakj@orodu.net
cc844c57
put back map/unmap msgs
Dana Jansens danakj@orodu.net
9672ad0f
look for yacc
Dana Jansens danakj@orodu.net
d7b6c79c
fields must not start or end with '-'
Dana Jansens danakj@orodu.net
0c69d23c
dont let you got to numdesktops+1
Dana Jansens danakj@orodu.net
7c6c4984
rm the debug print
Dana Jansens danakj@orodu.net
a1e450ee
kill debug prints
Dana Jansens danakj@orodu.net
6d0b4012
XAllowEvents with a timestamp, otherwise we end up with a grab in place that we dont want
Dana Jansens danakj@orodu.net
b48c0e0b
oops
Dana Jansens danakj@orodu.net
f24116de
rm some debug prints
Dana Jansens danakj@orodu.net
059fa15a
use ungrab enter events
Dana Jansens danakj@orodu.net
135f1c61
add rgba icon support
Derek Foreman manmower@gmail.com
c0568cd7
rgba icon rendering
Derek Foreman manmower@gmail.com
e95cb2ac
add image.c to the build process
Derek Foreman manmower@gmail.com
fef5d0d9
use rgba icons for clients
Dana Jansens danakj@orodu.net
c9c72cbe
added "NoTexture" type
Derek Foreman manmower@gmail.com
634de719
document the options
Dana Jansens danakj@orodu.net
8470142e
only let bind Move and Resize to Drags
Dana Jansens danakj@orodu.net
9f064164
add the lexer
Dana Jansens danakj@orodu.net
647b4ff4
check for no client
Dana Jansens danakj@orodu.net
9b4c587c
filled out rgba
Derek Foreman manmower@gmail.com
2003bee6
set the position for all textures
Dana Jansens danakj@orodu.net
edf98ba1
parse a mouserc file for mouse bindings
Dana Jansens danakj@orodu.net
72ee5557
add new parsing shit
Dana Jansens danakj@orodu.net
3da09972
new output file from flex
Dana Jansens danakj@orodu.net
9eea0af2
wrong place
Dana Jansens danakj@orodu.net
37a9456f
usnig flex directly, renaming symbols so that theres no clash with other lexers
Dana Jansens danakj@orodu.net
a7ec81b7
look for flex
Dana Jansens danakj@orodu.net
5038e820
free the string for action_restart too
Dana Jansens danakj@orodu.net
2880e674
add a Rect to the textures for positioning them
Derek Foreman manmower@gmail.com
4840f7e8
print a warning when a module fails to open
Dana Jansens danakj@orodu.net
6401ceed
include appropriate header file for Rect
Derek Foreman manmower@gmail.com
384ba398
added position to the textures
Derek Foreman manmower@gmail.com
fede14d6
strdown the context name
Dana Jansens danakj@orodu.net
014384db
use names for mouse buttons, all case insensitive
Dana Jansens danakj@orodu.net
4f2696d3
case insensitive
Dana Jansens danakj@orodu.net
9be1d64d
dont change desktop when its out of range
Dana Jansens danakj@orodu.net
bcdef0b2
move the def'n of the KeyBindingTree
Dana Jansens danakj@orodu.net
95ffd99c
presses work when clicks dont on the frame around the titlebar..
Dana Jansens danakj@orodu.net
930891f1
translate "Control" and "Shift" for modifiers too
Dana Jansens danakj@orodu.net
5755a7a5
bettr font alignment, i think
Dana Jansens danakj@orodu.net
c8e55b8f
i fucked that one up
Dana Jansens danakj@orodu.net
e8a81e5a
add 'corner snapping' resistance
Dana Jansens danakj@orodu.net
c9a35f0b
typo
Dana Jansens danakj@orodu.net
5722e9e9
dont accept MapRequest's for !iconic windows
Dana Jansens danakj@orodu.net
bdf1662a
clarify using stacking_lower for restoring the stacking order
Dana Jansens danakj@orodu.net
d286702e
free the startup stacking order after using it
Dana Jansens danakj@orodu.net
e731042d
read in the stacking order on startup, and use it to restore windows back to the order they were in before
Dana Jansens danakj@orodu.net
990b74a4
dont change the stacking order hint while shuting down
Dana Jansens danakj@orodu.net
434ed8b0
add action.h for menu entries
Dana Jansens danakj@orodu.net
22be7458
you cant reference yourself as a type
Dana Jansens danakj@orodu.net
d56e90fa
use g_hash_table properly
Dana Jansens danakj@orodu.net
3443454f
Added some menu structure.
Scott Moynes smoynes@nexus.carleton.ca
3bbe8095
remove debug print
Dana Jansens danakj@orodu.net
c2684d31
make sure the ConfigureNotify is propogated even when there is no change
Dana Jansens danakj@orodu.net
c9ba6046
always send the event on a final configure even if there was no real move
Dana Jansens danakj@orodu.net
7beec94a
make sure windows which cant be moved or resized also can't be fullscreened
Dana Jansens danakj@orodu.net
0d84c43d
only configure the engine if something changed
Dana Jansens danakj@orodu.net
3fb9753f
proper height for shaded windows
Dana Jansens danakj@orodu.net
436c8557
only perform the actions necessary when performing an engine_adjust_area. pass whether the client has moved or resized
Dana Jansens danakj@orodu.net
2bdc37e9
double ptrs suck! yay shape!
Dana Jansens danakj@orodu.net
7567e3d7
handle shape events
Dana Jansens danakj@orodu.net
66dc1475
dont move/resize !normal windows
Dana Jansens danakj@orodu.net
44c55524
kill debug prints
Dana Jansens danakj@orodu.net
e238e4ac
kill debug print
Dana Jansens danakj@orodu.net
3b14b587
more focus improvements. everything seems to work!
Dana Jansens danakj@orodu.net
d82048b4
Time is declared in Xlib.h
Dana Jansens danakj@orodu.net
1dec895d
not.
Dana Jansens danakj@orodu.net
2bdccde5
focus seems to work when not remote too now
Dana Jansens danakj@orodu.net
137efd13
more focus fixes. i wish this could end.
Dana Jansens danakj@orodu.net
7bb829f8
no \n in g_message
Dana Jansens danakj@orodu.net
4a6e98ca
add restart and exit actions
Dana Jansens danakj@orodu.net
687559cb
yet more improvements to focus handling
Dana Jansens danakj@orodu.net
797d54d9
no enter events on decorations
Dana Jansens danakj@orodu.net
c3f9abaf
gl aint used yet
Dana Jansens danakj@orodu.net
4ec67b0a
export config values
Dana Jansens danakj@orodu.net
1560825d
dont need the bool
Dana Jansens danakj@orodu.net
6b79b47f
typo
Dana Jansens danakj@orodu.net
22f38541
make history placement optional
Dana Jansens danakj@orodu.net
cd32e79e
export its options and use them from the rc file
Dana Jansens danakj@orodu.net
77e09830
raise AND focus
Dana Jansens danakj@orodu.net
b52ec932
export focus options to the rc file
Dana Jansens danakj@orodu.net
f3153710
make the labels one bigger than the text on the top and bottom
Dana Jansens danakj@orodu.net
8fff73fa
seems to be better text placement than ever
Dana Jansens danakj@orodu.net
f2add3a5
found what seems to be a better vertical offset for the fonts
Dana Jansens danakj@orodu.net
12436b88
woops playing with the hash table left it in a half changed state here
Dana Jansens danakj@orodu.net
88097ba4
compare it to null like i do elsewhere
Dana Jansens danakj@orodu.net
d88f34e1
code optimization
Dana Jansens danakj@orodu.net
b18f5f1d
when adjusting the trasient lists, set them, dont leave them hanging into space
Dana Jansens danakj@orodu.net
fb893e8d
turn off all elements, would miss them randomly if titlebar was disabled before
Dana Jansens danakj@orodu.net
cf37170b
whitespace
Dana Jansens danakj@orodu.net
86a8d803
use gnew0 to make life easy
Dana Jansens danakj@orodu.net
5d7d6038
use the plugins' plugin_setup_config function
Dana Jansens danakj@orodu.net
5f44c45f
dont render gradients that are missing
Dana Jansens danakj@orodu.net
80c7f145
add the plugin_setup_config function
Dana Jansens danakj@orodu.net
fdf4265a
kill debug print
Dana Jansens danakj@orodu.net
e7e2a69f
handle multiple maprequests graciously
Dana Jansens danakj@orodu.net
08a70966
oops
Dana Jansens danakj@orodu.net
d1de946a
move windows when the number of desktops changes and they arent on a desktop anymore
Dana Jansens danakj@orodu.net
b2c508d9
set focus_order back to null on shutdown so g_renew would work
Dana Jansens danakj@orodu.net
6adb3d44
add more size checks
Dana Jansens danakj@orodu.net
39946832
rm the themerc stuff
Dana Jansens danakj@orodu.net
85238a1e
rm themerc.[ch]
Dana Jansens danakj@orodu.net
d8268296
better parsing errors
Dana Jansens danakj@orodu.net
9ff6ea27
load config values right. load the bool shadow option too now.
Dana Jansens danakj@orodu.net
6cebd348
add booleans
Dana Jansens danakj@orodu.net
ddb5d43e
properly parse comments!
parse booleans
Dana Jansens danakj@orodu.net
0f25fd6f
no \n in g_message
Dana Jansens danakj@orodu.net
3cc402bd
add descriptive names and long descriptions to config var def'ns. set these for the kernel config options.
Dana Jansens danakj@orodu.net
30260ef6
make the default font Sans-7
Dana Jansens danakj@orodu.net
5bf68f76
make the openbox engine use the new config shit instead of the themerc shit.
order te startup so that plugins can set up their config shit before parsing the config, then the config is parsed, engine is loaded, and finally the plugins are officially started.
Dana Jansens danakj@orodu.net
4cc0d9b7
only load the system rc if the user rc didnt load
Dana Jansens danakj@orodu.net
9f68b120
load the engine out of the config shit. tho the ordering is fucked atm
Dana Jansens danakj@orodu.net
93783c2a
parse lines that start with '#' as comments
Dana Jansens danakj@orodu.net
2b1a11c6
let identifiers have '.' in them
Dana Jansens danakj@orodu.net
799fe5a8
give the filename to the parser for errors
Dana Jansens danakj@orodu.net
a26cd30b
remove debug print
Dana Jansens danakj@orodu.net
e5be9ad6
yah. fuck
Dana Jansens danakj@orodu.net
8b02e6b5
add a check for adding the same exact def'n twice
Dana Jansens danakj@orodu.net
94f2b4a7
config system fleshed out. many thanks to woodlbock for his code! yay!
Dana Jansens danakj@orodu.net
ce7aa15d
add const and inline checks for the compiler
Dana Jansens danakj@orodu.net
84a4e2ba
ignore cparse.c
Dana Jansens danakj@orodu.net
53882f76
didnt belong
Dana Jansens danakj@orodu.net
56dc0446
start the config system, add the config file parser
Dana Jansens danakj@orodu.net
4502cad5
check for stdio.h
Dana Jansens danakj@orodu.net
ff06051e
asserts in unmanage to try track a crash
Dana Jansens danakj@orodu.net
a5b371cf
blef
Dana Jansens danakj@orodu.net
9b514b3b
add the client_kill function, and the kill action, and bind it to the middle mouse button on the close button.
Dana Jansens danakj@orodu.net
d59db115
fix the ebox root cmd
Dana Jansens danakj@orodu.net
4a2a4aa9
add the ebox style
Dana Jansens danakj@orodu.net
3f0e69b8
add the buttons for the fieron theme
Dana Jansens danakj@orodu.net
96c8b7cc
add the buttons for the fieron2 theme
Dana Jansens danakj@orodu.net
4135ceb6
cast the pixmap data to a char* for the pixmap_mask_new
Dana Jansens danakj@orodu.net
74256472
load bitmap button masks for themes
Dana Jansens danakj@orodu.net
c3628a36
history placement works. loads. saves. woot.
Dana Jansens danakj@orodu.net
63360f74
look for sys/stat.h
Dana Jansens danakj@orodu.net
2487e74d
move and resize the plate window at the same time
Dana Jansens danakj@orodu.net
0a9ef759
make the shadow offset 1
Dana Jansens danakj@orodu.net
78aa056e
make the ~/.openbox dir on startup
Dana Jansens danakj@orodu.net
dd6e27f2
rename the res_name and res_class members to name and class
Dana Jansens danakj@orodu.net
ba1e0615
dont raise on client clicks
Dana Jansens danakj@orodu.net
a2ffabb1
use $(datadir)
Dana Jansens danakj@orodu.net
b7b4abe0
install the menu in $(datadir)
build from $(srcdir)/menu.in
Dana Jansens danakj@orodu.net
1565ef4f
use the SED command
Dana Jansens danakj@orodu.net
0a69cfc6
add strict ansi compliance
Dana Jansens danakj@orodu.net
b10548f0
find sed
Dana Jansens danakj@orodu.net
0603b502
clean up configure.ac a bit
Dana Jansens danakj@orodu.net
b7c583cd
rm the c/Makefile
Dana Jansens danakj@orodu.net
e103f90c
look for kernel/openbox.c instead of src/main.cc
Dana Jansens danakj@orodu.net
ff97498e
include gettext.h from the right place
Dana Jansens danakj@orodu.net
ab44e44a
ignore the openbox3 binary
Dana Jansens danakj@orodu.net
624d277f
build 'openbox3' instead of 'ob3'
Dana Jansens danakj@orodu.net
359ef290
build the binary called 'openbox3'
Dana Jansens danakj@orodu.net
b2babc8b
rm the obsetroot tool and the wrap shit from swig
Dana Jansens danakj@orodu.net
a52a6d96
rm the old code including the .pys and the c++ shit
Dana Jansens danakj@orodu.net
a36c7543
rm the python api docs
Dana Jansens danakj@orodu.net
327a0b3d
always adjust the frames size and position together, so there is no more weird resizing before moving and edge flickering when resizing from the top/left
Dana Jansens danakj@orodu.net
a822cbe1
dont focus anything in the kernel from showing-the-desktop mode
Dana Jansens danakj@orodu.net
c5e902a7
focus windows when entering/leaving enter-the-desktop mode
Dana Jansens danakj@orodu.net
00123383
add an xlock binding
Dana Jansens danakj@orodu.net
90cc2b2b
better comment for Event_Client_Moving
Dana Jansens danakj@orodu.net
178fdf25
choke on invalid options on the cmd line
Dana Jansens danakj@orodu.net
94d871a3
dont check for != NULL before freeing. pointless.
Dana Jansens danakj@orodu.net
d4601cd0
don't check for != NULL before freeing. pointless
Dana Jansens danakj@orodu.net
d33dce48
defn vars at the top of funcs
Dana Jansens danakj@orodu.net
cd1694cd
dont reposition windows who know what they want
Dana Jansens danakj@orodu.net
9a4ccc91
add the client_set_focused function.
make focus state be changed internally immediately after calling the X functions to make it so, basically, assume their success. this elimiates races all over the place with our state vs the server's state.
Dana Jansens danakj@orodu.net
5034073d
use the client_set_focused function when getting FocusIn/Out events
Dana Jansens danakj@orodu.net
a3c9271c
init the focus_client ptr in startup
Dana Jansens danakj@orodu.net
b3507a09
dont focus !normal clients under the mouse
Dana Jansens danakj@orodu.net
0cb6f812
dont use the client's colormap if it is set to None!
Dana Jansens danakj@orodu.net
c2cbef62
add a dispatched event for interactively moving a window.
move window snapping/resistance out of the kernel.
make the action_move dispatch the new event.
Dana Jansens danakj@orodu.net
1c7c9461
rm debug print
Dana Jansens danakj@orodu.net
c9510275
optimization!
Dana Jansens danakj@orodu.net
00d8c8d3
syntax error!
Dana Jansens danakj@orodu.net
921a711d
don't snap to non-visibles
Dana Jansens danakj@orodu.net
1418e9ed
dont snap to self
Dana Jansens danakj@orodu.net
23ee7b9a
rm the edge_resistance option.. just dont load the plugin!
Dana Jansens danakj@orodu.net
dabcb558
make the event function static!
Dana Jansens danakj@orodu.net
34ab5a1f
add a window resistance plugin
Dana Jansens danakj@orodu.net
1f8f4ffe
rename event() to place_event()
Dana Jansens danakj@orodu.net
6216c4be
rename event() to place_event()
Dana Jansens danakj@orodu.net
39046996
snap window-to-window
Dana Jansens danakj@orodu.net
05e9cb73
focus new windows
Dana Jansens danakj@orodu.net
a3012eaf
rm debug prints
Dana Jansens danakj@orodu.net
b23c6536
rm debug print
Dana Jansens danakj@orodu.net
db75d406
rm the focused member from the client struct, it was redundant with the focus_client variable around
Dana Jansens danakj@orodu.net
ca45916f
update engine last for focus events
Dana Jansens danakj@orodu.net
0edc14a4
set up the history place stuff's files
Dana Jansens danakj@orodu.net
a648c05a
kill the c dir
Dana Jansens danakj@orodu.net
474f6891
start and stop the history plugin
Dana Jansens danakj@orodu.net
d38855a0
dont set the restart path to "", load the placement plugin
Dana Jansens danakj@orodu.net
7287ae73
dont skip enter events
Dana Jansens danakj@orodu.net
29e37486
add a window placement plugin
Dana Jansens danakj@orodu.net
eb6ef353
disable warping on desk switch
Dana Jansens danakj@orodu.net
6cb4d8bc
skip events more smarter
Dana Jansens danakj@orodu.net
4f427471
kill all enter events on a desktop switch
Dana Jansens danakj@orodu.net
e8ed8b3c
show windows before hiding when switching desktops
Dana Jansens danakj@orodu.net
0a2aa089
alt bindings
Dana Jansens danakj@orodu.net
d2b4e7dd
skipping the right number of enters now i think
Dana Jansens danakj@orodu.net
bb742742
skip all enter events for now.. need a clever tactic for this..
Dana Jansens danakj@orodu.net
35c09501
add -help -version -sync and -rc cmd line options
Dana Jansens danakj@orodu.net
17cc975c
add the binary and urls to the Makefile and -D's
Dana Jansens danakj@orodu.net
bf707e72
add RECT_CONTAINS
Dana Jansens danakj@orodu.net
45f6d527
save decor and functions per client for fullscreening!
Dana Jansens danakj@orodu.net
f76b26e4
lock the size/position of maximized and fullscreen clients
Dana Jansens danakj@orodu.net
2725bb5d
fallback super intelligently with focus when the focused
Dana Jansens danakj@orodu.net
ba2c6a23
lock the position/size of maximized windows
Dana Jansens danakj@orodu.net
87582714
restart and catch errors appropriately
Dana Jansens danakj@orodu.net
26f66bc9
init the GError to NULL
Dana Jansens danakj@orodu.net
396d559b
can restart now
Dana Jansens danakj@orodu.net
de307661
added depth reduction and startup for true color visuals
16bpp should now work
Derek Foreman manmower@gmail.com
c1e69912
restart will work soon
Dana Jansens danakj@orodu.net
6321d286
no \n in g_messages
Dana Jansens danakj@orodu.net
44889c3c
MapRequest needs to activate the window
Dana Jansens danakj@orodu.net
515f8d87
dont raise the window on a titlebar drag either
Dana Jansens danakj@orodu.net
1588c852
add a drag threshold
Dana Jansens danakj@orodu.net
e442c6cc
snap windows when moving them
Dana Jansens danakj@orodu.net
5b5ab040
add code for snapping windows to screen edges
Dana Jansens danakj@orodu.net
029f35d6
use the grab.h funcs to grab keys and buttons
Dana Jansens danakj@orodu.net
bcca5bb9
add funcs to grab buttons and keys
Dana Jansens danakj@orodu.net
080b36cf
export the NumLock and ScrollLock masks
Dana Jansens danakj@orodu.net
89142ea6
dont need a mask_list here
Dana Jansens danakj@orodu.net
fd9dc6f9
grab all lock keys
Dana Jansens danakj@orodu.net
32a17b31
fewer context lookups
Dana Jansens danakj@orodu.net
90e65413
break, dont return
Dana Jansens danakj@orodu.net
0c16988d
add code to make net_active_window events work
Dana Jansens danakj@orodu.net
75ee81d9
add focusraise
Dana Jansens danakj@orodu.net
78e64a0a
add click on client binding. XAllow when clicking on the client
Dana Jansens danakj@orodu.net
d42335e5
put the comment where it belongs
Dana Jansens danakj@orodu.net
4fbc127a
on shutdown: destroy the net support window. clear a few more properties we dont want across restart. select NoEventMask on root.
Dana Jansens danakj@orodu.net
16787d0a
oops
Dana Jansens danakj@orodu.net
152c638e
destroy the focus_backup
Dana Jansens danakj@orodu.net
bd9846e6
erase the openbox_pid hint on the root window when we shutdown
Dana Jansens danakj@orodu.net
a7705024
all the old ob2 mouse bindings are workin
Dana Jansens danakj@orodu.net
9ca9bcc1
add mbinds for shading windows on the titlebar
Dana Jansens danakj@orodu.net
4732930e
ignore !normal crossing events
Dana Jansens danakj@orodu.net
5c53055e
simply out the events we dont need no more
Dana Jansens danakj@orodu.net
49a70012
free the right pixel data yay!
Dana Jansens danakj@orodu.net
4ee425c1
free the pixel data
Dana Jansens danakj@orodu.net
59be9ae1
start with 0 desktops, so the focus_order stuff all gets initialized properly
Dana Jansens danakj@orodu.net
8428becf
the focus_order shit is init'd by the screen_startup setting the number of desktops
Dana Jansens danakj@orodu.net
9a5f1d7b
shutdown everything before closing the display
Dana Jansens danakj@orodu.net
c95a4e60
can fit on one line
Dana Jansens danakj@orodu.net
7bd74738
initialize texture to NULL if theres no textures. use g_memdup to copy it
Dana Jansens danakj@orodu.net
4bceaaf1
comment what funcs is
Dana Jansens danakj@orodu.net
0a855f3e
close the channel by unref'ing it
Dana Jansens danakj@orodu.net
60cbb9ee
kill the const, use g_new instead of malloc, g_free the font in font_close()
Dana Jansens danakj@orodu.net
a7582969
kill the const
Dana Jansens danakj@orodu.net
812b9b03
clean up comments regarding alpha
Dana Jansens danakj@orodu.net
ff39eb9b
strdup the database string, dont return it directly
Dana Jansens danakj@orodu.net
ef43db32
rm the comments pointer bindings stuff, thats in a plugin now
Dana Jansens danakj@orodu.net
b3817126
add new windows to the back of the focus order list
Dana Jansens danakj@orodu.net
648c55b8
move the focus_order lists into the kernel
Dana Jansens danakj@orodu.net
597fad9d
add focus actions
Dana Jansens danakj@orodu.net
7ea5ffea
add sloppy focus
Dana Jansens danakj@orodu.net
917c5c93
add sloppy focus
Dana Jansens danakj@orodu.net
6d400ac0
end drags
Dana Jansens danakj@orodu.net
e4fe6da4
dont clean up nulls
Dana Jansens danakj@orodu.net
83e86fa0
not using the KeyAction stuff no more
Dana Jansens danakj@orodu.net
4bcd03b2
mouse and key bindings plugins work. segfault somewhere still on shutdown
Dana Jansens danakj@orodu.net
51b93d9c
reset focus to root before exiting
Dana Jansens danakj@orodu.net
33a6fde9
ignore shit
Dana Jansens danakj@orodu.net
fa405398
add the mouse plugin
Dana Jansens danakj@orodu.net
6dd06740
grab the keyboard not the server!
Dana Jansens danakj@orodu.net
838f76cd
use the grab_server function
Dana Jansens danakj@orodu.net
7d215bd2
add 'grab_server' for grabbing .. the .. server!
Dana Jansens danakj@orodu.net
598c5d6c
provide functions for grabbing and ungrabbing the keyboard and pointer
Dana Jansens danakj@orodu.net
3dfe9f4e
set the log domain for each plugin properly
Dana Jansens danakj@orodu.net
65abaf0d
warp the pointer on a workspace change to the focused window
Dana Jansens danakj@orodu.net
a91a6f97
kill some whitespace
Dana Jansens danakj@orodu.net
77a46782
kill a comment
Dana Jansens danakj@orodu.net
20a5dd47
focus fallback works when nothing is focused
Dana Jansens danakj@orodu.net
77bd0166
dont set the focused client if it's already set
Dana Jansens danakj@orodu.net
6e29605d
send the right client for unfocus events
Dana Jansens danakj@orodu.net
002bf5e7
send unfocus events after focus events
Dana Jansens danakj@orodu.net
d4c1ed1e
generic domain
Dana Jansens danakj@orodu.net
ad44e8a7
add actions for key/mouse bindings etc
Dana Jansens danakj@orodu.net
a86421d7
add the new objects
Dana Jansens danakj@orodu.net
739c958a
keyboard bindings are functional
Dana Jansens danakj@orodu.net
eeba4572
dont need process.h, yay glib
Dana Jansens danakj@orodu.net
9c0fc100
add process.h
Dana Jansens danakj@orodu.net
c5789fea
add cvsignores
Dana Jansens danakj@orodu.net
bfea000a
add a keyboard plugin
Dana Jansens danakj@orodu.net
9185ca5c
focus new windows and focus windows on workspace change
Dana Jansens danakj@orodu.net
4ed3fb89
plugins work.
start a focus plugin.
Dana Jansens danakj@orodu.net
cb73f209
dont put \n's at the end of g_message
Dana Jansens danakj@orodu.net
46322435
use the render depth/visual for creating windows
Dana Jansens danakj@orodu.net
b8de0b48
use the dispatch stuff to get mouse button events
Dana Jansens danakj@orodu.net
8886f110
make sure theres always a client for client events
Dana Jansens danakj@orodu.net
ccc5f020
oops missing a */
Dana Jansens danakj@orodu.net
21c1cd4c
fix comments
Dana Jansens danakj@orodu.net
df3d926c
rming almost all the old python stuffs
Dana Jansens danakj@orodu.net
75b07a2b
all events are dispatched
Dana Jansens danakj@orodu.net
033bd73e
kill the debug print
Dana Jansens danakj@orodu.net
7abaa532
add the plugins dir
Dana Jansens danakj@orodu.net
9b33f7de
stop using python internally. add an event dispatcher
Dana Jansens danakj@orodu.net
055b459c
add the headers
Dana Jansens danakj@orodu.net
fbdd3764
kill the timestamps
Dana Jansens danakj@orodu.net
453cbbf9
my rant..
Dana Jansens danakj@orodu.net
0c2f9567
pass the x,y,w,h to font_draw.
draw the text in the "right" place for now.. no justification yet
Dana Jansens danakj@orodu.net
6abd9fe8
set the size of the label properly
Dana Jansens danakj@orodu.net
9a2699fa
place at 0,0 if the window is too big
Dana Jansens danakj@orodu.net
a4838c74
measure the font's height instead of listening to Xft
Dana Jansens danakj@orodu.net
5d62948c
*** empty log message ***
Dana Jansens danakj@orodu.net
698b9a09
dont skip ungrab corssing events
Dana Jansens danakj@orodu.net
577038b2
if the window is as big/bigger than the screen with random placement, place it at (0,0)
Dana Jansens danakj@orodu.net
32ec1d1e
solids should now work with offsets
Derek Foreman manmower@gmail.com
6bcd6ddd
add keybinds for switching workspaces
Dana Jansens danakj@orodu.net
46e2060f
more random pokery
Derek Foreman manmower@gmail.com
4b9556c0
use the unfocused label when not focused
Dana Jansens danakj@orodu.net
e659f955
either offsets work, or I've broken lots of things.
Derek Foreman manmower@gmail.com
a0a55d57
pass x,y to paint()
Dana Jansens danakj@orodu.net
ab68bcfb
more changes wrt passing x, y, w, h to render
Derek Foreman manmower@gmail.com
fdabd3da
paint gets more parameters
Derek Foreman manmower@gmail.com
e9a7fc91
apparently my variable names were too verbose.
Derek Foreman manmower@gmail.com
31475076
offsets in planar surfaces
Derek Foreman manmower@gmail.com
1fae0f4d
declare variables first!
Dana Jansens danakj@orodu.net
2870457b
decalre variables before code!
Dana Jansens danakj@orodu.net
7f561a6a
make client_showhide a static function
Dana Jansens danakj@orodu.net
216a04bd
speed up workspace switching by causing the minimal number of expose events (none for the hiding windows!)
Dana Jansens danakj@orodu.net
432ac098
give engines mouse event notifications. make the openbox engine display pressed buttons
Dana Jansens danakj@orodu.net
9a3459e9
get rid of the 'sep' variable
Dana Jansens danakj@orodu.net
5270b1dd
replaced one too many bevels
Dana Jansens danakj@orodu.net
9dc2a917
properly layout the titlebar, with proper separatation
Dana Jansens danakj@orodu.net
b6ad1076
load and set the titles justification
Dana Jansens danakj@orodu.net
3cb562fe
added justification to textureText
Derek Foreman manmower@gmail.com
9c2b0666
kill some whack extra whitespace
Dana Jansens danakj@orodu.net
3b0b41ba
pixmap button masks work (hardcoded)
Dana Jansens danakj@orodu.net
26a3563a
dont need those includes no more
Dana Jansens danakj@orodu.net
f1db2721
in keeping with my tradition of committing untested code, here is the
pixmap mask rendering code ported from the old otk dirs
Derek Foreman manmower@gmail.com
57314ce5
move pixmap_mask typedef
add stub for draw_mask
Derek Foreman manmower@gmail.com
b824e6ad
add funcs to create/free pixmap_masks
Dana Jansens danakj@orodu.net
14f17c96
add glib.h for guint
Dana Jansens danakj@orodu.net
05145e15
include Xlib.h for Pixmap
Dana Jansens danakj@orodu.net
5f5b45a9
add mask.[ch]
Dana Jansens danakj@orodu.net
1f63f7b3
add a struct for pixmap masks
Dana Jansens danakj@orodu.net
cce97081
hack so text shows up
Derek Foreman manmower@gmail.com
3232247b
dont delete the pixmap until after changeing the visible one
Dana Jansens danakj@orodu.net
717c0fa6
trying to render text!
Dana Jansens danakj@orodu.net
1f289469
add missing include, pass right args to font_draw
Derek Foreman manmower@gmail.com
f8ad321e
malloc.  yeah.
Derek Foreman manmower@gmail.com
bb3e654e
will draw fonts when stop segging
Dana Jansens danakj@orodu.net
9b1943f1
copy textures in appearance_copy
Derek Foreman manmower@gmail.com
8c8c40e2
try to render fonts
destroy pixmaps and xftdraws in appearance_delete
Derek Foreman manmower@gmail.com
4672adbf
font changes
Derek Foreman manmower@gmail.com
99b226f3
remove printf and stdio.h
Derek Foreman manmower@gmail.com
88a8bc41
add font_draw
Derek Foreman manmower@gmail.com
ea8d450e
add font_draw
move font def'n to render.h
Derek Foreman manmower@gmail.com
7f590e53
pointer's variables are config vars
Dana Jansens danakj@orodu.net
74c683ee
font.h and font.c
Derek Foreman manmower@gmail.com
9ecdf13b
added font_startup
Derek Foreman manmower@gmail.com
6682d070
filled out font texture
Derek Foreman manmower@gmail.com
aa68e45b
added some font stuff
Derek Foreman manmower@gmail.com
f8a47de5
merge the C branch into HEAD
Dana Jansens danakj@orodu.net
8ba0586b
use the new config system.. a bit..
Dana Jansens danakj@orodu.net
feaf3ac4
time to refactor shit hard
Dana Jansens danakj@orodu.net
1dac42d9
catch button presses on the client border (the plate's border)
Dana Jansens danakj@orodu.net
d2a893c0
make the version printf just a debug message
Dana Jansens danakj@orodu.net
2df4d8c7
map to the highest possible desktop if a desktop too large is requested
Dana Jansens danakj@orodu.net
fb1c1a81
only map on a requested desktop if its not out of range
Dana Jansens danakj@orodu.net
c29a1f14
nick's no longer the site designer
Dana Jansens danakj@orodu.net
11184551
add mention of being OSI Certified Open Source Software
Dana Jansens danakj@orodu.net
296dacb0
Added the much sought after horizontal gradient
Derek Foreman manmower@gmail.com
2ffeaf1e
labels are higher than buttons too
Dana Jansens danakj@orodu.net
89a5c973
surface's have a size not a width()/height()
Dana Jansens danakj@orodu.net
65e91ac3
labels are not the size of buttons
Dana Jansens danakj@orodu.net
dfd3f12c
make labels' parent relative actually work :>
Dana Jansens danakj@orodu.net
1e47e17d
make parentrelative decorations work
Dana Jansens danakj@orodu.net
04494f10
dont assume only 5 mouse buttons.
dont need to track them all either, kill the queue, and watch one at a timesmarter
Dana Jansens danakj@orodu.net
299f7ad2
position is a function
Dana Jansens danakj@orodu.net
56d2f942
position relative to the window properly
Dana Jansens danakj@orodu.net
d2a1ecb1
let any number of mouse buttons work
Dana Jansens danakj@orodu.net
d647de97
add the new '-remote' option. let the dispatchEvents loop work in 'local' or 'remote' mode.
Dana Jansens danakj@orodu.net
d8429b31
add new options for placement of the motion coords popup.
use a parentless label.
Dana Jansens danakj@orodu.net
cf977332
use the new desktopNames()
Dana Jansens danakj@orodu.net
0a93178b
let you create a parentless label
Dana Jansens danakj@orodu.net
b3a87e3a
a few optimizations to layouts/rendering
Dana Jansens danakj@orodu.net
503638db
typo!
Dana Jansens danakj@orodu.net
781495e2
oops messed up centered
Dana Jansens danakj@orodu.net
14813743
add a POPUP_CENTERED option
Dana Jansens danakj@orodu.net
ed55720b
make the highlighted button high a white border
Dana Jansens danakj@orodu.net
21999227
make button text white in the default style
Dana Jansens danakj@orodu.net
a1a606d4
watch for case where we think one button is pressed but it isnt anymore, making Click events get missed
Dana Jansens danakj@orodu.net
ccb58d37
adjust to the new format for otk::Proeprty::get() functions (no nelements)
let the user specify if it is a 'final' move for a window or not, and the client will only be sent a ConfigureNotify if it is.
Dana Jansens danakj@orodu.net
232092fa
provide a function to return all the desktop names instead of one at a time.
adjust to the new format for otk::Proeprty::get() functions (no nelements)
Dana Jansens danakj@orodu.net
60cd451a
keep track of if the move is the final move or not, and pass it along
Dana Jansens danakj@orodu.net
109c5896
focus does not return anything now, cuz its just the function which sends a focus event
Dana Jansens danakj@orodu.net
3c82ae88
screeninfo and display are no more
Dana Jansens danakj@orodu.net
ec575f22
use the new sexy additions to the python classes
Dana Jansens danakj@orodu.net
971e227b
set teh xinerama stuff even when not compiled with the xinerama extension so code can use it always
Dana Jansens danakj@orodu.net
3f80d431
swig cares about (void) it seems :\
Dana Jansens danakj@orodu.net
729506e1
calcDefaultSizes is protected
Dana Jansens danakj@orodu.net
bc8d855b
use "fixed" as the fallback font always
Dana Jansens danakj@orodu.net
59d51998
rename getRenderControl to the more precise createRenderControl
Dana Jansens danakj@orodu.net
b9a7d8f9
nelements is not passed anymore, its simply a return value. get() will grab the entire property.
Dana Jansens danakj@orodu.net
590e5e23
nelements is not passed anymore, its simply a return value
Dana Jansens danakj@orodu.net
2f95a7e0
'final' cleanup for the new otk wrapper .i's
Dana Jansens danakj@orodu.net
45341519
split up the otk stuff into separate files.
wrap otk::Property properly with typemaps so that it is usable.
wrap otk::Timer properly so that you can use it with a python callback
Dana Jansens danakj@orodu.net
1741bdde
only return as many as was requested
Dana Jansens danakj@orodu.net
956ada07
oops nevermind
Dana Jansens danakj@orodu.net
3de18ef7
prevent people from using timers except as pointers
Dana Jansens danakj@orodu.net
3240c1d9
check for no screens before asserting
Dana Jansens danakj@orodu.net
916b58f9
ignore NUM values in enums
Dana Jansens danakj@orodu.net
fbfa2798
dont need preprocessor shit for swig
Dana Jansens danakj@orodu.net
8bf56a28
allocate colors right away instead of delaying it, since they get allocated out of the rendercontrol, and it will never fail.
Dana Jansens danakj@orodu.net
716ab805
remove some include/import we dont need.
include all the headers we do need before each code fragment
Dana Jansens danakj@orodu.net
c217a730
split the ob module into separate .i's
cleanly define the interface, add functions for modifying the objects (via client messages)
Dana Jansens danakj@orodu.net
0dd7ebcb
add support for the openbox_restack_window message.
use the state_add/remove/toggle values from otk::Property::atoms
Dana Jansens danakj@orodu.net
c15dced3
this has been moved to wrap/
Dana Jansens danakj@orodu.net
dee0170b
add openbox_restack_window, and the state_add/remove/toggle values
Dana Jansens danakj@orodu.net
b3879a23
s/False/false/
Dana Jansens danakj@orodu.net
c6930ae2
rm the SWIG ifdefs
Dana Jansens danakj@orodu.net
36130371
kill the typedef
Dana Jansens danakj@orodu.net
d2adccbe
80 cols
Dana Jansens danakj@orodu.net
a7d17188
return a Python list of Client*'s when a std::list<Client*> is returned
Dana Jansens danakj@orodu.net
5fc7db1c
allow cycling without a modifier in the binding
Dana Jansens danakj@orodu.net
31d41a7a
defualt START_WITH_NEXT to true for desktops too
Dana Jansens danakj@orodu.net
671230f8
add the new cycle module with super snazzy new Cycle classes. yay KatanaLynx!
Dana Jansens danakj@orodu.net
136c9c07
support for pixmap icons, kwm_win_icon and the icon in wmhints
Dana Jansens danakj@orodu.net
0c2f0e0b
keep track of the kwm_win_icon property
Dana Jansens danakj@orodu.net
42fbb46a
add the kwm_win_icon atom
Dana Jansens danakj@orodu.net
6354e771
cleanup
Dana Jansens danakj@orodu.net
93ea4c4d
supply more information about errors when running scripts
Dana Jansens danakj@orodu.net
16a952c3
adjust how the config is loaded. it is not loaded at all during the screen's constructor, it is loaded afterwards and applied, but before windows are managed
Dana Jansens danakj@orodu.net
893faed7
order things to work correctly for now, with the python loading and the the config setting
Dana Jansens danakj@orodu.net
2cbb95c3
change the default titlebar layout
Dana Jansens danakj@orodu.net
5cd8680f
make them const
Dana Jansens danakj@orodu.net
dfe7f46b
provide == and != for DialogButtons
Dana Jansens danakj@orodu.net
c8789ccd
execute files such that i can track if an exception was thrown in it
Dana Jansens danakj@orodu.net
8ed79248
when python_exec fails on user.py:
  a) remove all the bindings
  b) exec defaults.py
  c) show a dialog message
Dana Jansens danakj@orodu.net
8cbabdcb
import the config module properly.
shit all over stderr and exit when something from the config module couldn't be loaded
Dana Jansens danakj@orodu.net
bb4990af
dont wrap pointerassassin
Dana Jansens danakj@orodu.net
8269fc2b
set the gravity to center the dialog.
size it off the minSize which is already calculated, not off the size() with is nto
Dana Jansens danakj@orodu.net
e07ea848
only fire the clickHandler if the button is released with the cursor over it
Dana Jansens danakj@orodu.net
bbd9cb99
rm the warnings for now
Dana Jansens danakj@orodu.net
cee0482c
make DialogButtons take char*'s meaning that the label will always be Utf-8
Dana Jansens danakj@orodu.net
213df281
only hide the dialog if a default button exists when enter is hit
Dana Jansens danakj@orodu.net
c71738f3
let you .focus() a messagedialog
Dana Jansens danakj@orodu.net
010e12c4
only show() if the dialog is not already visible
Dana Jansens danakj@orodu.net
7a41f773
add otk::MessageDialog
Dana Jansens danakj@orodu.net
f325abe4
use the current size, which will get capped by max/mins
Dana Jansens danakj@orodu.net
33e87b39
dont forget borders/bevels
Dana Jansens danakj@orodu.net
afe1d9e3
still draw the background when no text will fit
Dana Jansens danakj@orodu.net
c7d4901f
set the style
Dana Jansens danakj@orodu.net
532697b2
put the desktop names in the right variable
Dana Jansens danakj@orodu.net
a89166a1
cleaner while loop
Dana Jansens danakj@orodu.net
73a58498
Fixed a bug in grab handling for chains
(wasn't updating _grabbed or the current binding tree position in some cases)
Derek Foreman manmower@gmail.com
fd766894
dont provide a default icon in the python stuff, itll come from the style
Dana Jansens danakj@orodu.net
d2dcef46
initialize _font
Dana Jansens danakj@orodu.net
7fe3301e
Add the "obsetroot" tool. Use it to set the root background.
Dana Jansens danakj@orodu.net
299dc47a
rm shit that no longer applies
Dana Jansens danakj@orodu.net
f65e21ce
use ctdio
Dana Jansens danakj@orodu.net
0d59a002
sync before changing the ignore_errors state
Dana Jansens danakj@orodu.net
e3f6e0ff
make reduceDepth set the im->data member, with newly allocated data, so the pixelData in the surface isn't reduced
Dana Jansens danakj@orodu.net
53b5c60a
check if the window is focused before unfocusing it
Dana Jansens danakj@orodu.net
7393a17b
use the same alogo to pick a color in allocateColor as in reduceDepth, break it off into an inline function.
Dana Jansens danakj@orodu.net
f78761c8
just because we think we're focused doesnt mean we actually are, so send the focus change to the xserver anyways.
Dana Jansens danakj@orodu.net
4a90b1b4
better default icon, same thing, placed better
Dana Jansens danakj@orodu.net
29d030cc
use an icon smaller than the surface if possible
Dana Jansens danakj@orodu.net
0b466d71
kill debug prints
Dana Jansens danakj@orodu.net
01a37dfe
allocate colors in pseudocolor from the map we allocate in the rendercontrol
Dana Jansens danakj@orodu.net
49974f69
dont put DEBUG: in the printf
Dana Jansens danakj@orodu.net
50002f2c
add a default icon
Dana Jansens danakj@orodu.net
e936cba5
rm debug print
Dana Jansens danakj@orodu.net
2f2d6e73
layout the titlebar right, was adding too much space when buttons were removed from the titlebar
Dana Jansens danakj@orodu.net
059bc4dc
add a Config class with config data from the scripts.
set up the functions for loading a style from a file.
use the Config class throughout instead of reading out of the python namespace all the time.
Dana Jansens danakj@orodu.net
1431cd19
8bpp pseudo color.  it's horrid code.  the graphics are horrid.
I have done many terrible things and I'm so very very sorry. :(
Derek Foreman manmower@gmail.com
238355f1
put the Python.h header in the .cc
Dana Jansens danakj@orodu.net
54e85b25
only keep fullscreen windows in the top layer when they or a relative is focused
Dana Jansens danakj@orodu.net
8446eaed
scale images down to the available surface size
Dana Jansens danakj@orodu.net
576f03f6
don use gradient for titlebar.. waste of cycles
Dana Jansens danakj@orodu.net
e71fb6c6
| NOT & YOU BASTARD
Dana Jansens danakj@orodu.net
07305ec7
display icons in the frame titlebar!
Dana Jansens danakj@orodu.net
1e58c863
render images properly, minus the scaling
Dana Jansens danakj@orodu.net
afd47769
uncomment the _NET_WM_ICON property
Dana Jansens danakj@orodu.net
af27d7b7
doc _layer.
add an Icon struct
Dana Jansens danakj@orodu.net
939e7887
notify the frame when the desktop changes
Dana Jansens danakj@orodu.net
23cc9e05
show state with the alldesktops and max buttons
Dana Jansens danakj@orodu.net
f8983146
buttons press!
Dana Jansens danakj@orodu.net
c88451f0
readd titlebar buttons. but they dont press yet
Dana Jansens danakj@orodu.net
3e504ae5
rm a stupid bb format
Dana Jansens danakj@orodu.net
329de788
add _created
Dana Jansens danakj@orodu.net
ea20fcc2
only free allocated colors
Dana Jansens danakj@orodu.net
15f22082
borked the build
Dana Jansens danakj@orodu.net
dca8c61a
free the colors on shutdown
Dana Jansens danakj@orodu.net
68482ff5
no segfault plz tnx
Dana Jansens danakj@orodu.net
0ebf6a17
only store what we need to in the class
Dana Jansens danakj@orodu.net
e451c08a
alloc colors only when needed, and free them properly on destruction
Dana Jansens danakj@orodu.net
8ad1d0bb
clear the stringlist before populating it
Dana Jansens danakj@orodu.net
7c32ac2b
proper order for headers
Dana Jansens danakj@orodu.net
ec2113ca
move comment
Dana Jansens danakj@orodu.net
7a2a4615
only store what we need to in the class
Dana Jansens danakj@orodu.net
dd898115
alloc colors.. i think!
Dana Jansens danakj@orodu.net
6b1381d6
add mising ()s
Dana Jansens danakj@orodu.net
a0738a01
more efficient/nicer way to get the XColor values
Dana Jansens danakj@orodu.net
044c8ae4
start of pseudo init
Dana Jansens danakj@orodu.net
5e0fc865
start of pseudocolor init
Dana Jansens danakj@orodu.net
325a909d
move printf..
Dana Jansens danakj@orodu.net
fe1473bc
use the frame's area() properly
Dana Jansens danakj@orodu.net
51606622
use the frame's area not the client's
Dana Jansens danakj@orodu.net
9faca110
kill all the old commented vars in rendercontrol.hh
add some preliminary vars in pseudorendercontrol.hh
Dana Jansens danakj@orodu.net
72ff846d
make all the rendering code in RenderControl. use true/pseudo RenderControl classes just for reducing the pixel32 data to the appropriate bitdepth.
Dana Jansens danakj@orodu.net
f30b2a89
can draw icons in truecolor!
Dana Jansens danakj@orodu.net
e1473968
increment x
Dana Jansens danakj@orodu.net
3147ad1a
start on the rendering images code
Dana Jansens danakj@orodu.net
555facb9
free the surfaces' pixeldata after rendering it
Dana Jansens danakj@orodu.net
aceea3c0
add skeleton for RenderControl::drawImage
Dana Jansens danakj@orodu.net
2808ab5b
add RenderControl::drawMask
Dana Jansens danakj@orodu.net
58847af2
store the pixel32 data in the surface so it can be reused
Dana Jansens danakj@orodu.net
e429ce39
new key code with keyboard grabs and such, thanks to ManMower. Kills the "key leak" bug, and makes everything work better and faster! woot
Dana Jansens danakj@orodu.net
4eaa6551
add ABOUT-NLS
Dana Jansens danakj@orodu.net
71f9b6cf
proper check for modifiers being released, not caring about added.
Dana Jansens danakj@orodu.net
7112755c
add a comment regarding the client.area() being not-what-you-want
Dana Jansens danakj@orodu.net
15c2e7e2
add the icons app
Dana Jansens danakj@orodu.net
0e06aab5
make the icons program a C app.
Dana Jansens danakj@orodu.net
c735d499
add an app to display the icons for a window
Dana Jansens danakj@orodu.net
6ae8608a
make stacked cycling work without a modifier-key binding, i think. cleaner checking for modifiers in motion and stackedcycle.
Dana Jansens danakj@orodu.net
5af39507
better include_icons selection, add INCLUDE_ICONS_ALL_DESKTOPS
Dana Jansens danakj@orodu.net
b18959e1
provide access to the desktop names
Dana Jansens danakj@orodu.net
d993bcd9
include the desktop name if cycling on all desktops is enabled
Dana Jansens danakj@orodu.net
9676a677
change the exception message
Dana Jansens danakj@orodu.net
4ffa9585
remove unused apply
Dana Jansens danakj@orodu.net
783b4dac
add W-d to toggle show-desktop-mode by default
Dana Jansens danakj@orodu.net
33c0058f
add callbacks to show/hide the desktop
Dana Jansens danakj@orodu.net
22b5d645
initialize the net_showing_desktop hint
Dana Jansens danakj@orodu.net
63646b38
make some of otk::property work
Dana Jansens danakj@orodu.net
1e46a39d
more user friendly net_showing_desktop support
Dana Jansens danakj@orodu.net
ba9b0617
smarter focus restoring
Dana Jansens danakj@orodu.net
5d47526b
focus the desktop when entering show-desktop-mode, and refocus what was focused before when leaving
Dana Jansens danakj@orodu.net
265cf6c9
show desktop mode works!
Dana Jansens danakj@orodu.net
f305e7f1
rm some old commented code
Dana Jansens danakj@orodu.net
81c164bb
add support for desktop layouts specified by pagers
Dana Jansens danakj@orodu.net
29bd1c97
rm a debug print
Dana Jansens danakj@orodu.net
dd088e72
kill a warning
Dana Jansens danakj@orodu.net
30cef0ce
add _NET_DESKTOP_LAYOUT and _NET_SHOWING_DESKTOP
Dana Jansens danakj@orodu.net
f789d4a6
remove debug print
Dana Jansens danakj@orodu.net
82d147b5
better skipping of focus events while stackedcycling, fixes bug where esc would still change the order.
Dana Jansens danakj@orodu.net
4ef15148
stop using a desktop number for iconic windows. woot!
Dana Jansens danakj@orodu.net
12108e16
keep track of struts for each desktop
Dana Jansens danakj@orodu.net
a5ea4b04
add DONT_DUPLICATE option
Dana Jansens danakj@orodu.net
544bc20a
rm debug prints
Dana Jansens danakj@orodu.net
43c1f2a8
modal works like a charm now
Dana Jansens danakj@orodu.net
43f95899
use a solid color for the default background
Dana Jansens danakj@orodu.net
a4c8a839
layout fixes, give widgets a default texture, etc.
Dana Jansens danakj@orodu.net
c26e5ea7
set the _text
Dana Jansens danakj@orodu.net
ebdfbdab
keep things in min/max bounds properly
Dana Jansens danakj@orodu.net
5673ab7e
use parentrelative when theres no texture set
Dana Jansens danakj@orodu.net
07a7f6a3
mention that 2.9x is not supported
Dana Jansens danakj@orodu.net
115fedf4
use the c++ std cheaders
Dana Jansens danakj@orodu.net
74cfb1b4
signed ints instead of unsigned ints again. less pain. pain bad.
Dana Jansens danakj@orodu.net
9e05db95
remove includes for widgetbase.hh. fix bug with circular modal pointer.
Dana Jansens danakj@orodu.net
c54d92b7
this is no longer used
Dana Jansens danakj@orodu.net
e4fa1c5a
split the move and resize on the client window
Dana Jansens danakj@orodu.net
ef231de5
mad optimizations
Dana Jansens danakj@orodu.net
ee9eaed6
highlight the popup
Dana Jansens danakj@orodu.net
a81b9674
grab early in the cycle so that we dont miss the modifier release
Dana Jansens danakj@orodu.net
188e5cd5
udpate to new api
Dana Jansens danakj@orodu.net
f51f1c77
stacked cycling menu works now. add a highlighted flag to otk widgets
Dana Jansens danakj@orodu.net
e72d9d90
make stacked cycling work with new otk widgets.. not highlighting in the list yet though
Dana Jansens danakj@orodu.net
b555cd12
rm the headers that are no longer existing
Dana Jansens danakj@orodu.net
6a88803b
formatting
Dana Jansens danakj@orodu.net
17b02669
No longer using otk widgets for the frame decorations.
The titlebar no long has any buttons, in preparation for a new button system.
Using otk::Size for sizes, and unsigned ints (*PAIN*) we'll see..
Dana Jansens danakj@orodu.net
1c97e9fb
some updatesto match changes to otk. Many more needed..
Dana Jansens danakj@orodu.net
5adb8c82
updated wrappers around the new otk widget system and style system
Dana Jansens danakj@orodu.net
f9659acd
add the new size class' header
Dana Jansens danakj@orodu.net
99cd843f
Brand spankin new widgets for otk (Label and Button).
Add a new Size class.
Rect, Point, and Size are immutable classes.
Size uses *UNSIGNED* ints. This is causing me headaches * a bajillion right now, so we'll see about that.
Dana Jansens danakj@orodu.net
d2df4096
compress motion events better
Dana Jansens danakj@orodu.net
7359d4d7
compress config req's
Dana Jansens danakj@orodu.net
4f711edc
move marius from active developers to contributors :\
Dana Jansens danakj@orodu.net
7b8c5c89
catch exception if the file doesnt exist
Dana Jansens danakj@orodu.net
c3e4f97d
make "make dist" work, compiler flags cleanups
Dana Jansens danakj@orodu.net
37050803
rm this thing
Dana Jansens danakj@orodu.net
2e7bb615
include the .i's in the dist
Dana Jansens danakj@orodu.net
8cc27160
supply the same interface with optional arguments as before. increment callback functions when they are registered.
Dana Jansens danakj@orodu.net
3ca451fc
use the new atoms global
Dana Jansens danakj@orodu.net
f26ebce5
only show prints for debug builds
Dana Jansens danakj@orodu.net
7c8c9e99
new swig build system. much better. yay.
Dana Jansens danakj@orodu.net
ffea5b55
you need swig at least 1.3.14
Dana Jansens danakj@orodu.net
b23ed19a
install the scripts as python, so they get compiled
Dana Jansens danakj@orodu.net
bdbbfd6c
missing a )
Dana Jansens danakj@orodu.net
04d08398
require automake 1.7.1 for py-compile
Dana Jansens danakj@orodu.net
67fbe835
dont make wrap a subdir of otk
Dana Jansens danakj@orodu.net
7d94983b
give output when building a cvs release
Dana Jansens danakj@orodu.net
1d4cff7d
move the otk swig module into its own lib/directory
Dana Jansens danakj@orodu.net
863c04cb
add py-compile
Dana Jansens danakj@orodu.net
423367e8
move the otk wrapper stuff into its own dir
Dana Jansens danakj@orodu.net
a5a712f9
provide pkg-config info for libotk
Dana Jansens danakj@orodu.net
59ef3022
ignore the latex dir
Dana Jansens danakj@orodu.net
5072931b
use bevel width on the top/bottom too
Dana Jansens danakj@orodu.net
871e777e
use the widget's bevel width
Dana Jansens danakj@orodu.net
69d12b5e
use a focuslabel
Dana Jansens danakj@orodu.net
cdd260ab
don't wait for x events if any timers fired
Dana Jansens danakj@orodu.net
64ac7d05
80 cols
Dana Jansens danakj@orodu.net
53bed5e5
80 cols
Dana Jansens danakj@orodu.net
635af8c3
make sure windows aren't doing things they aren't allowed when their allowed actions changes.
remaximize windows when their decorations are changed
Dana Jansens danakj@orodu.net
bc099a5f
mention the swig wrapper warnings
Dana Jansens danakj@orodu.net
a612136b
various fixes to the otk widgets
Dana Jansens danakj@orodu.net
3b5d2d1b
add latex to the doc build process. fix namespace comments again.
Dana Jansens danakj@orodu.net
8df1670b
add an adjustable event mask
Dana Jansens danakj@orodu.net
f6ea9902
fix up the otk description
Dana Jansens danakj@orodu.net
4f837954
remove docs from old blackbox
Dana Jansens danakj@orodu.net
5688fbbc
ignore the wrappers
Dana Jansens danakj@orodu.net
bd971ede
ignore the wrappers
Dana Jansens danakj@orodu.net
6e2f3f9f
not needed, the .in is commited
Dana Jansens danakj@orodu.net
58336526
add operator==
Dana Jansens danakj@orodu.net
b8735c75
enforce a min size
Dana Jansens danakj@orodu.net
9e6b0d5a
update children first
Dana Jansens danakj@orodu.net
0bc098ca
dont include config.h from ..
Dana Jansens danakj@orodu.net
9dd156ce
add the headers, and install them
Dana Jansens danakj@orodu.net
a1740a50
add the headers
Dana Jansens danakj@orodu.net
fc4885a3
compile fix
Dana Jansens danakj@orodu.net
df0447ce
watch for bad actions and contexts
Dana Jansens danakj@orodu.net
f28550dc
add an assert to catch bad stuff from the python
Dana Jansens danakj@orodu.net
83327641
cleaner syntax
Dana Jansens danakj@orodu.net
cc050a4e
oops, missing a data.
Dana Jansens danakj@orodu.net
7d66a2a4
add some safety checks
Dana Jansens danakj@orodu.net
cb5eb0d5
store pointers instead of window id's. this lets us use them directly instead of having to look them all up all the time. this is possible now because we watch for new/close window events.
Dana Jansens danakj@orodu.net
76525992
update comment
Dana Jansens danakj@orodu.net
dddac554
remove quotes from comment
Dana Jansens danakj@orodu.net
21e9453c
add more comment
Dana Jansens danakj@orodu.net
8ee2603a
add a comment
Dana Jansens danakj@orodu.net
ffe214dc
missed some "'s
Dana Jansens danakj@orodu.net
02b63185
missed one capitalization
Dana Jansens danakj@orodu.net
220b5c40
make python config variables very visible by making them all capitals. cleaner nicer documentation in the py modules. make public functions more visible.
Dana Jansens danakj@orodu.net
7e3a0b22
don't raise the window when reverting from Escape
Dana Jansens danakj@orodu.net
9ae12978
simple possible bugfix? meh
Dana Jansens danakj@orodu.net
c0b0c004
keep iconic windows at the bottom of the cycling list always
Dana Jansens danakj@orodu.net
b001e857
watch for when theres no clients and avoid exceptions, just don't do shit all
Dana Jansens danakj@orodu.net
77ba3702
better comment
Dana Jansens danakj@orodu.net
7c8fa47e
add commented stuff for doing linear cycling
Dana Jansens danakj@orodu.net
8a05ae26
split out the linear cycling into focuscycle.py.
some better comments about what options can be used.
Dana Jansens danakj@orodu.net
00978e67
wrong scoping
Dana Jansens danakj@orodu.net
106883ee
force a binding with a modifier
Dana Jansens danakj@orodu.net
741aecf8
make Escape abort cycling
Dana Jansens danakj@orodu.net
a04d9fc2
add comments
Dana Jansens danakj@orodu.net
84dfca1c
remove debug prints
Dana Jansens danakj@orodu.net
51a41b9b
all new stacked cycling code. so much sexy.
add an openbox_active_window client message that lets you specify if you want the window to be raised and/or unshaded.
Dana Jansens danakj@orodu.net
f6085d78
rm debug prints
Dana Jansens danakj@orodu.net
981876ca
remove prints
Dana Jansens danakj@orodu.net
a765df7f
call getState() before updateTransientFor(), don't need to initialize _modal separately then
Dana Jansens danakj@orodu.net
4ddb8181
make this focus shit not buggy again..
Dana Jansens danakj@orodu.net
1da8531a
initialize _modal, its used before the window's type is checked
Dana Jansens danakj@orodu.net
046df3e7
update the client list's order after doing a stacked cycle
Dana Jansens danakj@orodu.net
4de57876
ignore the bins
Dana Jansens danakj@orodu.net
1cd253f4
handle modal windows better (bugfixes).
handle client-installed colormaps.
Dana Jansens danakj@orodu.net
5dfd87b0
add a focused() member
Dana Jansens danakj@orodu.net
02b9d474
dont let maximizing occur if the window cant move or resize
Dana Jansens danakj@orodu.net
92bc846c
add some tests
Dana Jansens danakj@orodu.net
c9389a89
support for modal children, both in the focus code and in the raise/lower code
Dana Jansens danakj@orodu.net
e44c0cba
set the desktop number before the number of desktops
Dana Jansens danakj@orodu.net
9f8253a0
fix a signed/unsigned thing
Dana Jansens danakj@orodu.net
6cc8d62e
find modal children and focus them
Dana Jansens danakj@orodu.net
d64505cf
logic error for modal focus
Dana Jansens danakj@orodu.net
edd53942
add function to focus modal children
Dana Jansens danakj@orodu.net
cda0b1b8
rm a XXX that we cant do anything about, and wont break things anyhow
Dana Jansens danakj@orodu.net
586cbd93
dont let kde override-redirect windows be moved or resized
Dana Jansens danakj@orodu.net
5bf70002
support the kde override_redirect hint, to make a window decor-less
Dana Jansens danakj@orodu.net
05a8e51f
add comments
Dana Jansens danakj@orodu.net
88a4e59f
always get the first focused screen
Dana Jansens danakj@orodu.net
ef48bd3d
only watch for events on our window.
rm a XXX
Dana Jansens danakj@orodu.net
2472004b
watch for windows on desktops being removed, and change desktops if on one being removed
Dana Jansens danakj@orodu.net
c0082933
rm a XXX
Dana Jansens danakj@orodu.net
4147215a
rm a XXX.. comment it out :)
Dana Jansens danakj@orodu.net
0571837e
maximizing fixes and simplification
Dana Jansens danakj@orodu.net
16df4538
fix compile err
Dana Jansens danakj@orodu.net
8b7373cf
rm a XXX
Dana Jansens danakj@orodu.net
7dbc6db0
remove a XXX
Dana Jansens danakj@orodu.net
afb8a281
support pseudocolor and greyscale displays by, using solid colors instead of gradients
Dana Jansens danakj@orodu.net
e6bfddf8
add pseudorendercontrol
Dana Jansens danakj@orodu.net
e0eaee86
include stdio
Dana Jansens danakj@orodu.net
f06b9449
Client::move moves the client to the position so that its *frame* will be at the given coordinates
Dana Jansens danakj@orodu.net
20ca8270
rm a print
Dana Jansens danakj@orodu.net
a0c28724
just a comment fix
Dana Jansens danakj@orodu.net
9223bfdd
let the client be moved to a position specified for the *frame*
Dana Jansens danakj@orodu.net
f5904cda
delete the openbox class, to shut things down properly!
Dana Jansens danakj@orodu.net
478f240c
fix the HOOOGE mem leak! YAY MANMOWER!
Dana Jansens danakj@orodu.net
ba872843
move windows based on their *frame* not the client
Dana Jansens danakj@orodu.net
8332db58
dont snap back, properly
Dana Jansens danakj@orodu.net
dec0760d
dont let this run past the buffer edge
Dana Jansens danakj@orodu.net
fcfda534
dont snap back onto the screen for resistance
Dana Jansens danakj@orodu.net
e2069b57
move the restart into main.cc, so the openbox class can clean up properly before the restart
Dana Jansens danakj@orodu.net
96a949ec
off-by-one
Dana Jansens danakj@orodu.net
4d4e17d1
to the bottom
Dana Jansens danakj@orodu.net
1814947e
move restart and exit to the top
Dana Jansens danakj@orodu.net
95a11f35
make restart's parameter optional
Dana Jansens danakj@orodu.net
da0c7355
change the default edge resistance
Dana Jansens danakj@orodu.net
3a8af58b
change commented code
Dana Jansens danakj@orodu.net
de4a388a
show the resize coords after moving them
Dana Jansens danakj@orodu.net
6eae9223
show the widget after moving it
Dana Jansens danakj@orodu.net
fd96ddd8
add a snap variable..
Dana Jansens danakj@orodu.net
a527c30f
formatting
Dana Jansens danakj@orodu.net
51628bae
dont decref this dictionary
Dana Jansens danakj@orodu.net
c2527df8
make the param optional
Dana Jansens danakj@orodu.net
b9ac2d30
add an exit callback
Dana Jansens danakj@orodu.net
8d99c55c
new merry theme updates
Dana Jansens danakj@orodu.net
8287fb28
check before deleting
Dana Jansens danakj@orodu.net
17a3f1e2
rm configuration class
Dana Jansens danakj@orodu.net
2fe0c0ee
rm this shit
Dana Jansens danakj@orodu.net
d73d4247
no more configuration.hh
Dana Jansens danakj@orodu.net
aaf297a1
delete the surface in destructor
Dana Jansens danakj@orodu.net
f1c0beee
make ignoring optional only for history placement
Dana Jansens danakj@orodu.net
76896e9a
dont include old configuration.hh
Dana Jansens danakj@orodu.net
d22a6c6c
capitalization
Dana Jansens danakj@orodu.net
abaaed47
add comment for configuration
Dana Jansens danakj@orodu.net
ca91ebe2
initialize the _single variable
Dana Jansens danakj@orodu.net
889cb888
GRAMMAR HAMMER
Dana Jansens danakj@orodu.net
5beb28df
add comments
Dana Jansens danakj@orodu.net
75a5004d
rm builtins.py
Dana Jansens danakj@orodu.net
8a7bff7a
let clients be remaximized to adjust to new surroundings/struts
Dana Jansens danakj@orodu.net
83bfa01b
remaximize windows when the strut changes
Dana Jansens danakj@orodu.net
5802cf61
add operator==
Dana Jansens danakj@orodu.net
a7c7ae09
dont let a resize get moved into a new increment by our little tricks
Dana Jansens danakj@orodu.net
6d1c4110
indent right
Dana Jansens danakj@orodu.net
d0c90fcc
dont let you ignore requested positions for !normal windows
Dana Jansens danakj@orodu.net
5d672875
add cascade placement
Dana Jansens danakj@orodu.net
dbfdd0fe
scroll workspaces on root without alt
Dana Jansens danakj@orodu.net
e390e277
use the windowmanagement ignore option
Dana Jansens danakj@orodu.net
ccef0308
allow random placement to override window placements
Dana Jansens danakj@orodu.net
9fb4c0b6
use history place by default
Dana Jansens danakj@orodu.net
28a08b7d
allow a callback to determine if a window should be history-placed
Dana Jansens danakj@orodu.net
41a03629
better historyplacement
Dana Jansens danakj@orodu.net
b18e83e0
always call the placewindow routine
Dana Jansens danakj@orodu.net
e1e5293a
historyplacement!!
Dana Jansens danakj@orodu.net
fe9fb53a
fire Startup on startup, not shutdown
Dana Jansens danakj@orodu.net
3cca0784
maximizing without bugs! can it be? i think so!
Dana Jansens danakj@orodu.net
2a2f4306
maximizing!
Dana Jansens danakj@orodu.net
4527e71d
added compile time check for client endianness
Derek Foreman manmower@gmail.com
9a47b042
another attempt at fixing strange endian issues
Derek Foreman manmower@gmail.com
f92804ec
Get the bit shifts from the client, not server
Derek Foreman manmower@gmail.com
bbe129c4
properly support "cross endian" configurations
Derek Foreman manmower@gmail.com
2eccd90f
fieron default
Dana Jansens danakj@orodu.net
7db9c2c0
note about automake
Dana Jansens danakj@orodu.net
45972ed5
update to new interface for toggle all desktops. use the new values for state_ calls.
Dana Jansens danakj@orodu.net
2c710b86
missing a break
Dana Jansens danakj@orodu.net
4a79f7c4
no options for the callbacls
Dana Jansens danakj@orodu.net
d11291df
doc the state functions better
Dana Jansens danakj@orodu.net
785957de
add comment
Dana Jansens danakj@orodu.net
536d54f9
import config
Dana Jansens danakj@orodu.net
ff94208c
typo
Dana Jansens danakj@orodu.net
3d8a035a
try appending our shit to the path, and not import config in the cc
Dana Jansens danakj@orodu.net
05aad313
doc the functions at the top
Dana Jansens danakj@orodu.net
3afcc0bb
fix comment
Dana Jansens danakj@orodu.net
f32ddbbf
use fitString to size the move coords box
Dana Jansens danakj@orodu.net
9c0ef038
break out _focusable() function to make the test if a window can be focused reusable code
Dana Jansens danakj@orodu.net
0833d51e
changes to the MERRY style
Dana Jansens danakj@orodu.net
2d669868
add functions to set the skipTaskbar/Pager state
Dana Jansens danakj@orodu.net
9e894362
add functions to give the skipTaskbar/Pager state
Dana Jansens danakj@orodu.net
8934a553
formatting of comment
Dana Jansens danakj@orodu.net
e0c8eae0
typos
Dana Jansens danakj@orodu.net
027e974e
let you optionally avoid focusing windows which have specified to not be displayed in taskbars
Dana Jansens danakj@orodu.net
1d94cd52
don't put windows in the focus cycling list if they are set to not show up in the taskbar
Dana Jansens danakj@orodu.net
31ae81b3
changeState after a setState request
Dana Jansens danakj@orodu.net
04c16882
focus windows on all desktops too
Dana Jansens danakj@orodu.net
a0389d0c
dont fux up the _dx and _dy for resizing
Dana Jansens danakj@orodu.net
61095002
don't move the client if it isnt going anywhere
Dana Jansens danakj@orodu.net
5de35ba1
update the strut when a client is unmanaged
Dana Jansens danakj@orodu.net
c0446bba
rm debug prints
Dana Jansens danakj@orodu.net
f7a0eb76
grab the keyboard during move/resize to make sure the popup doesnt get left onscreen if the modifiers are released before the button
Dana Jansens danakj@orodu.net
3409b046
add motion.py, which provides funtions for moving/resizing a window interactively
Dana Jansens danakj@orodu.net
bb6ac36d
working popups for moving/resizing
Dana Jansens danakj@orodu.net
225d4302
popups for moving and resizing
Dana Jansens danakj@orodu.net
38345bf3
make parents dirty when a widget resizes
save the fixed_width/fixed_height when doing an internalResize
Dana Jansens danakj@orodu.net
3b398048
add a Release MouseAction for python hooks
Dana Jansens danakj@orodu.net
c2c21e95
blef
Dana Jansens danakj@orodu.net
496c185f
dont shade without a titlebar.
more correct configurenotifies
Dana Jansens danakj@orodu.net
1c61a333
add debug print
Dana Jansens danakj@orodu.net
705d70b0
remove debug print
Dana Jansens danakj@orodu.net
f4c91c54
missing a )
Dana Jansens danakj@orodu.net
a692d5c4
check if the client wants focus before adding to list
Dana Jansens danakj@orodu.net
ef0e907e
add windows on all-desktops to the cycle list
Dana Jansens danakj@orodu.net
88662942
FIERON default
Dana Jansens danakj@orodu.net
b2896c3e
Change the order of the color components in a pixel32 on big endian
Derek Foreman manmower@gmail.com
6ab3dc5c
smaller font
Dana Jansens danakj@orodu.net
edcd9726
add merry's style as an option
Dana Jansens danakj@orodu.net
03faa497
finally set up handle right based on max/min sizes
Dana Jansens danakj@orodu.net
6cf79c8f
make a .py rule
Dana Jansens danakj@orodu.net
6584ed21
make .py rule
Dana Jansens danakj@orodu.net
a7ccc544
dont show a handle if it cant be resized at all
Dana Jansens danakj@orodu.net
34ed8c17
dont show a handle if it cant be resized
Dana Jansens danakj@orodu.net
81144d93
check for endian order
Dana Jansens danakj@orodu.net
359218b6
fix compiling bug
Dana Jansens danakj@orodu.net
98f05a5c
let the user remove client decorations.
Dana Jansens danakj@orodu.net
6236b523
update the list of src files with translations.
Dana Jansens danakj@orodu.net
44d653e3
make struts get added to the screen when mapping a window. let the user disable window decorations.
Dana Jansens danakj@orodu.net
5f89f11d
include shit in the dist
Dana Jansens danakj@orodu.net
1677fe84
include the openbox.1.in in the dist
Dana Jansens danakj@orodu.net
ee356f42
remove LICENSE from the dist files
Dana Jansens danakj@orodu.net
7f6dfe5c
dont install buttons we dont use
Dana Jansens danakj@orodu.net
3e889e72
adjust default click-focus model a bit
Dana Jansens danakj@orodu.net
88c4eecd
make the echo more noticable
Dana Jansens danakj@orodu.net
9f39dc13
make pwd work
Dana Jansens danakj@orodu.net
88a82090
echo a message about where to find the generated docs
Dana Jansens danakj@orodu.net
2e08c6ce
describe -sync better
Dana Jansens danakj@orodu.net
aef05c77
add the doxygen configuration
Dana Jansens danakj@orodu.net
6c5c7fd0
don't manage override_redirect windows.
don't manage windows for whome get attributes fails.
validate the client before managing it.
Dana Jansens danakj@orodu.net
39c6969d
allow for the client to be validated.
don't manage override_redirect windows.
don't manage windows for whome get attributes fails.
validate the client before managing it.
validate the client in functions that query stuff off it: propertyHandler and clientMessageHandler
Dana Jansens danakj@orodu.net
58dc93ab
make default focus model click-focus.
make middle-click focus the window
Dana Jansens danakj@orodu.net
1862fd05
ignore errors when proxying configurerequests
Dana Jansens danakj@orodu.net
0c05f5d9
allow for ignoring x errors.
Dana Jansens danakj@orodu.net
0f2bcee0
allow for ignoring x errors.
make grab() sunc immediately and ungrab() flush
Dana Jansens danakj@orodu.net
c5b2de2e
link the test apps properly
Dana Jansens danakj@orodu.net
aaaf22be
give the debian pkg names
Dana Jansens danakj@orodu.net
a20c78f7
add comment
Dana Jansens danakj@orodu.net
85706d99
grab the pointer when grabbing the keyboard to discard pointer events
Dana Jansens danakj@orodu.net
e767dd79
only ignore NotifyGrab again
Dana Jansens danakj@orodu.net
668b2866
comment unused variable
Dana Jansens danakj@orodu.net
a8a5b519
rm debug print
Dana Jansens danakj@orodu.net
01a76071
sync after sending focus
Dana Jansens danakj@orodu.net
530da070
ignore more focus events, and also crossing events from grabs
Dana Jansens danakj@orodu.net
02683653
destroy the list before ungrabbing
Dana Jansens danakj@orodu.net
3ec33ffb
handle weird cases where theres no more focused windows left gracefully (switching desktops)
Dana Jansens danakj@orodu.net
2a36b90e
add docs
Dana Jansens danakj@orodu.net
5559780c
add comments at the top for the functions
Dana Jansens danakj@orodu.net
98a13160
stacked_cycle_popup_list done
Dana Jansens danakj@orodu.net
289e5e74
fix bug in python when rming window while cycling
Dana Jansens danakj@orodu.net
3fa43baf
titlebar focus in the background of the popuplist
Dana Jansens danakj@orodu.net
5e24320b
add margins, and limit title lengths
Dana Jansens danakj@orodu.net
ff0f2bd3
focus cycling list
Dana Jansens danakj@orodu.net
d3baca52
move the font up in the file so its generated before renderstyle
Dana Jansens danakj@orodu.net
2a195d71
include gettext.h from ../src
Dana Jansens danakj@orodu.net
674f2609
include gettext from ../src
Dana Jansens danakj@orodu.net
395a0af9
add version for automake
Dana Jansens danakj@orodu.net
619864a1
a little reordering.. useless really
Dana Jansens danakj@orodu.net
5de751b1
setStyle in the constructor
Dana Jansens danakj@orodu.net
3f784100
support the aspect ratio hints in the WMNormalHints
Dana Jansens danakj@orodu.net
25b85266
font use the same ifdefs as label.hh
Dana Jansens danakj@orodu.net
1eb12ca4
adjust chicldren relative to self, not root
Dana Jansens danakj@orodu.net
99999226
setStyle in the constructor of each child widget
Dana Jansens danakj@orodu.net
f55419c1
rm an old stdio include
Dana Jansens danakj@orodu.net
dd275c8a
describe -DSWIG_GLOBAL
Dana Jansens danakj@orodu.net
8c5e8ab9
otk should not be including anything in src/
Dana Jansens danakj@orodu.net
d600bf8d
openbox scripting works again! config too!
Dana Jansens danakj@orodu.net
340c4c95
add new shit
Dana Jansens danakj@orodu.net
49394f1e
use a built-in module to replace libswigpy
Dana Jansens danakj@orodu.net
5face4c6
use otk objects in the ob scripts by importing otk
Dana Jansens danakj@orodu.net
5168a8ad
new scripts for new script structure
Dana Jansens danakj@orodu.net
be18a7c3
add alt-tab to the default bindings
Dana Jansens danakj@orodu.net
997f94cf
new/better/cleaner scripting interface
Dana Jansens danakj@orodu.net
02d63621
change include path to not include otk/
Dana Jansens danakj@orodu.net
5807ca8d
add path to include
Dana Jansens danakj@orodu.net
b760c466
remove these at last
Dana Jansens danakj@orodu.net
edcbed44
Added diagonal and crossdiagonal gradients
Derek Foreman manmower@gmail.com
3682df8e
include widgetbase not widget
Dana Jansens danakj@orodu.net
d69061e2
add some design ideas for a glue layer between the wm and the scripts
Dana Jansens danakj@orodu.net
084d6f4e
some intermediate stage. stacked focus cycling is very broken. dont try it. going to have to change how the python stuff works i think!
Dana Jansens danakj@orodu.net
91c7e5c3
allow python to grab the keyboard. have release events go to the grabs callback. remove the modifier from teh state when a modifier key is the one being released
Dana Jansens danakj@orodu.net
73a776ee
add all teh steps
Dana Jansens danakj@orodu.net
127c3cf9
add instructions for CVS compiling
Dana Jansens danakj@orodu.net
3a5d404a
wrapper changes
Dana Jansens danakj@orodu.net
747c089a
dont focus on A-Left
Dana Jansens danakj@orodu.net
f9249a35
put back the font
Dana Jansens danakj@orodu.net
02e81075
fix a comment
Dana Jansens danakj@orodu.net
80a42d2b
bold non-shadowed font
Dana Jansens danakj@orodu.net
9da1f717
smaller, non-bold font
Dana Jansens danakj@orodu.net
3e21214a
don't make dock type windows auto-omni-present.
add some debug prints
Dana Jansens danakj@orodu.net
f7f5f3d0
add printf for when a window requests its desktop
Dana Jansens danakj@orodu.net
ab2968b3
add an UrgentNotify callback type. fire it when a window becomes "urgent"
Dana Jansens danakj@orodu.net
39f19f42
watch for multiple map requests on the same window. ignore after the first.
Dana Jansens danakj@orodu.net
406c79ae
out with the blackbox source
Dana Jansens danakj@orodu.net
f1951eaa
rm all the bb shit
Dana Jansens danakj@orodu.net
f2e005f4
remove the old blackbox bullshit
Dana Jansens danakj@orodu.net
104c1a16
wrap around right for focus cycling
Dana Jansens danakj@orodu.net
d4e4e25e
Added color reduction for 16bpp displays
Derek Foreman manmower@gmail.com
47fb66e5
blef
Dana Jansens danakj@orodu.net
ff98438a
keep a list of clients in the order that they have been focused
Dana Jansens danakj@orodu.net
f4b87e04
be smart about skipping focusing a window from unmap events, watch the unmap_ignore
Dana Jansens danakj@orodu.net
38396b8a
remove client_buttons
Dana Jansens danakj@orodu.net
b6defb3c
cleanups for how we display iconic state in the hints, and choose it in the mapping process. make things work with gnome-panel's restore-to-native/current-workspace
Dana Jansens danakj@orodu.net
bb303c74
use the proper screen area, which excludes area taken up by struts
Dana Jansens danakj@orodu.net
8b4004ac
make docks and desktops always on all desktops
Dana Jansens danakj@orodu.net
ea902741
put this back mostly.
Dana Jansens danakj@orodu.net
a9e39af4
make A-1 mouse focus
Dana Jansens danakj@orodu.net
64fd3c34
those adds werent a mistake.. :P
Dana Jansens danakj@orodu.net
709c747a
add iconifying!!!!
also cleanup the map process a bit, the close action wasn't being set in the allowed actions.
Dana Jansens danakj@orodu.net
9583bb6c
add comment, and reformat
Dana Jansens danakj@orodu.net
8d4fe416
maprequests do not come here once the window is managed any more. they go to the plate. make events on the plate go to the client for handling, and dont bother looking for clients in the maprequesthandler anymore
Dana Jansens danakj@orodu.net
4c5671ee
remove unused old handlers
Dana Jansens danakj@orodu.net
73026adf
put back the background
Dana Jansens danakj@orodu.net
18ab2453
cycling by any number of windows
Dana Jansens danakj@orodu.net
707f7068
linear focus cycling
Dana Jansens danakj@orodu.net
9a64438a
set the root window, to a color for now
Dana Jansens danakj@orodu.net
bf3a40ad
fixed incredibly embarassing cut'n'paste error in highlight
Derek Foreman manmower@gmail.com
b45a68cc
Fixed corners of bevels
Derek Foreman manmower@gmail.com
312db4ca
Added bevels
Derek Foreman manmower@gmail.com
28b8f675
remove the word "sticky" from everywhere, and replace with "all desktops". change the titlebar layout to use D instead of S for the all-desktops button
Dana Jansens danakj@orodu.net
7b7ae097
make the 'toggle all desktops' button work
Dana Jansens danakj@orodu.net
7b9d92b2
add decor_sticky to the default decorations list
Dana Jansens danakj@orodu.net
2c977ae7
remove the border on the handle
Dana Jansens danakj@orodu.net
ff3bb756
remove debug printfs
Dana Jansens danakj@orodu.net
b5963e0e
added borders to gradient backgrounds
Derek Foreman manmower@gmail.com
4dcb3093
remove debug printf
Dana Jansens danakj@orodu.net
bb5a07b3
check if the window exists before trying to focus it
Dana Jansens danakj@orodu.net
6266b9e0
use the fieron bitmap mask style
Dana Jansens danakj@orodu.net
741c68bb
include algorthm forstd::find
Dana Jansens danakj@orodu.net
bf24a3b7
dont use a const_iterator
Dana Jansens danakj@orodu.net
7048f64f
dont use a const_iterator
Dana Jansens danakj@orodu.net
f9818bff
add stdio.h
Dana Jansens danakj@orodu.net
c4427cc1
give access to _timeout for shitty compilers in TimerCompare
Dana Jansens danakj@orodu.net
8152d453
add stdio.h
Dana Jansens danakj@orodu.net
b99508df
bitmap masks return!
Dana Jansens danakj@orodu.net
e64d90be
new render system in effect. now ot make it look right
Dana Jansens danakj@orodu.net
46441f7d
starts.. then exits.
Dana Jansens danakj@orodu.net
dd6f9068
compiles with the new render subsystem...
Dana Jansens danakj@orodu.net
17d63184
 hardcode some bitmap masks
Dana Jansens danakj@orodu.net
11f59d79
render code fixes
Dana Jansens danakj@orodu.net
42fbe726
add the pixel to the cache
Dana Jansens danakj@orodu.net
1b5d52c7
save/load the pixel in the cache
Dana Jansens danakj@orodu.net
3fe7bded
increment the count 1 right off the start for the cache
Dana Jansens danakj@orodu.net
77882b46
break when no more widgets showing
Dana Jansens danakj@orodu.net
70e2ab80
show recursive.. recursively
Dana Jansens danakj@orodu.net
033e9843
otk using new render shit.. supposedly
Dana Jansens danakj@orodu.net
75e8fc27
hardcoded renderstyle
Dana Jansens danakj@orodu.net
c487295c
part of a hardcoded style done
Dana Jansens danakj@orodu.net
c8702ceb
REMOVE -fno-rtti. we use that!
Dana Jansens danakj@orodu.net
031da4f1
-fno-rtti as in cxxflags too!
Dana Jansens danakj@orodu.net
31c20197
added "pixel32" typedef for 32bit rgb data
added a single gradient texture type (vertical)
Derek Foreman manmower@gmail.com
e6c12f8f
Added a secondary color for gradients
Derek Foreman manmower@gmail.com
fabb6e8c
testing a gradient texture now
Derek Foreman manmower@gmail.com
9280f1b6
fix the stupid spelling
Dana Jansens danakj@orodu.net
ac48993e
add -fno-check-new -fno-execptions to the g++ cxxflags
Dana Jansens danakj@orodu.net
25f01511
drawSolidBackground seems to work :)
Dana Jansens danakj@orodu.net
68a6fce5
dont try free the widget's pixmap until it is no longer in use
Dana Jansens danakj@orodu.net
24e20d5e
add most of our style elements
Dana Jansens danakj@orodu.net
f329167e
specify projecting cap style
Dana Jansens danakj@orodu.net
25a5b729
add textures, render the textures color for now too!
Dana Jansens danakj@orodu.net
0348a2f3
add rendercolor class, with a cache of gcs for the colors
Dana Jansens danakj@orodu.net
cfd8f9a6
XClearArea on expose in widget
Dana Jansens danakj@orodu.net
d8d9b427
widegt using new render system
Dana Jansens danakj@orodu.net
0ba441fe
remove the XImage from Surface
Dana Jansens danakj@orodu.net
41e1810c
new authors. this is how we dooo iiiit...
Dana Jansens danakj@orodu.net
d953cfe7
use arrays instead of vectors for the screeninfos and rendercontrols.
Dana Jansens danakj@orodu.net
6871cff3
reorder how theyre destroyed, probably doesnt matter anyways.
Dana Jansens danakj@orodu.net
9b6e5f9c
provide RenderControls to all otk from the display class. initialize them all there. try use bitshifts instead of color tables in the TrueRenderControl class for finding correct rgbs. Move the image/pixmap/xftdraw into the surface class, and it maintains them, recreating them when it resizes.
Dana Jansens danakj@orodu.net
a4dd208a
use a bitshift on the rgb values instead of a color table
Dana Jansens danakj@orodu.net
e2607f61
add DESIGN from the openbox3 repository. add to that the render.dia, a design diagram for the new render code
Dana Jansens danakj@orodu.net
f8edbc90
add new shit
Dana Jansens danakj@orodu.net
23940f9e
add a new texture and style class
Dana Jansens danakj@orodu.net
02066c5d
starting to make render's interface
Dana Jansens danakj@orodu.net
e3eeac5b
colors are back
Dana Jansens danakj@orodu.net
9f705c02
*** empty log message ***
Dana Jansens danakj@orodu.net
2005c344
surface started
Dana Jansens danakj@orodu.net
4ac47a41
renders!!!!!!!!!!!!!
Dana Jansens danakj@orodu.net
3fa13524
blef
Dana Jansens danakj@orodu.net
e6d6a1b6
change the render() interface
Dana Jansens danakj@orodu.net
056c5b43
set the background pixmap
Dana Jansens danakj@orodu.net
5b52a8f5
blef
Dana Jansens danakj@orodu.net
1a5fb96b
.cvsignore is a cvs meta file that tells cvs not to include specific files
in its diffs, commits, or updates.  we use this to keep machine generated
files from showing up in diffs.

this commit adds truerendercontrol.lo, a libtool generated file, to the
.cvsignore file.

kthx bye! *^_^*
Derek Foreman manmower@gmail.com
d264dbca
compiles
Dana Jansens danakj@orodu.net
24b33ef8
fuc put it back
Dana Jansens danakj@orodu.net
67bb7f8c
move render()
Dana Jansens danakj@orodu.net
0dcbf985
start of new render code
Dana Jansens danakj@orodu.net
29f331b6
use otk::Property properly, and the right atoms
Dana Jansens danakj@orodu.net
9166d90f
include all the required libs
Dana Jansens danakj@orodu.net
00bc9937
correct a comment
Dana Jansens danakj@orodu.net
f94dc995
state the license. killall the old readme data
Dana Jansens danakj@orodu.net
d9d2e7a5
Some cleanups in the mapping procedure. Apply requested states during the process.
Add new function types for new netwm supported actions, i.e. Func_Shade and Func_Fullscreen.
Add support for the _NET_WM_FULLSCREEN state.
Dana Jansens danakj@orodu.net
08a28187
add new actions from the ewmh spec
Dana Jansens danakj@orodu.net
105e3524
add internal_move/resize and wrap them with move() and resize() which are for user use, and make sure that the window is allowed to be moved/resized.
add the allowed actions hint setting.
Dana Jansens danakj@orodu.net
8be45414
add frame.. wrapper changes.
Dana Jansens danakj@orodu.net
a1e6634a
do good math
Dana Jansens danakj@orodu.net
884ec58c
use frame.size()
Dana Jansens danakj@orodu.net
a767993e
add frame.hh to openbox.i's deps
Dana Jansens danakj@orodu.net
9e8f89b6
provide the strut for the frame's size instead of an area rect
Dana Jansens danakj@orodu.net
940247c3
make window placement not go off screen at all
Dana Jansens danakj@orodu.net
5cc40ecc
call the place routine after the window is grabbed
Dana Jansens danakj@orodu.net
48741b97
call the place window routine after the frame is created
Dana Jansens danakj@orodu.net
6f058162
add the Frame class
Dana Jansens danakj@orodu.net
d911b4b1
use the frame's area
Dana Jansens danakj@orodu.net
baaaed3d
add a drag threshold
Dana Jansens danakj@orodu.net
a38a8f0b
add drag_threshold
Dana Jansens danakj@orodu.net
6188650c
rm my lucid experiment
Dana Jansens danakj@orodu.net
58ff3f35
add commented code for future maybe
Dana Jansens danakj@orodu.net
f29a2e9b
add comment for bugfix
Dana Jansens danakj@orodu.net
6bcfd5d2
don't use XMoveResize, it doesn't work for StaticGravity windows?
Dana Jansens danakj@orodu.net
6a73cff1
get all the normal hints when mapping again, oops.
Dana Jansens danakj@orodu.net
2b089723
centered gravities lose one borderwidth when mapping too
Dana Jansens danakj@orodu.net
619ad666
add {}'s
Dana Jansens danakj@orodu.net
53001eeb
add whitespace
Dana Jansens danakj@orodu.net
b8ae2f39
try use the gravity in the WM_NORMAL hint, and fall back to the attribute
Dana Jansens danakj@orodu.net
4c2f4e75
add a getGravity function to get the gravity from the window attributes initially
Dana Jansens danakj@orodu.net
d17b86a4
s/SIGCLD/SIGCHLD/ that was Sysv4 shit
Dana Jansens danakj@orodu.net
f14d74a3
test for borders on static grav windows
Dana Jansens danakj@orodu.net
44358dfb
reap child processes when they die
Dana Jansens danakj@orodu.net
af1ac846
new raise/lower window code. only restacks 2 windows (1 move) at a time, ever. ManMower, u rulz.
Dana Jansens danakj@orodu.net
3a83fe7e
exec a requested new process via /bin/sh to allow for command line args, the same way otk::bexec does it.
Dana Jansens danakj@orodu.net
035f7d3f
use -export-dynamic when linking libpython.a
Dana Jansens danakj@orodu.net
50863470
add a todo comment
Dana Jansens danakj@orodu.net
c7e157e5
use otk::Property to get the atom values
Dana Jansens danakj@orodu.net
d8aff44a
redo otk::Property. make it static.
Dana Jansens danakj@orodu.net
8b0daa91
rm old bb shit that we dont use
Dana Jansens danakj@orodu.net
a7207b7d
make an optional bool param for ustring's other constructors
Dana Jansens danakj@orodu.net
0f7e3be6
make an optional bool param for ustring's default constructor
Dana Jansens danakj@orodu.net
a8e98570
dont allow resizing < 1 (based on increments)
Dana Jansens danakj@orodu.net
8eed9d64
stacking list on root is bottom to top
Dana Jansens danakj@orodu.net
3e829595
extern "C" the C headers
Dana Jansens danakj@orodu.net
e44d7697
add headers for select()
Dana Jansens danakj@orodu.net
d9a5620f
use the better defines for the xft version
Dana Jansens danakj@orodu.net
2a18a4b2
add comment
Dana Jansens danakj@orodu.net
21b5c602
check for XftGetVersion
Dana Jansens danakj@orodu.net
b2672614
just return if a valid widget isnt found, racey to assert
Dana Jansens danakj@orodu.net
219e18e7
display the build version as well as the runtime version of Xft
Dana Jansens danakj@orodu.net
231f4dad
no long used with our Timer-ng!
Dana Jansens danakj@orodu.net
a388c41d
dont need unistd for gettimeofday
Dana Jansens danakj@orodu.net
96a9196c
otk::Timer-ng!! thanks ManMower for this shizznit!
Dana Jansens danakj@orodu.net
0afb4316
rm the util directory
Dana Jansens danakj@orodu.net
b683a4e0
fix indenting
Dana Jansens danakj@orodu.net
7f2ee772
use the byte size for utf strings, not the character size
Dana Jansens danakj@orodu.net
ffb237bf
use the new global display var
Dana Jansens danakj@orodu.net
63a74632
add the global display variable
Dana Jansens danakj@orodu.net
3d012bcb
move the utf8_skip table into the .cc
Dana Jansens danakj@orodu.net
23686632
fix some bugs where looked up wrong offsets for characters in the utf8_skip table, move the table into the .cc
Dana Jansens danakj@orodu.net
784b879a
set the global 'display' var to the otk::Display in use
Dana Jansens danakj@orodu.net
b989ec13
set the ustring's utf type so that it matches what it appended to it
Dana Jansens danakj@orodu.net
4c71c71d
set the global display var
Dana Jansens danakj@orodu.net
cdcc526a
use the new non-static display
Dana Jansens danakj@orodu.net
c34f2a52
add ustring.i which wraps otk::ustring for to/from python conversions
Dana Jansens danakj@orodu.net
c97915f4
un-static otk::Display. add an operator* to it. make a global ob::display var.
Dana Jansens danakj@orodu.net
9e77a88d
move the Openbox::instance pointer to simply "openbox".
Dana Jansens danakj@orodu.net
4dba6998
dont use append, dont need to extend ustring!
Dana Jansens danakj@orodu.net
55f13818
ustring seems to be working! yay!
Dana Jansens danakj@orodu.net
ef02a0c8
almost done the ustring conversion
Dana Jansens danakj@orodu.net
5a90d2b6
otk using ustring for shit that draws. expended its inferface yet some more.
Dana Jansens danakj@orodu.net
4947902d
more conversion to ustring. added more members
Dana Jansens danakj@orodu.net
2aff07a2
show a warning if we fail to set the locale
Dana Jansens danakj@orodu.net
2594b98c
rm old comment
Dana Jansens danakj@orodu.net
7c9ba37f
keep the asserts for !debug builds..
Dana Jansens danakj@orodu.net
7fc226b6
proper code style
Dana Jansens danakj@orodu.net
120ed7a6
setup the locale on the X server on start
Dana Jansens danakj@orodu.net
8b73f6f0
begin conversion to ustring. add some more members.
Dana Jansens danakj@orodu.net
ecfac5f2
add more doxygen
Dana Jansens danakj@orodu.net
b5a05bc1
more shit
Dana Jansens danakj@orodu.net
711e499c
start on otk::ustring (unicode/utf8)
Dana Jansens danakj@orodu.net
bc99e6a4
remove userstring
Dana Jansens danakj@orodu.net
703ef4df
check for shutdown before waiting for timers
Dana Jansens danakj@orodu.net
2627b852
typo.. just PACKAGE
Dana Jansens danakj@orodu.net
88dbe7c2
use the UTF-8 codeset
Dana Jansens danakj@orodu.net
7a453b46
omg im relicensing this shit as gpl. nobody hurt me.
Dana Jansens danakj@orodu.net
f6be8c1e
s/atom_hh/property_hh
Dana Jansens danakj@orodu.net
805a5ddd
default to drawing as utf8
Dana Jansens danakj@orodu.net
a4d4aaec
default to 1 desktop if its not read from the configs
Dana Jansens danakj@orodu.net
eb752bc9
put userstring in otk::
Dana Jansens danakj@orodu.net
74061b4e
use "userstring" for all user viewable strings
Dana Jansens danakj@orodu.net
c03068ee
dispatch events before waiting for timers on startup
Dana Jansens danakj@orodu.net
bd39de60
use PyInt for vars not PyLong
Dana Jansens danakj@orodu.net
1b59ea59
dont show find errors
Dana Jansens danakj@orodu.net
de070682
add number_of_desktops
Dana Jansens danakj@orodu.net
bfa46e06
dont assert when given an out-of-range desktop
Dana Jansens danakj@orodu.net
718be4c9
add 'userstring', a std::string with a flag for UTF-8
Dana Jansens danakj@orodu.net
7bfe234d
clean up childrens' transient_for refs
Dana Jansens danakj@orodu.net
870f6cca
ignore focus changes from grabs always.
Dana Jansens danakj@orodu.net
fffcc1ee
Middle lowers
Dana Jansens danakj@orodu.net
157f6d5c
s/OB//
Dana Jansens danakj@orodu.net
87688e39
use new alias for mbuttons
Dana Jansens danakj@orodu.net
fc7ec94f
use new aliaes' for mbuttons
Dana Jansens danakj@orodu.net
2a6c730f
add aliases for mouse buttons
Dana Jansens danakj@orodu.net
cc86c196
dont need 2 of these comments
Dana Jansens danakj@orodu.net
77ab46d1
removing all prefixes completed
Dana Jansens danakj@orodu.net
f1b9e216
workaround for swig problem
Dana Jansens danakj@orodu.net
23c11a15
old bb shitz
Dana Jansens danakj@orodu.net
8f8acc24
rm prefixes for all elements in the otk namepsace
Dana Jansens danakj@orodu.net
684405ee
add \n's to errors
Dana Jansens danakj@orodu.net
261034b3
wrapper updates
Dana Jansens danakj@orodu.net
dc2f9ddc
set masks proprly
Dana Jansens danakj@orodu.net
7d3b12d9
set masks properly
Dana Jansens danakj@orodu.net
e8f5cf29
valgrind fixes, and fixes for writing shit all over the environment. yay~!!!!!!!
Dana Jansens danakj@orodu.net
bc88d310
fix \'s
Dana Jansens danakj@orodu.net
e2bf5433
add fieron2
Dana Jansens danakj@orodu.net
bd771e19
add masks
Dana Jansens danakj@orodu.net
ac06b3c5
rm debug prints
Dana Jansens danakj@orodu.net
c637f1ff
rm debug shit
Dana Jansens danakj@orodu.net
19bfac51
broken to all hell. oh no.
Dana Jansens danakj@orodu.net
1c70394c
rm a blank line at the end
Dana Jansens danakj@orodu.net
fd5369cd
only send configu notify if the window is mapped (has a frame)
Dana Jansens danakj@orodu.net
08dc1566
add some more AC stuff
Dana Jansens danakj@orodu.net
259f0283
used old vars
Dana Jansens danakj@orodu.net
6741d057
caps
Dana Jansens danakj@orodu.net
182cfb21
caps for giving the build target. show it at the end
Dana Jansens danakj@orodu.net
3f3f8a17
better ordering.. define te version before using it
Dana Jansens danakj@orodu.net
8c085754
check for cvs in the version properly
Dana Jansens danakj@orodu.net
1729df46
make compiling 'work' with XINERAMA. it doesnt do anything tho
Dana Jansens danakj@orodu.net
1a7d9771
no caps in the package name!
Dana Jansens danakj@orodu.net
0f16855a
cvs builds are always debug
Dana Jansens danakj@orodu.net
34615153
use the right lib
Dana Jansens danakj@orodu.net
02601c28
my newer better autoconf functions. woowoo
Dana Jansens danakj@orodu.net
54e4a15d
adding my autoconf functions. woowoo
Dana Jansens danakj@orodu.net
51ff1497
new autoconf shit woowoo
Dana Jansens danakj@orodu.net
af8b457f
send configure notify when moving a window
Dana Jansens danakj@orodu.net
76b795e9
add X_DEVEL and XFT_DEVEL m4 functions
Dana Jansens danakj@orodu.net
be56b6d1
create OB_DEBUG and OB_COMPILER_FLAGS m4 functionc
Dana Jansens danakj@orodu.net
7b20aad5
check for the python cflags and libs
Dana Jansens danakj@orodu.net
17ca0f50
bind the exec properly
Dana Jansens danakj@orodu.net
6f500e23
add an optional parameter to restart
Dana Jansens danakj@orodu.net
bcd808d0
add the BUTTONSDIR define
Dana Jansens danakj@orodu.net
d12e655d
load a global defaults.py if the user.py isnt loaded
Dana Jansens danakj@orodu.net
8d52c2b1
change the default style to fieron2
Dana Jansens danakj@orodu.net
6c4711cb
load buttons from the global dir if they arent found in the user dir
Dana Jansens danakj@orodu.net
151b6d41
rm shit that didnt belong
Dana Jansens danakj@orodu.net
cfead96b
some default bindings for if no user.py exists
Dana Jansens danakj@orodu.net
5c752e66
add defaults.py
Dana Jansens danakj@orodu.net
63c794a6
get the xft version from the library instead of from the headers
Dana Jansens danakj@orodu.net
3dde884d
dont bother making a copy of the event to change its type
Dana Jansens danakj@orodu.net
a0333b52
when i get a button press on the client window, i have to manufacture the release, because i never will get one from the x server
Dana Jansens danakj@orodu.net
7a95b5a9
don't grab for motion/releases on the client window, i don't get them anyways.
Dana Jansens danakj@orodu.net
15a7384d
add to comment
Dana Jansens danakj@orodu.net
6e41cef9
reword comment a bit
Dana Jansens danakj@orodu.net
0b12453c
updated wrappers
Dana Jansens danakj@orodu.net
1baea880
dont use a global var
Dana Jansens danakj@orodu.net
05039de1
add setup_fallback_focus() to handle focus when nothing is left focused
Dana Jansens danakj@orodu.net
52e881dc
add the random window placement algo
Dana Jansens danakj@orodu.net
fa34e01d
add a few functions for setting up default mouse behaviors
Dana Jansens danakj@orodu.net
007e17d3
dont define the 'display' global
Dana Jansens danakj@orodu.net
558b55b0
add OBDisplay_display()
Dana Jansens danakj@orodu.net
69f38b9f
undefine the scriptdir, thats not where otk.py will be going
Dana Jansens danakj@orodu.net
ec6951c2
dont build the otk wrappers for now
Dana Jansens danakj@orodu.net
d0c61ebf
dont need the otk initializer
Dana Jansens danakj@orodu.net
26d95a52
dont install otk.py for now
Dana Jansens danakj@orodu.net
88b7de4a
the openbox module has to include shit from otk that it uses, swigs shit doesnt work across modules in the shadow wrappers
Dana Jansens danakj@orodu.net
623de3b0
rm printf
Dana Jansens danakj@orodu.net
6d6082dc
add some comments to the procedure
Dana Jansens danakj@orodu.net
678bb521
stop including otk in the openbox module. makes the wm hooger for no good cause. simply import all the otk shit. add otk.hh
Dana Jansens danakj@orodu.net
a6f1d6b8
add a header for including everything for otk
Dana Jansens danakj@orodu.net
c8e246f8
include the all otk stuff into the openbox python module. rename widget.hh to stop conflicting with the one in otk/
Dana Jansens danakj@orodu.net
e0878c9f
typosnsuch
Dana Jansens danakj@orodu.net
915b171b
install the shadow wrappers
Dana Jansens danakj@orodu.net
385de86d
add the shadow class wrappers
Dana Jansens danakj@orodu.net
b67f5e70
new python interface! using the .py shadow wrappers from swig
Dana Jansens danakj@orodu.net
0d008279
include point and rect from otk so that they can have objects returned instead of strings
Dana Jansens danakj@orodu.net
345d957e
new python callbacks data, infrastructure. going to rework bindings code. cvs wont work for shit now. but thats life.
Dana Jansens danakj@orodu.net
b1739374
change what re-maprequest events do, just convert them to net_active_window messages. make net_active_window unshade/iconify
Dana Jansens danakj@orodu.net
e2274e0f
s/False/false
Dana Jansens danakj@orodu.net
3814c4fb
use default prefix.
better python library checks.
Dana Jansens danakj@orodu.net
4e6e0b8d
wrapper updates
Dana Jansens danakj@orodu.net
9dd52dfc
make close() and shade() private.
Dana Jansens danakj@orodu.net
ae0b364f
pass the right num of shit to the client msg
Dana Jansens danakj@orodu.net
8db3dc33
close windows with netwm messages
Dana Jansens danakj@orodu.net
04416613
use client msg's to toggle shaded
Dana Jansens danakj@orodu.net
cf686612
add state_shaded
rm debug print's
Dana Jansens danakj@orodu.net
cec568b0
state_above/below work now
Dana Jansens danakj@orodu.net
368d9812
add a -single argument which only runs on a single screen
Dana Jansens danakj@orodu.net
dbf58ef2
check for python errors a little better i think..
Dana Jansens danakj@orodu.net
93811226
ignore much fewer focus events. only ignore focusout's from activating a grab
Dana Jansens danakj@orodu.net
b8f89ee3
ignore focus events from grabs
Dana Jansens danakj@orodu.net
d5cff961
rm _focus, its no longer used
Dana Jansens danakj@orodu.net
fade5572
handle focus events SOO much more simply. and it works. fuck yes. at last. i think i can rest.
Dana Jansens danakj@orodu.net
bd748f74
rework focus event handling. does it basically like ob2 did now. and it seems to work too :>
Dana Jansens danakj@orodu.net
3b4d453f
rm old debug printfs
Dana Jansens danakj@orodu.net
9656d1e2
put unmanageWindow back how it used to be. no 'remap' argument
Dana Jansens danakj@orodu.net
34896278
add some comments
clean up the releasing of the client from the frame
Dana Jansens danakj@orodu.net
7e410364
rm old comment
Dana Jansens danakj@orodu.net
6bad7e67
map the window if it was reparented, on release
Dana Jansens danakj@orodu.net
f2fa99b3
make some funcs const, and don't try focus a client if it is not visible
Dana Jansens danakj@orodu.net
889df8a7
clarify an incorrect comment, and make some funcs const
Dana Jansens danakj@orodu.net
ada98dd5
*** empty log message ***
Dana Jansens danakj@orodu.net
2a40cebf
grab the server around key ungrab/grabs to prevent losing keys
Dana Jansens danakj@orodu.net
9bfc9778
make focus work without races.
Dana Jansens danakj@orodu.net
43c0dc42
fix typo
Dana Jansens danakj@orodu.net
bcc9f681
stop compressing enter/leave events.. this might be responsible for the focu sfuckups?
Dana Jansens danakj@orodu.net
0147a61f
move a comment
Dana Jansens danakj@orodu.net
cc36ecf2
don't reparent to root if the client has already reparented since unmapping
Dana Jansens danakj@orodu.net
f11bd1b0
better reparent handling, dont fux with the event stack..
Dana Jansens danakj@orodu.net
2ae5aaca
rm old junk
Dana Jansens danakj@orodu.net
1b13d34c
i think im handling reparent events correctly now, by unmanaging the window and then XMapping the client
Dana Jansens danakj@orodu.net
e5eb783a
ignore the right about of unmap notifies
Dana Jansens danakj@orodu.net
a2de94e9
in synch mode, chew up 100% cpu, cuz we cant select on the display's fd
Dana Jansens danakj@orodu.net
6062fe40
handle unmaps better. all thanks to acroread sending wacky unmap events
Dana Jansens danakj@orodu.net
f1ce4e66
send config req's to the master too
Dana Jansens danakj@orodu.net
19eb1367
abort() on X errors that aren't BadWindow errors
Dana Jansens danakj@orodu.net
13f1f39f
dont move frame if not frame exists while mapping
Dana Jansens danakj@orodu.net
a1329684
don't place the window magically if we're starting (the window was already placed)
Dana Jansens danakj@orodu.net
7990e6fc
add a PlaceWindow event hook type
Dana Jansens danakj@orodu.net
7ca4d1cf
add a check for ShapeBounding shape events
Dana Jansens danakj@orodu.net
6c3aec9e
dont unset focused client if it is still/already set, that causes bugs!
Dana Jansens danakj@orodu.net
dc532b76
change the unmanae ordeer around to have the callbacks fire last
Dana Jansens danakj@orodu.net
eccab56a
fixed condition that could cause 2 windows to look focused, and bad things to occur
Dana Jansens danakj@orodu.net
9d2ba820
sending windows to workspaces works. focus messes up on fast switching
Dana Jansens danakj@orodu.net
4c768d5d
use client messages to switch desktops/move windows between desktops
Dana Jansens danakj@orodu.net
85b0dc80
add comment for findScreen
Dana Jansens danakj@orodu.net
d833fb1e
add python.hh to the openbox.i deps
Dana Jansens danakj@orodu.net
ee0591bf
comment the new desktop functions
Dana Jansens danakj@orodu.net
130a1a2c
add change_desktop
Dana Jansens danakj@orodu.net
26bef30a
add startup and shutdown callback events for each screen
Dana Jansens danakj@orodu.net
66921633
add next/prev desktop, give them the no_wrap optional arg
Dana Jansens danakj@orodu.net
711a7d8c
supply python routines for next/prev workspace
Dana Jansens danakj@orodu.net
d7cc09ce
dont hide windows when switching to the current workspace
Dana Jansens danakj@orodu.net
7175ac2b
windows stay on their desktops
Dana Jansens danakj@orodu.net
f71a1fc7
grab SIGUSR1
Dana Jansens danakj@orodu.net
3d8ffcc2
dont reset focus to the unfocused window!
Dana Jansens danakj@orodu.net
33ddfc76
desktops
Dana Jansens danakj@orodu.net
e9b48d2f
move the shit from OBRootWindow into OBScreen
Dana Jansens danakj@orodu.net
00e2c5aa
keep track of desktops...
Dana Jansens danakj@orodu.net
07d835a0
no need for focusraise anymore
Dana Jansens danakj@orodu.net
40449e19
allow to bind multiple functions to everything
Dana Jansens danakj@orodu.net
1f8b8425
killa a debug printf
Dana Jansens danakj@orodu.net
a460f0bc
add comments for rming masks from the events
Dana Jansens danakj@orodu.net
f3865bb1
ignore num/caps/scroll lock in events
Dana Jansens danakj@orodu.net
dbf077a5
rm debugging comment
Dana Jansens danakj@orodu.net
cc398633
handle maprequests after mapped correctly. thus making gaim happy again
Dana Jansens danakj@orodu.net
043822f6
grab the first known window type
Dana Jansens danakj@orodu.net
1297c7c1
clean up transient's parent's reference in destructor
Dana Jansens danakj@orodu.net
34cd50ec
gets transients! woot. tested and such.. no groups still tho
Dana Jansens danakj@orodu.net
a93f06f5
keep track of transients. however not group transients yet
Dana Jansens danakj@orodu.net
c7b22b4f
transient window support..halfway
Dana Jansens danakj@orodu.net
b9a7f6fb
SIGHIP not SUGHUP
Dana Jansens danakj@orodu.net
eef665c6
only focus new 'normal' windows
Dana Jansens danakj@orodu.net
180cdd0e
dont restart on HUP. badness. restart on USR1.
Dana Jansens danakj@orodu.net
a5df374f
lameass comment from the past
Dana Jansens danakj@orodu.net
cef2672e
restart on HUP
Dana Jansens danakj@orodu.net
d13f021b
add support for wm_window_role
Dana Jansens danakj@orodu.net
69c257fa
add focusraise.
comment functions.
Dana Jansens danakj@orodu.net
bbb403aa
add buttons to the tree.rm stupid comments in Makefile.ams
Dana Jansens danakj@orodu.net
97019b8b
adding buttons for styles
Dana Jansens danakj@orodu.net
6ca5c589
rm the xftlsfonts manpage
Dana Jansens danakj@orodu.net
f816a2ad
line up text in --help
Dana Jansens danakj@orodu.net
fdb4e652
move the approproate code for map request handling to the client class. this will deiconify the window when requested.
Dana Jansens danakj@orodu.net
aef2ab75
if a dock has the 'below' state set, then it goes in the normal window layer
Dana Jansens danakj@orodu.net
9ec2da72
let the user set the above/below stacking layer easily
Dana Jansens danakj@orodu.net
056ff3b5
better focus passing around for now
Dana Jansens danakj@orodu.net
ee1130f8
dont move/resize desktop windows or dock windows
Dana Jansens danakj@orodu.net
7bae7943
support net_wm_strut's! nothing to do with them yet however
Dana Jansens danakj@orodu.net
58cd3958
decor and functions set set right for !normal windows
Dana Jansens danakj@orodu.net
b02c91ca
more ideas in comments
Dana Jansens danakj@orodu.net
a6f5b33a
configure request optimizations
Dana Jansens danakj@orodu.net
8735c12d
shape works again. updating the delete_window protocol update the decor.
Dana Jansens danakj@orodu.net
7ec03b89
move where transient shit will be
Dana Jansens danakj@orodu.net
dd7af241
use the correct size for buttons even when there is no iconify button in use. (oops)
Dana Jansens danakj@orodu.net
83ff31f8
when a window focused that was the last focused already (this happens from grabs), dont unfocus it, just let it be
Dana Jansens danakj@orodu.net
de07cce0
update comment
Dana Jansens danakj@orodu.net
5e5879a5
set the window's state so the hint always exists
Dana Jansens danakj@orodu.net
bf404e09
make the frame window override-redirect
Dana Jansens danakj@orodu.net
e3b50c2d
kill the printf
Dana Jansens danakj@orodu.net
1fd2c6c2
s/True/true/
Dana Jansens danakj@orodu.net
c33ccf60
make the frame window override-redirect
Dana Jansens danakj@orodu.net
abd44571
remove a print
Dana Jansens danakj@orodu.net
951ccd15
Check for XKB extension
Derek Foreman manmower@gmail.com
ed250c3b
basedisplay!! GAH NO FUCK OFF!@!(
Dana Jansens danakj@orodu.net
f1f4cf57
raise when focused with net_active_window message
Dana Jansens danakj@orodu.net
d9e7a7b8
shading works from epist
Dana Jansens danakj@orodu.net
5f34069a
separate off execute, since its not a callback function
Dana Jansens danakj@orodu.net
a84666e9
dont focus desktops and docks via enter events
Dana Jansens danakj@orodu.net
8d5bd298
set desktop names on startup
Dana Jansens danakj@orodu.net
0c96f0fc
add desktop_names
Dana Jansens danakj@orodu.net
1a879a4e
desktopnames is supported already, just desktops arent :>
Dana Jansens danakj@orodu.net
15d3efa6
epist alt-tab works now! i.e. NET_ACTIVE_WINDOW is working
Dana Jansens danakj@orodu.net
867d3d9a
rm consts that wont compile on some libfreetype's
Dana Jansens danakj@orodu.net
06eb14fb
better focusing. support for the take_focus protocol
Dana Jansens danakj@orodu.net
8c4357fc
keep track of the last input event time
Dana Jansens danakj@orodu.net
4dd8520e
set the net support atoms
Dana Jansens danakj@orodu.net
fcb0820d
add support for net_active_window and net_close_window messages
Dana Jansens danakj@orodu.net
126d9fc8
client and stacking list work
Dana Jansens danakj@orodu.net
f5f0a2c2
add some todo shit
Dana Jansens danakj@orodu.net
527697d6
add -shadow
Dana Jansens danakj@orodu.net
0ea5de62
window states persist across restarts
Dana Jansens danakj@orodu.net
7417e2b5
window shading
Dana Jansens danakj@orodu.net
e6ae9e51
no default reset key
Dana Jansens danakj@orodu.net
1455ab9c
print when loaded
Dana Jansens danakj@orodu.net
06388d73
restart works
Dana Jansens danakj@orodu.net
a9a5f0d7
put event bindings in OBBindings too
Dana Jansens danakj@orodu.net
a0350e27
allow "event bindings" via ebind() for new windows/window enter/leave
Dana Jansens danakj@orodu.net
86a2bed6
remove the block on shutdown
Dana Jansens danakj@orodu.net
4a07868e
more old bb shit to go
Dana Jansens danakj@orodu.net
f8ea5764
rm the old bb src
Dana Jansens danakj@orodu.net
660ad41c
s/reset/resetChains/
Dana Jansens danakj@orodu.net
376ce003
rm old bb shit, and the old xeventhandler
Dana Jansens danakj@orodu.net
c89a13d5
binding_s_.hh
Dana Jansens danakj@orodu.net
13f2930d
share code for raising/lowering windows
Dana Jansens danakj@orodu.net
89e6d5c0
add/lower work
Dana Jansens danakj@orodu.net
37c2e0f3
dont print every focus/crossing event
Dana Jansens danakj@orodu.net
105bd729
provide capabilities to execute a command
Dana Jansens danakj@orodu.net
a4a8d09f
titlebar layouts work
Dana Jansens danakj@orodu.net
3a65ca61
run builtins.py
Dana Jansens danakj@orodu.net
31e37b3e
cleanup naming in OBBindings
Dana Jansens danakj@orodu.net
7db3ffec
you can bind buttons already about, and itll replace them
Dana Jansens danakj@orodu.net
16560155
provide these functions for callbacks
Dana Jansens danakj@orodu.net
1965483b
add builtins
Dana Jansens danakj@orodu.net
808f11a6
got rid of premade funcs
Dana Jansens danakj@orodu.net
7071b1f0
add comment
Dana Jansens danakj@orodu.net
1c8090fa
clicks on the client work as they should
Dana Jansens danakj@orodu.net
ca3e4630
moving a window is possible once again
Dana Jansens danakj@orodu.net
b35dae95
new mouse button code is seeming to work. you can move windows
Dana Jansens danakj@orodu.net
579ed5aa
trasitioning for new button event handling
Dana Jansens danakj@orodu.net
4721c538
typo
Dana Jansens danakj@orodu.net
e05d5f79
kill button release events
Dana Jansens danakj@orodu.net
54da8e40
check for valid callback in bind()
Dana Jansens danakj@orodu.net
9823b821
no more gloabsl
Dana Jansens danakj@orodu.net
9ec1f7cd
fire the master first
Dana Jansens danakj@orodu.net
14cf42ff
run scripts before initializing screens. kill the globals.py. add the python_get_stringlist.
Dana Jansens danakj@orodu.net
6d58d84f
add new action types
Dana Jansens danakj@orodu.net
66a26917
new code for bindings/callbacks. much sexier. now passes python classes back to the callbacks, and the storage of the callbacks in the code is much more clear. huzzah.
Dana Jansens danakj@orodu.net
745e8405
load config options from the python environment
Dana Jansens danakj@orodu.net
1161a90a
add click_raise global var
Dana Jansens danakj@orodu.net
098fa0ce
revert def_motion
Dana Jansens danakj@orodu.net
6a80c577
typo
Dana Jansens danakj@orodu.net
30a96266
add comments/headers
Dana Jansens danakj@orodu.net
f7e3eb57
add some globals to modify the default scripting behavior
Dana Jansens danakj@orodu.net
103372b0
create some globals for use in the python scripts
Dana Jansens danakj@orodu.net
a6661d58
bindings work. now they have a reset key too.
Dana Jansens danakj@orodu.net
d7a30f93
so close to keybindings. wont link for now.
Dana Jansens danakj@orodu.net
db1fb534
bindings work again. yay
Dana Jansens danakj@orodu.net
7e9fb9fb
add a comment
Dana Jansens danakj@orodu.net
390d447d
add some const
Dana Jansens danakj@orodu.net
5f8e2b75
more debug output changes
Dana Jansens danakj@orodu.net
40f3dfba
still busted
Dana Jansens danakj@orodu.net
509e6a8f
fucked up shit
Dana Jansens danakj@orodu.net
dabac4f7
i dont get how the fuck the key tree is changing..
Dana Jansens danakj@orodu.net
d4853f10
all broken now. working on adding mouse binding support
Dana Jansens danakj@orodu.net
9bf95672
put anticipated more-often-used modifier names in front
Dana Jansens danakj@orodu.net
4e047f8b
nicer translate()
Dana Jansens danakj@orodu.net
d011a510
way sexier buildtree
Dana Jansens danakj@orodu.net
a826509b
remove some old comments
Dana Jansens danakj@orodu.net
87ed1124
key chains get built properly!
Dana Jansens danakj@orodu.net
3661e55f
print an error for invalid modifier keys
Dana Jansens danakj@orodu.net
6d59c9cc
dont try use invalid modifiers
Dana Jansens danakj@orodu.net
9be4ad12
parses the modifiers
Dana Jansens danakj@orodu.net
1369b32d
use the member var _tree
Dana Jansens danakj@orodu.net
35c3e996
the bindings tree might work now
Dana Jansens danakj@orodu.net
ee14d8a3
Trying to make an iterative assimilate()
Derek Foreman manmower@gmail.com
624a06fd
build fixes for member funcs
Dana Jansens danakj@orodu.net
656f2fbe
make some static functions members of OBBindings
Dana Jansens danakj@orodu.net
78a85881
nicer output
Dana Jansens danakj@orodu.net
349ac3f0
can build trees with modifiers
Dana Jansens danakj@orodu.net
c9ca0e79
lets make it compile at least
Dana Jansens danakj@orodu.net
98c4b4cf
keybindings underway. dont work yet
Dana Jansens danakj@orodu.net
b8653c3a
better comments for the frame and its widgets' adjust() method
Dana Jansens danakj@orodu.net
1e7c9071
add --force for autopoint
Dana Jansens danakj@orodu.net
d222c565
draw only when needed
Dana Jansens danakj@orodu.net
5fdd493d
buttons have their pixmaps!
Dana Jansens danakj@orodu.net
8bae1352
fix braces
Dana Jansens danakj@orodu.net
8c2dfe5d
deal with when nothing has focus anymore
Dana Jansens danakj@orodu.net
30e46517
dont seg on multiple root clicks!
Dana Jansens danakj@orodu.net
65670114
code style fix
Dana Jansens danakj@orodu.net
b2079b56
delete the rects
Dana Jansens danakj@orodu.net
cb718e2a
handle reparent events..hopefully :>
Dana Jansens danakj@orodu.net
c6454160
add an unregister_all for python callbacks
Dana Jansens danakj@orodu.net
2c908c30
add enter/leave
Dana Jansens danakj@orodu.net
3a4f91b5
enter/leave and focus events are working beautifully
Dana Jansens danakj@orodu.net
51f8b875
flush before waiting for timers
Dana Jansens danakj@orodu.net
e9ec2ce0
some focus improvements..
Dana Jansens danakj@orodu.net
8c0fe026
focus works
Dana Jansens danakj@orodu.net
236f6805
fix booge bug that makes widgets not change their background when changing from a texture to a color when a color had been set previously
Dana Jansens danakj@orodu.net
2b2f81b9
support the button pressed resources better
Dana Jansens danakj@orodu.net
5029fc97
add newish stuff
Dana Jansens danakj@orodu.net
e32610e7
better support for gettext
Dana Jansens danakj@orodu.net
150c2862
build fixes for evetdispatcher
Dana Jansens danakj@orodu.net
6935f346
removing generated file
Dana Jansens danakj@orodu.net
4d33c907
add gettextize here
Dana Jansens danakj@orodu.net
895cfc36
readd Makevars
Dana Jansens danakj@orodu.net
52fb0aea
remove shit generated by gettextize
Dana Jansens danakj@orodu.net
9f444b2f
make bootstrap generate this shit
Dana Jansens danakj@orodu.net
2ae2b257
might not compile... ob uses its own widgets now, which subclass only the base otk widget. working on compressing focus events and handling them etc.
Dana Jansens danakj@orodu.net
3c61812e
conflicts with python too :\
Dana Jansens danakj@orodu.net
881fd226
no -pedantic :\ it fucks up on the python headers. sigh.
Dana Jansens danakj@orodu.net
41bdbec9
set CXXFLAGS better
Dana Jansens danakj@orodu.net
0816364a
handle mouse clicks in the python scripts now
Dana Jansens danakj@orodu.net
b34824a4
global python scripts. client motion/resizing is all done via python now
Dana Jansens danakj@orodu.net
b9a2430d
dist up the style data
Dana Jansens danakj@orodu.net
3827c1a7
python with callbacks!
Dana Jansens danakj@orodu.net
f9107b5c
use the -I's in CFLAGS for swig
Dana Jansens danakj@orodu.net
27193f65
define the openbox variable
Dana Jansens danakj@orodu.net
375156c1
*** empty log message ***
Dana Jansens danakj@orodu.net
efc875f5
return a NULL instead of segfaulting when asserts are off
Dana Jansens danakj@orodu.net
bcb8de97
const cast to the python function
Dana Jansens danakj@orodu.net
053bb2d1
rm the old guile stuff. let the user specify the path for the startup script. dont hardcode it to my home dir.
Dana Jansens danakj@orodu.net
70aa4b20
dont try import shit for now it dont work
Dana Jansens danakj@orodu.net
bf49e764
python. no more guile. python.
Dana Jansens danakj@orodu.net
5a139f72
add the swig generated files
Dana Jansens danakj@orodu.net
5869cc29
wrap otk with swig/python
Dana Jansens danakj@orodu.net
2e273ae3
removing old python bullshit
Dana Jansens danakj@orodu.net
fe55bb84
python interface is working!
Dana Jansens danakj@orodu.net
fdd5338f
correctly remove client borders when mapping a window with NW gravity
Dana Jansens danakj@orodu.net
5f78b514
using python and swig for now.
Dana Jansens danakj@orodu.net
3cf5a8b6
remove python from our c++ objects. going to try out swig
Dana Jansens danakj@orodu.net
065c6efa
otktimer works. imagecontrol is underway!
Dana Jansens danakj@orodu.net
4c9bf6c9
so amateur
Dana Jansens danakj@orodu.net
4b443976
move the extern OtkRect_Type to the .h
Dana Jansens danakj@orodu.net
fed74a94
add the OtkRect_Type extern
Dana Jansens danakj@orodu.net
d5a96f6e
add rect
Dana Jansens danakj@orodu.net
2ab939a2
put the *'s in the right place for pointers
Dana Jansens danakj@orodu.net
ca94e7a3
whitespace
Dana Jansens danakj@orodu.net
57fec1ab
typesafety
Dana Jansens danakj@orodu.net
55b2aaf9
add font
Dana Jansens danakj@orodu.net
16e1192e
more typesafety
Dana Jansens danakj@orodu.net
0820c510
make rect a proper pyobject. use "typesafety"
Dana Jansens danakj@orodu.net
9e4d1bba
code reorganize
Dana Jansens danakj@orodu.net
0a4391e5
nicer
Dana Jansens danakj@orodu.net
cca7a676
shit to init the module
Dana Jansens danakj@orodu.net
925048fe
incref the Py_None before returning it
Dana Jansens danakj@orodu.net
2efea6f2
remove the debug shit
Dana Jansens danakj@orodu.net
187e7db9
a color cache to be proud of!
Dana Jansens danakj@orodu.net
59b65db2
it compiles.. does it work?
Dana Jansens danakj@orodu.net
607bf10d
it compiles.. does it worK? HEH
Dana Jansens danakj@orodu.net
79ce1307
color and gccache etc are like, half done
Dana Jansens danakj@orodu.net
8d3d9ae7
add rect
Dana Jansens danakj@orodu.net
e5c5b4bf
add screeninfo
Dana Jansens danakj@orodu.net
7f111a94
rm more annoying shit
Dana Jansens danakj@orodu.net
54524ace
better paths
Dana Jansens danakj@orodu.net
edc47eb5
some experimentin with C and python api. part 1.
Dana Jansens danakj@orodu.net
68194ce9
update to cleaned up otk api
Dana Jansens danakj@orodu.net
06de24ec
more api cleanups
Dana Jansens danakj@orodu.net
723739da
api cleanups
Dana Jansens danakj@orodu.net
711d4a34
more typesafety
Dana Jansens danakj@orodu.net
b12b1cb7
be a little more typesafe
Dana Jansens danakj@orodu.net
82f4efb4
make the root window an obwidget type
Dana Jansens danakj@orodu.net
506b5dbf
segfault no more on root clicks
Dana Jansens danakj@orodu.net
700984bd
python has begun!
Dana Jansens danakj@orodu.net
977ecf1f
link in python not guile
Dana Jansens danakj@orodu.net
caa595a0
check for python. not for guile.
Dana Jansens danakj@orodu.net
9e0ae7ec
resizing works and whatnot
Dana Jansens danakj@orodu.net
38f8155b
can resize now too. compress motion events.
Dana Jansens danakj@orodu.net
732bfd19
you can move windows!
Dana Jansens danakj@orodu.net
f4e2fc32
guileize
Dana Jansens danakj@orodu.net
104ccc57
add stuff i rm'd from cvs
Dana Jansens danakj@orodu.net
83727b8e
oops adding the other OB Widgets
Dana Jansens danakj@orodu.net
77a8e116
can tell where events are coming from!
Dana Jansens danakj@orodu.net
db23fe05
do need display then
Dana Jansens danakj@orodu.net
e25a69cc
dont need to include application here
Dana Jansens danakj@orodu.net
25d1e353
use OB Widgets for everything
Dana Jansens danakj@orodu.net
d49d0104
erm
Dana Jansens danakj@orodu.net
84d777e8
make shit protected
Dana Jansens danakj@orodu.net
62d719d6
dont pass a const
Dana Jansens danakj@orodu.net
e7bb9066
show all children on show()
Dana Jansens danakj@orodu.net
70eb03ad
add an OBBackgroundWidget and use it for setting colors so far.
Dana Jansens danakj@orodu.net
6bf858e4
autogenned
Dana Jansens danakj@orodu.net
9e971aa6
add --copy
Dana Jansens danakj@orodu.net
dd3decc3
fuck you basewidget
Dana Jansens danakj@orodu.net
d691094c
handle config req's in dispatcher properly.
no more basewidget again.
Dana Jansens danakj@orodu.net
699de036
store the delta x/y for a motion sequence
Dana Jansens danakj@orodu.net
52cb7bd1
PROPERLY HANDLE CLIENT BORDERS
PROPERLY HANDLE CLIENT GRAVITY
YES!#%&*#!#!
windows can be moved/resized now (and the frame will play along)!
Dana Jansens danakj@orodu.net
1cfc7657
reverting.. that was lame
Dana Jansens danakj@orodu.net
c187fbdf
move event handling into basewidget again <FLINCH>
add the basewidget class
Dana Jansens danakj@orodu.net
301adc8b
split up widget and basewidget
Dana Jansens danakj@orodu.net
4e0b5fde
some cleanups
make the OBActions instance not static
Dana Jansens danakj@orodu.net
7dc834cc
make setStyle() recursive
Dana Jansens danakj@orodu.net
772ff278
keep a queue of press/releases and the positions, so that the first motion event already has a position to base off of, so it is not lost!!
Dana Jansens danakj@orodu.net
777be62a
change the builtin testing font
Dana Jansens danakj@orodu.net
143d2df0
handle mouse motion too
Dana Jansens danakj@orodu.net
fbc51644
add suport for XMotionEvents
Dana Jansens danakj@orodu.net
a21c0c55
handle keyboard input
Dana Jansens danakj@orodu.net
73f7a0bd
enter/leave actions work!
Dana Jansens danakj@orodu.net
559a0c67
remove temp include
Dana Jansens danakj@orodu.net
90ae66cc
better double click processing
Dana Jansens danakj@orodu.net
0a15728b
simple change in initialization
Dana Jansens danakj@orodu.net
56d7b547
button press/releases WORK
Dana Jansens danakj@orodu.net
925262be
erase from the map more efficiently
Dana Jansens danakj@orodu.net
4f01802c
actions class can sorta handle mouse enter/leave and press/release events
Dana Jansens danakj@orodu.net
23a7f188
add a skeletal OBActions class for user actions
Dana Jansens danakj@orodu.net
24924367
put a header where it belongs
Dana Jansens danakj@orodu.net
fa05dc56
give the grips cursors
Dana Jansens danakj@orodu.net
bdc491cc
map and unmap work great now yay
Dana Jansens danakj@orodu.net
9860b76c
unmap works.. once
Dana Jansens danakj@orodu.net
22bd294c
unregister for events when destroyed
Dana Jansens danakj@orodu.net
1fa445c8
handle configure requests
Dana Jansens danakj@orodu.net
bbdfd8f1
scratch that
Dana Jansens danakj@orodu.net
52b83a9d
handle configurerequests when we cant find a target registered for them
Dana Jansens danakj@orodu.net
829ce05c
reverse the logic. makes more sense i think
Dana Jansens danakj@orodu.net
861c829e
make shape work with the titlebar and handle
Dana Jansens danakj@orodu.net
ee896d9d
no space on teh top or bottom of text..
Dana Jansens danakj@orodu.net
d8de17b5
apply gravity when positioning the frame
Dana Jansens danakj@orodu.net
b8687262
better xft checks. require xft version 2
Dana Jansens danakj@orodu.net
26adc885
label and focuslabel update their textures automatically on a style change
Dana Jansens danakj@orodu.net
f890d31d
make setStyle virtual
Dana Jansens danakj@orodu.net
948feddc
update the textures being used on setStyle() calls
Dana Jansens danakj@orodu.net
bf95658d
show the Xft version nicer
Dana Jansens danakj@orodu.net
0089719c
put an S on the stick button
Dana Jansens danakj@orodu.net
cac2131e
add otk_test
Dana Jansens danakj@orodu.net
646a10bc
labels use half the bevel width for text
Dana Jansens danakj@orodu.net
c6f228f3
xft2 works. and works good.
Dana Jansens danakj@orodu.net
f7750210
decorations work/line up/etc yay. now for fonts...
Dana Jansens danakj@orodu.net
36d8e0c6
i dont know what i fixed but here it is
Dana Jansens danakj@orodu.net
a77f0fb3
handle map requests with the root window class
Dana Jansens danakj@orodu.net
958df771
compress property changes a bit
Dana Jansens danakj@orodu.net
11de5db0
better compression, dont lose events
Dana Jansens danakj@orodu.net
7efcff07
more compressing
Dana Jansens danakj@orodu.net
786834ab
compress property changes into a single change
Dana Jansens danakj@orodu.net
dca0c9f5
add an OBRootWindow class that watches events/properties on root windows
Dana Jansens danakj@orodu.net
74cb09bb
handle map events with the Openbox class
Dana Jansens danakj@orodu.net
1eb79b9a
<shrug>
Dana Jansens danakj@orodu.net
fb384845
window decorations use "unmanaged" widgets now.
Dana Jansens danakj@orodu.net
fac1a658
typo in comment
Dana Jansens danakj@orodu.net
4d1a90b0
add a recursive flags to OtkWidget::show/hide
dont delet eshit in the style from button's destructor
Dana Jansens danakj@orodu.net
cb5dfe7c
more ignore fodder
Dana Jansens danakj@orodu.net
6f0b72e8
big nono
Dana Jansens danakj@orodu.net
1d897f43
add the config header and emacs comment to all the .cc's
Dana Jansens danakj@orodu.net
638d4e6f
change the style-load-error msg
Dana Jansens danakj@orodu.net
12a95bfd
add an OtkAppWidget which are "root windows", i.e. the managed child of root, to be shown on the display.
Exit when all the "root windows" are hidden.
Support the WM_DELETE protocol to hide a "root window".
Dana Jansens danakj@orodu.net
3bc1f374
better msgs
Dana Jansens danakj@orodu.net
34a9f87e
print a warning if more than one main widget is set
Dana Jansens danakj@orodu.net
81e19827
set the close protocol on the app's main widget
Dana Jansens danakj@orodu.net
77342413
change how the widgets' _dirty flag works so that all inheritence levels of the widget class can use it
Dana Jansens danakj@orodu.net
d4d15160
new button that is a focuslabel
Dana Jansens danakj@orodu.net
3ce8b540
add a Label class that doesnt change with focus
Dana Jansens danakj@orodu.net
bd06e896
actually add this shit. yay
Dana Jansens danakj@orodu.net
6b977b2d
add OtkFocusLabel
Dana Jansens danakj@orodu.net
804b8cc6
check to make sure the style config could be loaded
Dana Jansens danakj@orodu.net
6223b6a3
:
Marius Nita marius@cs.pdx.edu
7df3b620
use the timer queue manager
Dana Jansens danakj@orodu.net
36ed114f
add a constructor for strut that takes margin sizes
Dana Jansens danakj@orodu.net
cd91abfd
include the right .h
Dana Jansens danakj@orodu.net
6f5e60f0
fixed bugs, got otkapp to select on a fd, modded widget to make use of otkapp, press/release events on buttons
Marius Nita marius@cs.pdx.edu
0680daee
there
Marius Nita marius@cs.pdx.edu
a3d036f6
added otkapplication and event stuff, changed other files to accomodate for this, changed the test.
no idea if anything runs yet. it compiles =)
Marius Nita marius@cs.pdx.edu
e53fbcf0
event handling classes
Marius Nita marius@cs.pdx.edu
1210e6d6
more crap
Marius Nita marius@cs.pdx.edu
0eb66576
initial commit
Marius Nita marius@cs.pdx.edu
9f1facd3
hopefully caught stupid assert
Marius Nita marius@cs.pdx.edu
c0909555
heh
Marius Nita marius@cs.pdx.edu
5be13639
better fix for configure
Dana Jansens danakj@orodu.net
e8b74211
erm
Marius Nita marius@cs.pdx.edu
a3b2e7d9
made resizing sexier
Marius Nita marius@cs.pdx.edu
d55ede56
use the rect
Dana Jansens danakj@orodu.net
bcb7dddf
dont set dirty if not resizing
Dana Jansens danakj@orodu.net
8d397c0d
update headers to whats required
Dana Jansens danakj@orodu.net
d7848fac
updates dependancies
Dana Jansens danakj@orodu.net
62326fde
dont hide label
Dana Jansens danakj@orodu.net
30a23b64
it resizes now
Dana Jansens danakj@orodu.net
5a71f5b0
only do shit if the size changed
Dana Jansens danakj@orodu.net
0856b11d
resizes
Dana Jansens danakj@orodu.net
d97db164
button::updte sets _dirty back to false
Dana Jansens danakj@orodu.net
6d68ac22
smarter expose. stop when the window is found
Dana Jansens danakj@orodu.net
b7dba88a
try make drawing work better but its busted
Dana Jansens danakj@orodu.net
b3822fcf
make stuff draw on expose events
Dana Jansens danakj@orodu.net
ed4696f6
more deps
Dana Jansens danakj@orodu.net
5f436ee8
blef
Dana Jansens danakj@orodu.net
e6026ed9
build otk_test
Dana Jansens danakj@orodu.net
e40e3d68
use configure's xft flags
Dana Jansens danakj@orodu.net
379ccf45
add libtoolize
Dana Jansens danakj@orodu.net
29d504e7
oh no im being ANONYMOUS
Dana Jansens danakj@orodu.net
597f4d81
comment
Dana Jansens danakj@orodu.net
5a9f3b5d
button crap
Marius Nita marius@cs.pdx.edu
2efa2b32
blef
Marius Nita marius@cs.pdx.edu
0cb338e0
gotta iron out this pressed button crap
Marius Nita marius@cs.pdx.edu
9834a687
widget update fix
Marius Nita marius@cs.pdx.edu
b1695477
working button class (minus fonts)
Marius Nita marius@cs.pdx.edu
b33e8f66
adding vertical dynamic resize code
Marius Nita marius@cs.pdx.edu
f0a1bdd6
er
Marius Nita marius@cs.pdx.edu
23f33127
add focuswidget to the build
Marius Nita marius@cs.pdx.edu
9e1b2549
updated for the new MAD SEXY widget and focuswidget
Marius Nita marius@cs.pdx.edu
f6724de2
HOOGE improvements. now widgets calculate their size according to the sizes of their children, they stretch stretchable elements to fit a maximum size, take into account bevel width, and much more
Marius Nita marius@cs.pdx.edu
09fa1f3a
initial commit of focus widget
Marius Nita marius@cs.pdx.edu
0da967a8
remove the redundant _size property in OBScreen, and set the geometry root property properly.
add otk::Point::setPoint
Dana Jansens danakj@orodu.net
c4a1fac4
manages windows that exist before running.
Dana Jansens danakj@orodu.net
24dd636f
watch for when screens cant be managed
Dana Jansens danakj@orodu.net
e503323d
HRM manageExisting() isnt working!
Dana Jansens danakj@orodu.net
06a80ce2
manage and unmanage windows in OBScreen
Dana Jansens danakj@orodu.net
cee30524
not using any old blackbox classes anymore!
Dana Jansens danakj@orodu.net
fb0dd6cf
some small cleanups
make style not take a screen separate from the image control
make style::load() take a const ref
Dana Jansens danakj@orodu.net
590f7f58
unused include
Dana Jansens danakj@orodu.net
9c398557
fix some errs
Dana Jansens danakj@orodu.net
fcbb8277
mad wicked xft checks
Dana Jansens danakj@orodu.net
cf0823dc
look for xft
Dana Jansens danakj@orodu.net
1694901f
added missing header
Marius Nita marius@cs.pdx.edu
5c7aabd7
wattrib doesnt get init-ed correctly when called from assert()
Marius Nita marius@cs.pdx.edu
2fb94406
small test for OtkWidget
Marius Nita marius@cs.pdx.edu
a923a550
added new files to the build
Marius Nita marius@cs.pdx.edu
cbf9dd0c
beginnings of button class
Marius Nita marius@cs.pdx.edu
f0e2abf5
can now map windows and render textures
Marius Nita marius@cs.pdx.edu
6852efaa
added accessors for elements
Marius Nita marius@cs.pdx.edu
c220fbc9
include stdio
Dana Jansens danakj@orodu.net
18378aab
initial commit
Marius Nita marius@cs.pdx.edu
e828f140
get the size of the label properly
Dana Jansens danakj@orodu.net
9c6ce2a8
adding the new OBScreen class actually!
Dana Jansens danakj@orodu.net
2528b445
new OBScreen class is somewhat complete now i think
Dana Jansens danakj@orodu.net
b067510b
cleanups.
OBScreen almost ready for some action
Dana Jansens danakj@orodu.net
00b96c78
fixups
Dana Jansens danakj@orodu.net
c5e4a185
x() and y() should return values :)
Dana Jansens danakj@orodu.net
1eef416e
include the point header
Dana Jansens danakj@orodu.net
18645bf9
get rid of unsigneds
Dana Jansens danakj@orodu.net
bf160f21
make methods for Rect that use Point
Dana Jansens danakj@orodu.net
8693dd95
document the Point class
Dana Jansens danakj@orodu.net
5dc5cc32
add the otk::Point type
Dana Jansens danakj@orodu.net
73f6bb1a
move screen.cc/hh to bbscreen.cc/hh
Dana Jansens danakj@orodu.net
410a8264
more layout fixes for the decoration elements
Dana Jansens danakj@orodu.net
3762f3c8
pretty sure all frame elements are placed correctly now
Dana Jansens danakj@orodu.net
6e2593ca
handle events on all of the client's decor as for the client
Dana Jansens danakj@orodu.net
0b17bd83
add \n's to the signal printfs
make the hash of all clients destroy properly
Dana Jansens danakj@orodu.net
36579183
size/position fixes
Dana Jansens danakj@orodu.net
f4244710
frames' subemelents are created and positioned and everything
Dana Jansens danakj@orodu.net
633df648
add a comment
Dana Jansens danakj@orodu.net
9d5865a1
support for the shape extension works!
Dana Jansens danakj@orodu.net
209b7f21
some more things to happen when changing styles on a frame
Dana Jansens danakj@orodu.net
f257e4b0
position the client inside the frame correctly.
unmanage all clients on shutdown
Dana Jansens danakj@orodu.net
b9cac214
WINDOWS GET FRAMES FRAME SHOW UP THEY WORK HUZZAH SOON THEYLL BE LIKE OLD TIMES!
Dana Jansens danakj@orodu.net
f2ae1c3b
fully documented OBClient
Dana Jansens danakj@orodu.net
b0149ef3
add a bunch of documentation
add updateIconTitle
Dana Jansens danakj@orodu.net
8b041e2f
add updateIconTitle
Dana Jansens danakj@orodu.net
ab88b1b9
reverse the automake/autoconf order.. for fun
Dana Jansens danakj@orodu.net
2a26eddc
add XXX to a comment that deserves it
Dana Jansens danakj@orodu.net
ec4548a1
s/NULL/0/
Dana Jansens danakj@orodu.net
19699623
dont need to specify otk:: when already in the namespace
Dana Jansens danakj@orodu.net
9c82f941
seg fix
Marius Nita marius@cs.pdx.edu
746e55f7
ugh, misspelling
Marius Nita marius@cs.pdx.edu
29d640fd
moved em to otk
Marius Nita marius@cs.pdx.edu
37be3ef9
omg, fat commit
pulled the style crap out of screen, i think the reconfigure case needs to be handled still.
moved util and config into otk, changed everything else accordingly.
code compiles and runs
Marius Nita marius@cs.pdx.edu
35fcb62d
added style class, moved util and config to otk
Marius Nita marius@cs.pdx.edu
0cf6e32e
new binary name
Dana Jansens danakj@orodu.net
f7f3cd40
set the client's desired decoration and function flags
Dana Jansens danakj@orodu.net
9dc76e1b
support for the Mwm Hints
Dana Jansens danakj@orodu.net
8a198930
blef
Dana Jansens danakj@orodu.net
16c00e34
show badwindow errors again
Dana Jansens danakj@orodu.net
83322ce3
dont show badwindow errors
Dana Jansens danakj@orodu.net
395b9e15
generate an 'openbox3' binary
Dana Jansens danakj@orodu.net
378ed4f5
maps and unmaps windows!
Dana Jansens danakj@orodu.net
a0cc4a7f
windows map again!
Dana Jansens danakj@orodu.net
076d45d0
read protocols too in OBClient
Dana Jansens danakj@orodu.net
78a7593a
OBAtom/XAtom has been moved to otk::OBProperty
Dana Jansens danakj@orodu.net
9df8ba78
determine if the user/application requested its initial position or not
Dana Jansens danakj@orodu.net
aa8047d6
use INT_MAX for the default max sizes
Dana Jansens danakj@orodu.net
116c95b8
get the min/max sizes
Dana Jansens danakj@orodu.net
9b23dff1
when creating an OBClient class, get all the info on that class immediately.
print the info to stdout for now too!
Dana Jansens danakj@orodu.net
7b343db2
comment the _window member
Dana Jansens danakj@orodu.net
63233a1f
make the group a window
add a XXX for later
Dana Jansens danakj@orodu.net
d363f720
fix compiling with the new strut (new namespace)
and fix general errors that broke compiling.

make xeventhandler find the OBClient for most events..
Dana Jansens danakj@orodu.net
d3b7c84d
moving strut into its own .hh. adding OBClient class
Dana Jansens danakj@orodu.net
d017db67
client.cc compiles
Dana Jansens danakj@orodu.net
22c770d9
include algoritm
Dana Jansens danakj@orodu.net
c9f36d34
finish conversion to the new otk::OBProperty class with its new interface
Dana Jansens danakj@orodu.net
68016ac3
mode documentation updates
Dana Jansens danakj@orodu.net
c822c895
updated documentation
Dana Jansens danakj@orodu.net
d2c380fb
add OBProperty to otk, which was formerly known as ob::XAtom
it does have a few interface changes
Dana Jansens danakj@orodu.net
641bc819
convert XAtom to OBAtom
Dana Jansens danakj@orodu.net
f25252a4
updated doxygen documentation
Dana Jansens danakj@orodu.net
c3946be0
initialize the _doshutdown member
Dana Jansens danakj@orodu.net
62356a72
complete the change from window.cc/hh to bbwindow.cc/hh
Dana Jansens danakj@orodu.net
6f8b36ff
moving window.cc/hh to bbwindow.cc/hh since we'll have our own window class coming in to replace it slowly
Dana Jansens danakj@orodu.net
2f905c7e
deal with client events in the same way now
Dana Jansens danakj@orodu.net
45c2589e
xeventhandler can handle everything except client messages now.
blackbox is no longer the event handler
Dana Jansens danakj@orodu.net
7ebccbf3
new OBTimer interface
Dana Jansens danakj@orodu.net
578bedc2
fix for documentation
Dana Jansens danakj@orodu.net
d0b55be2
OBTimer is fully documented.
change how the timerqueuemanager makes timers fire recursively, so that OBTimer::halt could go away
Dana Jansens danakj@orodu.net
d557e816
include the right .hh!
Dana Jansens danakj@orodu.net
6bba50ef
include the timer manager class header
Dana Jansens danakj@orodu.net
98341d7d
make doxygen skip stuff inside
#ifndef DOXYGEN_IGNORE
#endif
blocks
Dana Jansens danakj@orodu.net
b0a532db
split the OBTimerQueueManager and TimerQueue into their own files
Dana Jansens danakj@orodu.net
d4d89ce0
documenting classes!
Dana Jansens danakj@orodu.net
e9085c3a
documented
Dana Jansens danakj@orodu.net
143a38f7
not using a custom stlyesheet anymore
Dana Jansens danakj@orodu.net
b5bff953
add doxygen to the project. 'make doc' builds the doxygen stuff. you need doxygen and graphviz installed to generate it properly
Dana Jansens danakj@orodu.net
cb71b2fb
stop using the Utf8 functions. will use them later for ONLY Utf-8 encoded strings!!
Dana Jansens danakj@orodu.net
f8f73b74
missing include
Dana Jansens danakj@orodu.net
9259ec57
new timer infrastructure. takes a function pointer for the timeout, with a void* parameter (useful for holding a class instance!)
Dana Jansens danakj@orodu.net
ad80ef0f
make it shutdown on signals
Dana Jansens danakj@orodu.net
42e406d0
read rc3 as the default file now
Dana Jansens danakj@orodu.net
373de009
new timers, timer manager
Dana Jansens danakj@orodu.net
c5f62494
fix compiling in display.
make the timer manager work in and of itself
Dana Jansens danakj@orodu.net
8ad26109
ue default scope timevals
Dana Jansens danakj@orodu.net
2bf55be0
add comment
Dana Jansens danakj@orodu.net
ace8c889
WE DONT USE BASE DISPLAY FOR ANYTHING ANY MORE!!@^!*@*!! YAY
Dana Jansens danakj@orodu.net
37e56007
move Rect and PointerAssassin into the toolkit
Dana Jansens danakj@orodu.net
fa8cefef
add an OBDisplay class and the old ScreenInfo class to the toolkit.
wrap the toolkit in the 'otk' namespace
it compiles. broke the timer cache tho.
Dana Jansens danakj@orodu.net
fcfb532d
include the new screeninfo.o
Dana Jansens danakj@orodu.net
dd7b8b67
split the screeninfo class out to its own files
Dana Jansens danakj@orodu.net
bbdca491
gettext is ready to rock and roll
Dana Jansens danakj@orodu.net
e5d63c07
updated with goals for 3.0
Dana Jansens danakj@orodu.net
643fbfa7
not using admin/ dir anymore
Dana Jansens danakj@orodu.net
356e4a02
stupid stuff
Dana Jansens danakj@orodu.net
a3b64aae
put 'cvs' in the version tag
Dana Jansens danakj@orodu.net
0eff3cc4
make strings in main.cc translatable
Dana Jansens danakj@orodu.net
b79c74fc
add cvs ignores for the new dirs
Dana Jansens danakj@orodu.net
6b905206
make gettext better. updates for autoconf
Dana Jansens danakj@orodu.net
45e8330c
dont have any languages yet
Dana Jansens danakj@orodu.net
d9c66049
add some text files..
dont have our own libintl
Dana Jansens danakj@orodu.net
90f24142
add gettext
change CXXFLAGS back to CPPFLAGS in the .am's
Dana Jansens danakj@orodu.net
b1cc4b4f
update configure.ac to newer rules
Dana Jansens danakj@orodu.net
4c05a620
libtool stuff
Dana Jansens danakj@orodu.net
f127273a
make compile again
Dana Jansens danakj@orodu.net
1824e6b1
add a cvsignore for otk.
make sexier automake shit
Dana Jansens danakj@orodu.net
bca71305
toolkit addition
Marius Nita marius@cs.pdx.edu
35462479
changed for toolkit
Marius Nita marius@cs.pdx.edu
90c5fdc2
changed to reflect toolkit change
Marius Nita marius@cs.pdx.edu
110a1eee
moved files into otk
Marius Nita marius@cs.pdx.edu
9247a7a6
oops
Marius Nita marius@cs.pdx.edu
85c41a1a
adding toolkit beginnings
Marius Nita marius@cs.pdx.edu
a7c71b36
no more epist compiling
Dana Jansens danakj@orodu.net
c796dccd
make bsetroot compile with the new codebase
Dana Jansens danakj@orodu.net
6b438d90
these files are generated by bootstrap
Dana Jansens danakj@orodu.net
eb19a6b6
make epist compile with the new code base
Dana Jansens danakj@orodu.net
54c96668
look for a CC to make automake happy
Dana Jansens danakj@orodu.net
19fa297a
configure script changed to .ac
Dana Jansens danakj@orodu.net
86bef745
big fat commit..
Dana Jansens danakj@orodu.net
75f84f95
add comment for later
Dana Jansens danakj@orodu.net
7bf96a91
compiles now. uses xft2
remove the nls remainders
Dana Jansens danakj@orodu.net
0caf2ba9
rmove old convert.awk
Dana Jansens danakj@orodu.net
4aaf063a
rming all the nls bullshit. gettext.
Dana Jansens danakj@orodu.net
db451d95
rename, remove bullshit. ya
Dana Jansens danakj@orodu.net
60b016b7
no more menus, at last. woop
Dana Jansens danakj@orodu.net
87e63d53
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.
Scott Moynes smoynes@nexus.carleton.ca
9af642d2
Ignore dot files in the styles directory.
Scott Moynes smoynes@nexus.carleton.ca
be141c2a
take out useless(?) assert
Dana Jansens danakj@orodu.net
1e36acfd
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.
Scott Moynes smoynes@nexus.carleton.ca
dc4957ee
bumped up version
Scott Moynes smoynes@nexus.carleton.ca
8b55442b
use drop shadow height in the font height.
honour rc file config option for drop shadows with new shadow code
Scott Moynes smoynes@nexus.carleton.ca
8552ba2a
xft drawing on offsets once and for all
Scott Moynes smoynes@nexus.carleton.ca
d974e00b
fixed the drop shadow window clearing bug in Basemenu
Scott Moynes smoynes@nexus.carleton.ca
ccf6cfad
Fix XFT redraw of text. Still needs slight work for the shadow in Basemenu
Scott Moynes smoynes@nexus.carleton.ca
402e229e
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
Scott Moynes smoynes@nexus.carleton.ca
be127cb4
make an *xft.flags: shadow flag to have per style resource shadows
Scott Moynes smoynes@nexus.carleton.ca
b3b0926f
spit an error when no config file is found, to avoid confusing lex and the user.
Marius Nita marius@cs.pdx.edu
da0b7680
bugfixes update
Marius Nita marius@cs.pdx.edu
8ea3db57
more fixes, better sanity detection and error messages. it shouldn't hog the keyboard in any case now. it won't grab when modifiers or keys are borked.
Marius Nita marius@cs.pdx.edu
2037631f
Fixing the stupid case when an invalid key is given and epist would hog the keyboard
Marius Nita marius@cs.pdx.edu
5bb8616d
added user option to modify raise behavior when stackedCycling is on
Marius Nita marius@cs.pdx.edu
24d14b5f
fixed typo
Scott Moynes smoynes@nexus.carleton.ca
012d0e15
tyop
Scott Moynes smoynes@nexus.carleton.ca
ef3cec40
documentation for 2.2
Scott Moynes smoynes@nexus.carleton.ca
fa3fb793
oops. fix workspace warping merge buglet
Scott Moynes smoynes@nexus.carleton.ca
692bbfd3
updated changelog for 2.2 release
Scott Moynes smoynes@nexus.carleton.ca
ce89be6a
added documentation for the pressed focus/unfocus and fixed some minor
formatting errors
Scott Moynes smoynes@nexus.carleton.ca
987cf7cc
Added style resources for window.button.pressed.focus: and
window.button.pressed.unfocus:
Documentation to be added.
Scott Moynes smoynes@nexus.carleton.ca
efd6c59c
adding latvian translation
Scott Moynes smoynes@nexus.carleton.ca
1c0ddc84
Added latvian (lv_LV) translation from 2_1 branch
Scott Moynes smoynes@nexus.carleton.ca
080ba7f9
remove debug code in window menu placement
Scott Moynes smoynes@nexus.carleton.ca
72a2e987
merged with 2_1-merged-to-HEAD-2002-09-30
Scott Moynes smoynes@nexus.carleton.ca
783fac59
snap a window menu to the bottom of the screen if it is positioned too low.
Scott Moynes smoynes@nexus.carleton.ca
5b8ec886
fixed menu placement on menus with very small windows
Scott Moynes smoynes@nexus.carleton.ca
a0a31c3f
changes to reflect the improvements to the error reporting in the parser.
Marius Nita marius@cs.pdx.edu
05690be0
unignore yacc/lex generated files. we don't want to ignore these.
Marius Nita marius@cs.pdx.edu
c2afc72a
Fix small compile error on g++3.
Marius Nita marius@cs.pdx.edu
1852347f
Added titlebar layout documentation
Scott Moynes smoynes@nexus.carleton.ca
ed438533
fixed tyop
Scott Moynes smoynes@nexus.carleton.ca
9215a741
Documented bitmap buttons in manpage
Scott Moynes smoynes@nexus.carleton.ca
5c328c51
using std::* in #ifndef XFT
Scott Moynes smoynes@nexus.carleton.ca
e0d619e3
added a configure flag for enabling/disabling bitmap buttons
Scott Moynes smoynes@nexus.carleton.ca
c196ecd8
more bitmap merge fixes
Scott Moynes smoynes@nexus.carleton.ca
01732a20
Some bitmap bugfixes
Fixed parameters to XFillRectangle, remoced old debug code.
Scott Moynes smoynes@nexus.carleton.ca
d947f35d
bumped up version number after bitmap merge
Scott Moynes smoynes@nexus.carleton.ca
c2d992a3
merged bitmap buttons
Scott Moynes smoynes@nexus.carleton.ca
499b1620
added code that makes sure apps executed by epist don't die when epist is killed.
Marius Nita marius@cs.pdx.edu
d4b6232f
alt-rightclick resizing fix
Dana Jansens danakj@orodu.net
15ca6904
make alt-right click resizing work on the window handles
Dana Jansens danakj@orodu.net
185a1a6a
new bsetbg woop with bugfixes one command line arg handling
Dana Jansens danakj@orodu.net
6b1459e6
rename fieron to not have a cap letter
Dana Jansens danakj@orodu.net
edbe065e
add Fieron style
Dana Jansens danakj@orodu.net
82c414bb
Initial commit, for the Openbox 2.1.0 release
Marius Nita marius@cs.pdx.edu
6120b03e
add autom4te.cache
Dana Jansens danakj@orodu.net
ce531352
bindable/disableable root/workspace menus
Dana Jansens danakj@orodu.net
4128a725
add drop shadows
Dana Jansens danakj@orodu.net
3de15d05
default drop shadows to off
Dana Jansens danakj@orodu.net
70d93941
actually work for windows that dont specify the input hint
Dana Jansens danakj@orodu.net
7f001973
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.
Dana Jansens danakj@orodu.net
70fed8c9
dont draw borders past the end of a texture
Dana Jansens danakj@orodu.net
8d54452b
lighter shadow
Dana Jansens danakj@orodu.net
5e9f6a16
call the window's processEvent() directly instead of the screen's, since it didn't actually do anything with the event.
Dana Jansens danakj@orodu.net
01a6d810
increase the reported font size when it has a shadow
Dana Jansens danakj@orodu.net
2c01b1aa
drop shadow with color of text
Dana Jansens danakj@orodu.net
076ef8c1
better ropshadow?
Dana Jansens danakj@orodu.net
02c028d8
(optional) drop shadows for fonts
Dana Jansens danakj@orodu.net
a0537f89
state gnome 2 support
Dana Jansens danakj@orodu.net
c1e79a4a
back out the thick X button
Dana Jansens danakj@orodu.net
c891ad09
gnoem2 fixes for taskbar
Dana Jansens danakj@orodu.net
a575772f
new border code
Dana Jansens danakj@orodu.net
23aea9b4
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)
Dana Jansens danakj@orodu.net
1f5dd220
watch for sticky windows when mapping, let them show.
Dana Jansens danakj@orodu.net
18f704ed
better error reporting. epist now reports the line number and token a parser error occurs at, as well as invalid actions.
Marius Nita marius@cs.pdx.edu
37ccfef8
took out some debug messages
Marius Nita marius@cs.pdx.edu
0b72760c
some debug messages for bug testing
Marius Nita marius@cs.pdx.edu
7c101a50
add woodblock's sticky button shit
Dana Jansens danakj@orodu.net
2685eeb7
when trying to find a window on the screen to focus, dont use non-focusable windows
Dana Jansens danakj@orodu.net
42e00b1c
sync with 2.0 branch (fix auto-rasie with gtk issue)
Dana Jansens danakj@orodu.net
01db552d
add the cvsignore for this dir
Dana Jansens danakj@orodu.net
e93ce605
sync with the 2.0 branch (make XAtom::getValue not use an XGrabServer)
Dana Jansens danakj@orodu.net
923c381d
sync with the 2.0 branch
Dana Jansens danakj@orodu.net
e8116239
fixed debug flag being forced on.
Scott Moynes smoynes@nexus.carleton.ca
767e04e0
Added a optional omnipresent button, enabled using the title bar layout key "S".
Needs to be documented, and the drawing tweaked a bit.
Scott Moynes smoynes@nexus.carleton.ca
d139e299
cleanups and add a server grab in getValue
Dana Jansens danakj@orodu.net
d5c9224d
systray windows fix
Dana Jansens danakj@orodu.net
5033ce0a
proper mask t catch the unmap events on systray windows
Dana Jansens danakj@orodu.net
4d70603f
revert a change for where new windows go in the list
Dana Jansens danakj@orodu.net
b04f5a85
include the config.h header
Dana Jansens danakj@orodu.net
f5a1f592
fix shape support
Dana Jansens danakj@orodu.net
07e619eb
Added missing header for clearShape, which was breaking compilation
Marius Nita marius@cs.pdx.edu
0026b391
latest changessssshape changes, give vR credit
Dana Jansens danakj@orodu.net
9667f3a0
fix shape.
a) it didnt work when it added shape after mapping
b) removing shape wouldnt have worked right either
Dana Jansens danakj@orodu.net
53b6f16b
initial checkin
Marius Nita marius@cs.pdx.edu
bb9a37ec
Draw close button with line_width of 2.
Scott Moynes smoynes@nexus.carleton.ca
217488ee
dont change last active while cycling around in stacked mode
Dana Jansens danakj@orodu.net
48a45008
dont use an invalid iterator in handleKeypress, also, update _last_active is it needs to be
Dana Jansens danakj@orodu.net
b81dbf9a
update the active iterator after moving the active window to the front of the list
Dana Jansens danakj@orodu.net
bf575744
added config.h includes
Marius Nita marius@cs.pdx.edu
0116e2c4
dont use what could be an invalid iterator
Dana Jansens danakj@orodu.net
da8d6b3f
dont break the focused window iterator
Dana Jansens danakj@orodu.net
afbc5546
in stacked cycling mode, insert new clients at the front of the list
Dana Jansens danakj@orodu.net
eca8fd76
dont auto-raise sticky windows, theyre on the current workspace too
Dana Jansens danakj@orodu.net
656478e3
Added On/Off options to the grammar, for parameters.
Marius Nita marius@cs.pdx.edu
572acce5
Fixed a couple of glitches, added on/off values for boolean
Marius Nita marius@cs.pdx.edu
ba1a7156
add the options with default values
Dana Jansens danakj@orodu.net
9d280b87
Modified the way focus is handled so the focus window is always at the top of the stack when doing stacked cycling. yay or something.
Marius Nita marius@cs.pdx.edu
fa301a99
Fixed a boob mistake which was causing KeyRelease events to not be handled properly if keys were relased quickly.
Marius Nita marius@cs.pdx.edu
a95a6bd8
Fixed goof in config interface. All the functions are now named getValue(), since they have different signatures.
Marius Nita marius@cs.pdx.edu
afa215ef
sync with bb-cvs
Dana Jansens danakj@orodu.net
f763814b
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
Dana Jansens danakj@orodu.net
38b124e1
Update to reflect the stacked cycling additions
Marius Nita marius@cs.pdx.edu
7ebe5041
updated to reflect the new changes in epist.[ly]
Marius Nita marius@cs.pdx.edu
a991c575
Epist now supports stacked cycling. :D/-< :D\-<
Added several functions and modified several other ones to grab/ungrab the keyboard, handle KeyRelease events, modified focus behavior in cycleWindow, and more.
Changed some calls for the new config format.
Marius Nita marius@cs.pdx.edu
d65127c2
Added functions for setting boolean parameters
Marius Nita marius@cs.pdx.edu
8857fa2c
Slight modification to make it use the new config class calling convention
Marius Nita marius@cs.pdx.edu
483b8496
Made case requirements less strict (you can now have "control" as well as "Control") and added True/False grammar rules for parameters.
Marius Nita marius@cs.pdx.edu
11e643f4
New and improved configuration management. It now handles bool, string and number types, and all conversions happen at initialization time, so retrieval is faster. (yay)
Marius Nita marius@cs.pdx.edu
a6d6f011
sync with blackbox
get rid of the default limit on window sizes
Dana Jansens danakj@orodu.net
85612861
don't limit how big a window can be resized
Dana Jansens danakj@orodu.net
d9c0cfed
unmanage desktop windows on shutdown
Dana Jansens danakj@orodu.net
3ad19e4a
format comment
Dana Jansens danakj@orodu.net
3a76276f
include config.h in cc's before including openbox headers
use bison instead of yacc
Dana Jansens danakj@orodu.net
3b15388c
config request with only resize honors window's gravity
Dana Jansens danakj@orodu.net
328b861d
use the window's gravity when handling a configureRequest event for a resize only
Dana Jansens danakj@orodu.net
e39c8377
add recent fixes
Dana Jansens danakj@orodu.net
9b6ac105
add toggleDecorations
Dana Jansens danakj@orodu.net
db3e93a3
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)
Dana Jansens danakj@orodu.net
45863e60
clean up the new focusing code for workspace switching
Dana Jansens danakj@orodu.net
3ee18e2f
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
Dana Jansens danakj@orodu.net
2c1ce308
dont add sticky windows to the stacking list more than once
Dana Jansens danakj@orodu.net
23e92e11
put !normal windows in the general client list too
Dana Jansens danakj@orodu.net
82bf5b55
put !normal windows in the stacking client list as well as the normal client list
Dana Jansens danakj@orodu.net
b1da899b
try see if this broke gnome-panel
Dana Jansens danakj@orodu.net
bf9ad028
add showRoot/Workspace menu plus a blurp about Openbox specific actions
Dana Jansens danakj@orodu.net
dd7ee168
Capitalization fix, adding documentation for options, 2-d workspaces, and toggleGrabs
Marius Nita marius@cs.pdx.edu
e9c1208f
Safari_Al's patch which fixes inconsistent capitalization in some actions.
Marius Nita marius@cs.pdx.edu
81cdff06
don't unmap/remap sticky windows on a workspace change, but still make sloppy focus work right.
Dana Jansens danakj@orodu.net
0f4737f0
put !normal windows in the screen window list
catch systray apps unmap/destroy events
Dana Jansens danakj@orodu.net
8344443c
handle systray apps closing..
Dana Jansens danakj@orodu.net
57a46b4f
default to line width of 0, which is more efficient than 1
Dana Jansens danakj@orodu.net
cbf4bb3d
use the snap offset as the margin for placing windows instead of a fixed value of 1
Dana Jansens danakj@orodu.net
8dc38853
dont autoraise when the window isn't going to get focused either. sdl-fullscreen bug fixed.
Dana Jansens danakj@orodu.net
d1b2c031
get default line width to 1, and make it a more easily used parameter in BPen
Dana Jansens danakj@orodu.net
469b9b30
give gc's/BPen's a width
Dana Jansens danakj@orodu.net
7cac1f19
toggleGrabs action added
Marius Nita marius@cs.pdx.edu
22e8615f
modified focus() to accept a no-raise parameter
Marius Nita marius@cs.pdx.edu
78a8ca9e
the comment more accurate
Dana Jansens danakj@orodu.net
33d2cecc
s/__openbox_version/OPENBOX_VERSION
Dana Jansens danakj@orodu.net
989db59a
adding the cvsignore file for the new nls dir
Dana Jansens danakj@orodu.net
a1b96061
sync with bb-cvs
Dana Jansens danakj@orodu.net
266a35a9
2.1.0 is our next target
Dana Jansens danakj@orodu.net
aa827d0c
fixed getStringValue failure case and compiler warnings
Marius Nita marius@cs.pdx.edu
4d0f46e5
dont use __ for variables.. its illegal. (thanks ppl for the patch.)
Dana Jansens danakj@orodu.net
a0448385
fixed unsigned/signed comparison warnings
Marius Nita marius@cs.pdx.edu
8a48fff7
support for showing the root and workspace menu with epist
Dana Jansens danakj@orodu.net
f44e3ed9
toggleDecorations!
Dana Jansens danakj@orodu.net
cc5bde6d
toggledecor almost done
some code cleanups/fixes
Dana Jansens danakj@orodu.net
d181f1ad
dont grab other windows while warping in opaque mode
Dana Jansens danakj@orodu.net
d7a65513
dont pass an unused parameter, and return an unused value
Dana Jansens danakj@orodu.net
75f124a2
warping is ruling!
Dana Jansens danakj@orodu.net
9d40660b
warping works!
Dana Jansens danakj@orodu.net
a9bfdcaa
making warping work.. hopefully.
fix for leaving !normal windows behind in the window list
Dana Jansens danakj@orodu.net
183cf03a
set a workspace and window number even for !normal windows
Dana Jansens danakj@orodu.net
aa9ade7a
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.
Dana Jansens danakj@orodu.net
13064214
added parameter to the move windows. it defaults to 1.
Scott Moynes smoynes@nexus.carleton.ca
9be80896
changeWorkspaceHorz() now cycles
Scott Moynes smoynes@nexus.carleton.ca
5c284ecc
cleaned up changeWorkspaceVert() a bit
Scott Moynes smoynes@nexus.carleton.ca
dfaa9c9f
added cycling to the grid stuff
Scott Moynes smoynes@nexus.carleton.ca
bd05f7ec
uber patch.
Added configuration options.
Added workspace grid changing.
Added keychain timeouts.
Fixed some whitespace.
Scott Moynes smoynes@nexus.carleton.ca
b1223a2a
change how the pointer is moved.. try make this more consistant when warping at high speeds.
Dana Jansens danakj@orodu.net
551a17d2
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.
Dana Jansens danakj@orodu.net
2d114880
add -help and -version (thanks ppl)
Dana Jansens danakj@orodu.net
8839db04
fix indenting and caps
Dana Jansens danakj@orodu.net
24f64750
change default style to mbdtex
Dana Jansens danakj@orodu.net
5af33220
change the font to be nicer
Dana Jansens danakj@orodu.net
c5d10bd1
add the date
Dana Jansens danakj@orodu.net
8b5a616b
group next/prev commands together
Dana Jansens danakj@orodu.net
0fa43608
specify which parameters can be specifyed for cycling windows and workspaces
Dana Jansens danakj@orodu.net
2f0d10cc
ignore the new generated manpage
Dana Jansens danakj@orodu.net
7590b376
mention that options dont exist in epist yet
Dana Jansens danakj@orodu.net
e979c2ad
fix breaks/indents for the options section
Dana Jansens danakj@orodu.net
2f919fc7
add a .br
Dana Jansens danakj@orodu.net
7c841bbf
add a manpage for epistrc. Update the epist mapage a bit.
Dana Jansens danakj@orodu.net
8e50f87c
ignore the generated manpage
Dana Jansens danakj@orodu.net
6bf013e2
dont lose the last-focused window when all windows lose focus
Dana Jansens danakj@orodu.net
481fd73d
mention epist with bbkeys
Dana Jansens danakj@orodu.net
e5379ad5
add epist and xftlsfonts in teh see also.
s/BLACK/OPEN/
Dana Jansens danakj@orodu.net
4f30ee54
add authors for epist in manpage
Dana Jansens danakj@orodu.net
9af40759
add manpages for epist and for xftlsfonts
Dana Jansens danakj@orodu.net
963473ba
some new functions added to the rc file
Scott Moynes smoynes@nexus.carleton.ca
a2db09b8
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.
Dana Jansens danakj@orodu.net
544da8c7
set up a default rc file, and change teh user rc to ~./openbox/epistrc
Dana Jansens danakj@orodu.net
13cf497f
Added default rc file
Scott Moynes smoynes@nexus.carleton.ca
b660ebe8
add xft support
Dana Jansens danakj@orodu.net
0e9e17a2
authors updates
Dana Jansens danakj@orodu.net
99a38842
catch tge XFT define, from config.h
Dana Jansens danakj@orodu.net
a3f7fa32
add Xft support to all of the styles
Dana Jansens danakj@orodu.net
3a6e590d
proper scoping
Dana Jansens danakj@orodu.net
41a38bbd
basename() returns a string sometimes.. go shaleh. but this makes it work both ways.
Dana Jansens danakj@orodu.net
02d144a8
no more relavent
Dana Jansens danakj@orodu.net
f7604fbe
fix nls' that didnt build
Dana Jansens danakj@orodu.net
b19065cc
fix the ko_KR makefile so it builds
Dana Jansens danakj@orodu.net
dd6ccfd2
this file is generated,and not supposed to eb in cvs
Dana Jansens danakj@orodu.net
0479a9f2
build something when theres no xft support
Dana Jansens danakj@orodu.net
352163bd
make sure the increments are > 0.
Dana Jansens danakj@orodu.net
89bd8afd
build epist normally, dont link in stuff it doenst need to yet
Dana Jansens danakj@orodu.net
eb1f1b35
caps
Dana Jansens danakj@orodu.net
0612318a
add the paper theme
Dana Jansens danakj@orodu.net
bf418b36
had the wrong name in it
Dana Jansens danakj@orodu.net
083e9491
s/black/open
Dana Jansens danakj@orodu.net
a179ffb7
new 2.0 authors/contributors
Dana Jansens danakj@orodu.net
defd5e4c
add all the changes made for 2.0.0 to the changelog
Dana Jansens danakj@orodu.net
73cf4b15
sync with bb-cvs
Dana Jansens danakj@orodu.net
a0c7fe1f
sync with bb-cvs.
Add the if(sticky) check back into the changing-transient-state code.. test this with vanrijn/bbkeys/klaunch!
Dana Jansens danakj@orodu.net
2241f5c8
better track of the last window on a screen.
Dana Jansens danakj@orodu.net
f21fbf1d
sync with bb-cvs
Dana Jansens danakj@orodu.net
d856db56
oops. buglet. extra for loop
Scott Moynes smoynes@nexus.carleton.ca
b0164701
testing whether i caused a bug with this code
Dana Jansens danakj@orodu.net
74a4bc01
properly watch for windows on other workspaces when mapping.
Dana Jansens danakj@orodu.net
4bebd476
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.
Dana Jansens danakj@orodu.net
75b6a5a3
added the ability to have numeric arguments for the cycle window/workspace functions.
eg.
Control-Mod1-Down nextWorkspace 6;
Control-Mod1-Right nextWorkspace;
Would allow some form of relative workspace flipping. It might be much less useful for cycling windows.
Scott Moynes smoynes@nexus.carleton.ca
ef66d63b
dont let windows get initially mapped when they arent on the current workspace
Dana Jansens danakj@orodu.net
91b07843
don't actually focus windows when adding them to the current workspace. this is already handled elsewhere, ands the window probably isnt evenmapped yet
Dana Jansens danakj@orodu.net
1a145bba
resize with alt+right click in all the same places that alt+left click moves
Dana Jansens danakj@orodu.net
aa2ec5f2
don't make Decor_Close depend on MWM hints. Thats not part of them.
Dana Jansens danakj@orodu.net
6838ab25
fix whitespace
Dana Jansens danakj@orodu.net
f633c5f0
allow the user to specify the modmask used to mouse events on windows
Dana Jansens danakj@orodu.net
6e07a64d
add the FlatBorder texture type
Dana Jansens danakj@orodu.net
ff3d1217
when updating the client menu for windows that aren't in the client menu, just ignore the request gracefully
Dana Jansens danakj@orodu.net
175a7e5d
sync with bb-cvs
Dana Jansens danakj@orodu.net
0f710360
support the blackbox hints right and the blackbox attributes for decoration state
Dana Jansens danakj@orodu.net
35818cc2
reconfigure wont break decor highlighting now
Dana Jansens danakj@orodu.net
36db2d24
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
Dana Jansens danakj@orodu.net
5b088be9
fixed spelling mistake
Scott Moynes smoynes@nexus.carleton.ca
bc3268b6
handle toolbars and utility windows proper. also, no more crashes from kpager (i really hope :P), at least not the same way
Dana Jansens danakj@orodu.net
01096f86
sync with blackbox-cvs
Dana Jansens danakj@orodu.net
2d5e1c55
don't let windows snap to themself
Dana Jansens danakj@orodu.net
652addd2
allow modifierless root keys
Dana Jansens danakj@orodu.net
7d72843f
adding egnerated files to cvs
Dana Jansens danakj@orodu.net
a9068215
watch for a failed opening of the X server!
Dana Jansens danakj@orodu.net
027dbd1c
watch for transient == ~0ul
Dana Jansens danakj@orodu.net
f3a54e41
use the old method for showing windows on workspace change
Dana Jansens danakj@orodu.net
97e86c91
A few bug fixes and change the config to case insensitive and be more
tolerant of errors.
Scott Moynes smoynes@nexus.carleton.ca
90ee16fc
better support for relative resizing
Dana Jansens danakj@orodu.net
d8967bd5
support better resizing a delta value instead of an absolute value
Dana Jansens danakj@orodu.net
20045e73
add the yacc/lex generated stuff
Dana Jansens danakj@orodu.net
e5e886bc
sendTo and goto workspaces both need to start at 0, not 1
Dana Jansens danakj@orodu.net
1f539dcc
fixed change workspace and indenting
Scott Moynes smoynes@nexus.carleton.ca
b0239459
drop the ""'s from actions' string arguments
Dana Jansens danakj@orodu.net
616fa39a
build the yacc/lex stuff
Dana Jansens danakj@orodu.net
0ca8cd6f
include the right header and cast to avoid warnings
Dana Jansens danakj@orodu.net
71f05fc2
fix std:: namespace problems
Dana Jansens danakj@orodu.net
4c10947b
subtract 1 from teh workspace number specified
Dana Jansens danakj@orodu.net
72c56d79
sync with blackbox
Dana Jansens danakj@orodu.net
aa06c07d
sync with bb-cvs
Dana Jansens danakj@orodu.net
4e84a99f
disable things in the placement menu when they dont have any effect for the selected placement type
Dana Jansens danakj@orodu.net
ab80aa49
bad patch
Scott Moynes smoynes@nexus.carleton.ca
3c4a0e5f
added the lex source file
Scott Moynes smoynes@nexus.carleton.ca
6d400020
Big fat merge for epist.
This adds a config parser, chaining, and a tonne of other stuff.
Still need to fix up build system for the lex and yacc stuff.
Scott Moynes smoynes@nexus.carleton.ca
00391787
perhaps fix a segfault here
Dana Jansens danakj@orodu.net
b8c0c7af
dont snap things around crazy with small windows in resistance mode
Dana Jansens danakj@orodu.net
a2a348c2
perhaps fix an infinate loop in here..
Dana Jansens danakj@orodu.net
08e28f38
add a sanity check for the snap offset, limiting it to 50
Dana Jansens danakj@orodu.net
dba5b809
change default resistance to 18
Dana Jansens danakj@orodu.net
b9e40b8b
add the resource for the window snapping offset
Dana Jansens danakj@orodu.net
b34a0d1c
save the window-to-window snapping right
Dana Jansens danakj@orodu.net
1ecf3b73
honor the snap_offset properly for windows, and for edges(?)
Dana Jansens danakj@orodu.net
22869af5
snap to windows/edges an optional offset away
Dana Jansens danakj@orodu.net
347baf0c
had an extra window placement menu
Dana Jansens danakj@orodu.net
50598700
keep the new menus on top of normal windows
Dana Jansens danakj@orodu.net
d8a81781
redraw menu checkmarks when needed, this was broken since they're on the opposite side of the menu now
Dana Jansens danakj@orodu.net
a16a2732
Enable corner snapping option for both snap types
Dana Jansens danakj@orodu.net
81b3cf40
add cvsignore file
Dana Jansens danakj@orodu.net
ea02ab8c
add config menu entries for all the new window snapping/resistance options
Dana Jansens danakj@orodu.net
3356db48
add rc options for window snapping/resistance
Dana Jansens danakj@orodu.net
b1a2c014
snapping/resistance is optional for window and edge snapping
Dana Jansens danakj@orodu.net
628a4ff3
snap to bottoms too =]
Dana Jansens danakj@orodu.net
39bd954b
window resistance complete
Dana Jansens danakj@orodu.net
c2b3dc9f
more resistance working. edge of screen works right now
Dana Jansens danakj@orodu.net
d94e8c50
stab #3. window-to-window works. window-to-screen doesnt
Dana Jansens danakj@orodu.net
6fd25435
second stab at resistance
Dana Jansens danakj@orodu.net
e9a5c715
first stab at window resistance instead of snapping
Dana Jansens danakj@orodu.net
ef0bacba
dont switch workspaces when focusing a sticky window
Dana Jansens danakj@orodu.net
98846134
replace frobozz with the original from kyle
Dana Jansens danakj@orodu.net
f139b457
add some new styles for 2.0 from miklos
Dana Jansens danakj@orodu.net
09918dc5
try make bootstrap work in one pass for other people..
Dana Jansens danakj@orodu.net
76451a13
make xft support default on
Dana Jansens danakj@orodu.net
79916c27
remove the "exec " from the command for running menu stuff so that normal shell things work right in the menu
Dana Jansens danakj@orodu.net
25a18140
remove sticky windows from other workspaces when unsticking. stop the abuse of stick()! dont just re-call it!
Dana Jansens danakj@orodu.net
a7515b6d
don't focus non-visible windows
Dana Jansens danakj@orodu.net
961d7eb5
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.
Dana Jansens danakj@orodu.net
06b160db
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.
Dana Jansens danakj@orodu.net
d86284c0
make root scrolling customizable
Dana Jansens danakj@orodu.net
77c518f8
better sticky windows.
Dana Jansens danakj@orodu.net
f61a455e
get the window's title before adding it to the workspace, since the workspace menu wants that title
Dana Jansens danakj@orodu.net
03f9d617
sync with bb-cvs (fixes the java bug, plus menu prasing redone)
Dana Jansens danakj@orodu.net
9e7f5d22
added sticky windows in the wrong place, before the window was even fully initialized ont he workspace.
Dana Jansens danakj@orodu.net
d06cedce
keep a minimum menu height so that the pixmaps (checkmarks) draw right in them
Dana Jansens danakj@orodu.net
86af1224
dont assert for focusing !isNormal() windows
Dana Jansens danakj@orodu.net
5ec63388
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.
Dana Jansens danakj@orodu.net
3816b6a2
when a window is uniconified, ensure its nothe 'last focused window' on some other workspace
Dana Jansens danakj@orodu.net
98c17f18
let normal windows be netizens again
Dana Jansens danakj@orodu.net
d2ab5864
sync with bb-cvs
Dana Jansens danakj@orodu.net
d7bf31c5
make the execute process better
Dana Jansens danakj@orodu.net
ca316865
remove debug cout
Dana Jansens danakj@orodu.net
83b6c9bf
sync with bb-cvs
Dana Jansens danakj@orodu.net
cd6c4ebc
add new binary
Dana Jansens danakj@orodu.net
462ccd7c
sync with bb-cvs
Dana Jansens danakj@orodu.net
6253730e
don't worry abou overlapping the toolbar if there is none.
Dana Jansens danakj@orodu.net
aab3c5df
add default workspace change bindings
Dana Jansens danakj@orodu.net
b065c29a
make what is output optional
Dana Jansens danakj@orodu.net
fb7b6b37
add the xftlsfonts utility
Dana Jansens danakj@orodu.net
97c3b159
dont focus more than one window when cycling!
Dana Jansens danakj@orodu.net
fa95bcda
wait for 20 seconds instead of 20 milliseconds for a netwm window manager to appear
Dana Jansens danakj@orodu.net
60f0d892
take out that goddamn stupid assert
Dana Jansens danakj@orodu.net
1e5bbca8
use the flag not the function
Dana Jansens danakj@orodu.net
0d209464
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
Dana Jansens danakj@orodu.net
fa34ea52
don't try pass focus off to windows that dont take it
Dana Jansens danakj@orodu.net
49c04eaf
fix capitalization
Dana Jansens danakj@orodu.net
d6cc0b61
document the current hardcoded key bindings
Dana Jansens danakj@orodu.net
33cce0d9
remove a debug cout
Dana Jansens danakj@orodu.net
ae86775d
make lastActiveWindow more intelligent
Dana Jansens danakj@orodu.net
0adf54b0
better window focusing
Dana Jansens danakj@orodu.net
746c37b2
smarter window cycling, behave with omnipresent windows
Dana Jansens danakj@orodu.net
d18f6a4b
dont unshade windows when they get focus
Dana Jansens danakj@orodu.net
8e38989e
remove some unneeded std::'s
Dana Jansens danakj@orodu.net
4652af7b
watch for case where not all screens get managed!
Dana Jansens danakj@orodu.net
28594da6
epist + multihead == <drool>
added next/prevWindowOnAllScreens
added next/prevScreen
Dana Jansens danakj@orodu.net
3792d283
make more clear
Dana Jansens danakj@orodu.net
f6a3cd61
cycle windows was looping forever!
Dana Jansens danakj@orodu.net
809f819e
dont ignore full maxed windows while they are shaded just because they are full maxed
Dana Jansens danakj@orodu.net
5cb2020b
make modal dialogs unmodal before reassigning focus when they are unmanaged
Dana Jansens danakj@orodu.net
733b4f4a
add comment
Dana Jansens danakj@orodu.net
9500c095
dont accept motion events with same_screen set to false
Dana Jansens danakj@orodu.net
64177665
indenting
Dana Jansens danakj@orodu.net
c6699031
no more segging when adding removing windows
Dana Jansens danakj@orodu.net
725e87a0
reorder the menu, put Workspace Warping beside the opaque moving option
Dana Jansens danakj@orodu.net
6747a451
add configmenu option for workspace warping
Dana Jansens danakj@orodu.net
be306f6b
add rc option for workspaceWarping
Dana Jansens danakj@orodu.net
a41a0c1a
fix a crash. when the window loses focus during its death, it uses the timer object, which was being deleted.
Dana Jansens danakj@orodu.net
ba9c665a
workspace warping. this needs to be optional! also motion events are retarded!
Dana Jansens danakj@orodu.net
fc792813
including wrong
Dana Jansens danakj@orodu.net
4c03637f
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.
Dana Jansens danakj@orodu.net
b1874480
place large windows correctly instead of asserting
Dana Jansens danakj@orodu.net
1e19ccc2
snapping better to the xinerama regions
Dana Jansens danakj@orodu.net
a0f9b93d
indenting
Dana Jansens danakj@orodu.net
107e0911
check to make sure the workspaces is > 0 not != 0
Dana Jansens danakj@orodu.net
3a9f0752
much nicer hardcoded bindings! :)
Dana Jansens danakj@orodu.net
c15287a8
menu was off-by-one when no xinerama support was built in
Dana Jansens danakj@orodu.net
b73ff84f
make it real easy to change the modifier key used for mouse bindings
Dana Jansens danakj@orodu.net
fd903553
xinerama support where it shouldnt be
Dana Jansens danakj@orodu.net
e8f387ea
handle events on the right screen
Dana Jansens danakj@orodu.net
6268e2c4
run execs
Dana Jansens danakj@orodu.net
da67802b
add a xinerama support menu
Dana Jansens danakj@orodu.net
ccecab79
dont snap windows to rects they arent in for the screen regions (xinerama) or strut/screenarea
Dana Jansens danakj@orodu.net
debe8a2f
window snapping now has xinerama support
Dana Jansens danakj@orodu.net
98d4ac78
turn RectList into a vector
Dana Jansens danakj@orodu.net
47585423
default all xinerama support options to off
Dana Jansens danakj@orodu.net
47d7f62b
had an extra const in there
Dana Jansens danakj@orodu.net
270981e6
better cascade placement! also, it has xinerama support now!
Dana Jansens danakj@orodu.net
e943c31b
only say xinerama is active if we can find some regions for it
Dana Jansens danakj@orodu.net
c293fd65
xinerama support for maximizing windows
Dana Jansens danakj@orodu.net
b7ab0001
move an assert to its proper place
Dana Jansens danakj@orodu.net
e18ff901
xinerama support for window placement
Dana Jansens danakj@orodu.net
6ea8fb9a
function declaration for a function that no longer exists
Dana Jansens danakj@orodu.net
9fe6b282
get the right rects for the xinerama regions
Dana Jansens danakj@orodu.net
f7122039
make work without --enable-xinerama
Dana Jansens danakj@orodu.net
bcb14a3c
acquire and provide Xinerama information for the window manager. now we just gotta use it.
Dana Jansens danakj@orodu.net
a0cf45a0
handle all combinations of lock modifiers on keypress
this should be an rc file option
Scott Moynes smoynes@nexus.carleton.ca
f754eb0e
Handle all combinations of the lock modifiers on a keypress.
This should be a rc file option once we have one.
Scott Moynes smoynes@nexus.carleton.ca
296c12c0
add Xft-build-support and Xinerama-build-support to the -help output
add --enable-xinerama to configure
Dana Jansens danakj@orodu.net
0ee56605
dont use "exec " anymore cuz then stuff like && doesn't work
Dana Jansens danakj@orodu.net
728022e1
exec stuff with "exec " so the sh isnt left over in memory for each process
Dana Jansens danakj@orodu.net
df7120d5
new slit placement. yea its kinda weak. this can get improved late if people complain. slit is going away anyways for 3.0.
Dana Jansens danakj@orodu.net
bd7f9481
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.
Dana Jansens danakj@orodu.net
54c495c8
add some cvsignore's
Dana Jansens danakj@orodu.net
66803e3a
add no_NO and ro_RO translations
Dana Jansens danakj@orodu.net
7d4a07cb
i put paths in here by accident ^_^
Dana Jansens danakj@orodu.net
3fd35d37
add another hardcoded binding :)
Dana Jansens danakj@orodu.net
7493785c
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.
Dana Jansens danakj@orodu.net
c258a471
remove the add/remove/active_window debug cout's
Dana Jansens danakj@orodu.net
675d16c7
implement window resizing. using resizing incrememnts if the window has requested them!
Dana Jansens danakj@orodu.net
5b91573e
implement window resizing
Dana Jansens danakj@orodu.net
6595476d
keep track of window dimentions
use them for window moving
Dana Jansens danakj@orodu.net
54dfa44c
move the Strut struct from Screen.hh to Util.hh
Dana Jansens danakj@orodu.net
32ac5d9b
add action and design for resizing a window
Dana Jansens danakj@orodu.net
4aeca296
implement toggleMaximize(Vert|Horz|Full)
Dana Jansens danakj@orodu.net
f7a41999
implement moveWindowUp/Down/Left/Right
Dana Jansens danakj@orodu.net
a16ae873
changed teh builtin bindings.. :)
Dana Jansens danakj@orodu.net
aa34774d
now it opens on all possible screens
Dana Jansens danakj@orodu.net
6d403feb
let you specify the class for cycling windows per class
Dana Jansens danakj@orodu.net
7d67f855
make cycling by window class work properly, was using the app name instead of class
also, make the code gcc 2.95 friendly
Dana Jansens danakj@orodu.net
ffd7021d
add maximizing to the action enum
Dana Jansens danakj@orodu.net
843f9726
add execute command. add string to action class.
Dana Jansens danakj@orodu.net
f32096dc
exec works now
Dana Jansens danakj@orodu.net
bf3c87c8
added hardcoded bindings for changeWorkspace 1-4
Dana Jansens danakj@orodu.net
e8fcc69d
rename the sendTo action to sendToWorkspace
Dana Jansens danakj@orodu.net
6a8f5f44
added sendTo action
Dana Jansens danakj@orodu.net
5cb52056
add 'toggleomnipresent' action
Dana Jansens danakj@orodu.net
e01cab39
small change.
Dana Jansens danakj@orodu.net
92864e8d
add cycling of windows of the same class on all workspaces
Dana Jansens danakj@orodu.net
348c8bff
add cycling of next/prev window of class
Dana Jansens danakj@orodu.net
a9dfa043
add next/prev window on all workspaces
Dana Jansens danakj@orodu.net
faab750f
properly track the active workspace and the number of workspaces.
use these to cycle workspaces.
Dana Jansens danakj@orodu.net
c6234a4d
add iconifying
Dana Jansens danakj@orodu.net
b94699af
add raising and lowering
Dana Jansens danakj@orodu.net
5bf463ea
add the ability to close a window
Dana Jansens danakj@orodu.net
c9be3ee0
added window cycling
Dana Jansens danakj@orodu.net
8e601e4a
line up the vars
Dana Jansens danakj@orodu.net
b790e78e
make the returned action list a const reference
Dana Jansens danakj@orodu.net
8ec56b99
make the action list returned a const
Dana Jansens danakj@orodu.net
f693859b
remove some debug couts
Dana Jansens danakj@orodu.net
b4816f24
make shading work
Dana Jansens danakj@orodu.net
7d153b74
dont pass bound keys through to the application
Dana Jansens danakj@orodu.net
c517f511
some cleanups and such.
Dana Jansens danakj@orodu.net
b4411cb1
Added changeWorkspace() and a broken toggleShaded()
Scott Moynes smoynes@nexus.carleton.ca
a939bb6e
properly scope thse stl stuff please!
Dana Jansens danakj@orodu.net
be77122b
add file headers and couple fixups
Dana Jansens danakj@orodu.net
b9e5c705
no need to scope here
Dana Jansens danakj@orodu.net
bf21451f
add a count to the actions enum
Dana Jansens danakj@orodu.net
1ed841ef
make both for's work teh same way
Dana Jansens danakj@orodu.net
8cfa247c
insert some whitespace
Dana Jansens danakj@orodu.net
ba58f65d
added contructor for the actions
Scott Moynes smoynes@nexus.carleton.ca
a0e50e15
fix typos
Dana Jansens danakj@orodu.net
df61eecc
add ifdefs for config.h
Dana Jansens danakj@orodu.net
5d95d24d
use the _variable member naming convention
Dana Jansens danakj@orodu.net
a79513f3
make epist not build with the rest of the source tree
Dana Jansens danakj@orodu.net
37824505
screwed up the order in which hints were retrieved on windows. this actualy turns out to be important :)
Dana Jansens danakj@orodu.net
5862475f
make HUP reconfigure as in blackbox. make USR1 restart instead
Dana Jansens danakj@orodu.net
256bcbed
changing the number of workspaces in the rc does something without restarting now!
Dana Jansens danakj@orodu.net
f586e55a
Added an action class and started the even handler.
Scott Moynes smoynes@nexus.carleton.ca
0326ac96
don't try to show windows which are already shown. this also ends up fixing an elusive segfault.
Dana Jansens danakj@orodu.net
23da937e
only focus new transient windows if their parent has the input focus
Dana Jansens danakj@orodu.net
6b3f5abd
dont reconfigure during startup. thats a waste and screws up stuff!
Dana Jansens danakj@orodu.net
90239e2b
make the bullet, checkmark, and text, all the same color in the menu
Dana Jansens danakj@orodu.net
62d40248
updated todo. took out things we have done. added new goal for 3.0.
Dana Jansens danakj@orodu.net
ec5ea27e
select the focused window in the workspace menu
Dana Jansens danakj@orodu.net
3442c5ef
add cvsignore
Dana Jansens danakj@orodu.net
7972a75e
fix some capitalisations
Dana Jansens danakj@orodu.net
5b0751d5
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.
Dana Jansens danakj@orodu.net
0a9da781
change the color used for the checkmark. match the text. dont check the current workspace in the workspace menu.
Dana Jansens danakj@orodu.net
f020fb58
new checkmark for the menus
Dana Jansens danakj@orodu.net
c804a5a0
added some notes about a config file format
Scott Moynes smoynes@nexus.carleton.ca
4b339891
reverse the if
Dana Jansens danakj@orodu.net
de6c4093
dont put non-normal windows in the stacking list. they dont show up in theclient list either.
Dana Jansens danakj@orodu.net
8db840cb
adjust goals for 2.0
Dana Jansens danakj@orodu.net
014a3330
add for ClickMousePlacement
Dana Jansens danakj@orodu.net
2dde696a
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.
Dana Jansens danakj@orodu.net
41053a81
put the assert back. better solution in mind
Dana Jansens danakj@orodu.net
d5d02c45
taking out an assert that only causes problems
Dana Jansens danakj@orodu.net
daaac0df
Click Mouse Placement is BACK!#!#
Dana Jansens danakj@orodu.net
94d86896
add sendClientMessage
Dana Jansens danakj@orodu.net
ede324b4
screw that change. the next releaase will be 2.0.0!
Dana Jansens danakj@orodu.net
b03eccf8
change the version number back a bit. preparing for a testing release.
Dana Jansens danakj@orodu.net
315f1d10
switch workspaces if neccessary for a NET_WM_ACTIVE_WINDOW ClientMessage
Dana Jansens danakj@orodu.net
7427fe1b
make bbkeys' cycliong work right, how it used to. instead of working like supoprt for brokenass kwin does
Dana Jansens danakj@orodu.net
1d4391b0
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
Dana Jansens danakj@orodu.net
fb613db2
dont let focus fall back to strange windows like panels, only to normal windows and dialogs
Dana Jansens danakj@orodu.net
5cf86b18
add options for ignoring shaded windows and full-maxed windows while placing new windows
Dana Jansens danakj@orodu.net
27fadda0
Don't install epist until it actually does something of value
Scott Moynes smoynes@nexus.carleton.ca
af0eced0
kde's 'desktop menu' now works just like a panel
Dana Jansens danakj@orodu.net
90dbcb27
properly handle workspace names, and changes to them.
Dana Jansens danakj@orodu.net
c6a826bf
fix case where the window group deletes itself. somehow missed this while syncing! :(
Dana Jansens danakj@orodu.net
3312a209
sych with blackbox
Dana Jansens danakj@orodu.net
1525520d
make arrows larger, match th size of the other bullets. make all bullets' sizes quickly/easily adustable
Dana Jansens danakj@orodu.net
8ff1b709
make sure the desktop names atom is set when setting a workspace name, even when it doesnt already exist (bug fix)
Dana Jansens danakj@orodu.net
8cb1108f
properly lower windows and keep desktop windows on the bottom.
Dana Jansens danakj@orodu.net
043e42a3
libgen.h is used by basename()
Dana Jansens danakj@orodu.net
0b198a00
update deps in the Makefile
Dana Jansens danakj@orodu.net
09591a9a
more actions
Dana Jansens danakj@orodu.net
129f5655
add a size specifier to the enum
Dana Jansens danakj@orodu.net
836d9362
removing now-unused files.
Dana Jansens danakj@orodu.net
24a1e215
epist now based on the BaseDisplay.
has the ability to be multiscreen!
Dana Jansens danakj@orodu.net
89d09297
some of the actions I came up with
Scott Moynes smoynes@nexus.carleton.ca
5112b627
gets a whole lotta window information now, and updtes when it changes!
Dana Jansens danakj@orodu.net
e8b6f651
add support for the WM_CLASS property.
make getValue for a string array return the right number in nelements.
Dana Jansens danakj@orodu.net
5fed16de
we now know for every window its state and its desktop
Dana Jansens danakj@orodu.net
b10d59da
some more notes
Scott Moynes smoynes@nexus.carleton.ca
0a9130b6
now we know the state of windows
Dana Jansens danakj@orodu.net
cf3d512a
add header for perror()
Dana Jansens danakj@orodu.net
31732c15
Initial notes on design and features
Scott Moynes smoynes@nexus.carleton.ca
17fbff7d
make the wheel mouse shade anywhere on the titlebar, and not press buttons. thanks woodlbock.
Dana Jansens danakj@orodu.net
0aae7241
epist now handles -display on the command line, and gets the client list and act
ive window
Dana Jansens danakj@orodu.net
7aea20d6
epist parses teh cpommand line for -display, and catches Property notify events. It knows about the client list and active window so far
Dana Jansens danakj@orodu.net
426b1ea2
open an X display
Dana Jansens danakj@orodu.net
c8d584f9
added signal handling
Dana Jansens danakj@orodu.net
06413d7e
add the copyright
Dana Jansens danakj@orodu.net
f04d2f0f
adding epist!
Dana Jansens danakj@orodu.net
26c5c405
-fno-inline when compiling in debug mode
Dana Jansens danakj@orodu.net
f320a023
clean up the systray and desktop lists
Dana Jansens danakj@orodu.net
cac80d06
restart the window manager on a SIGHUP
Dana Jansens danakj@orodu.net
9e99a9a1
sync with bb cvs
Dana Jansens danakj@orodu.net
b21cf8b3
add another return, and return a value for a non-void funtion.
Dana Jansens danakj@orodu.net
25f3456b
missing a ;
Dana Jansens danakj@orodu.net
66119f75
add some returns so the compiler doesnt get confused
Dana Jansens danakj@orodu.net
235d9e4c
use a BPen in the BFont class for drawing standard X fonts
Dana Jansens danakj@orodu.net
0c04fb52
synch with bb-cvs.
add window resize zones. the resource has been renamed from windowZones to resizeZones.
Dana Jansens danakj@orodu.net
8e34bfcf
keep iconified windows' workspace set to BSENTINEL, but set the NETWM hint to 0xffffffff (all desktops)
Dana Jansens danakj@orodu.net
f2ecfb62
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.
Dana Jansens danakj@orodu.net
20bc088a
add option to the rc file to use/not use AA for Xft fonts
Dana Jansens danakj@orodu.net
858af98b
add the korean translation dir to configure
Dana Jansens danakj@orodu.net
1618ecc8
extend the style format to use xft.(font|size|flags) to specify an xft font
Dana Jansens danakj@orodu.net
5ba3ee6e
make the Xft check actually work
Dana Jansens danakj@orodu.net
137a0c4e
allow style options in the rc file to override those found in the style
Dana Jansens danakj@orodu.net
32c13697
no need to call XrmInit outside of Config class. fix indenting.
Dana Jansens danakj@orodu.net
1da52876
dont need to XrmInit outside of the Config class. fix indenting.
Dana Jansens danakj@orodu.net
abb124bd
add .cvsignore for korean nls dir
Dana Jansens danakj@orodu.net
6d4aa1af
fix a debug print
Dana Jansens danakj@orodu.net
ed27f241
added korean translation
Dana Jansens danakj@orodu.net
e043f648
make Xft default to off, you have ot --enable-xft now
Dana Jansens danakj@orodu.net
ed3e5975
don't cast char*'s to string's needlessly
Dana Jansens danakj@orodu.net
300491ce
sync with bb-cvs
Dana Jansens danakj@orodu.net
b2997719
try make the ~/.openbox dir if it doesnt exist.
Dana Jansens danakj@orodu.net
b950402b
remove some debug fprintfs
Dana Jansens danakj@orodu.net
5282d92b
was ending up using the wrong cache items. now i find and release it every time a string is drawn
Dana Jansens danakj@orodu.net
6716bd33
sync with bb-cvs: re-add support for alt-button2, fix some off by 2's temorarily
Dana Jansens danakj@orodu.net
9d2f88e0
use the True/False as is the blackbox code standard.
Dana Jansens danakj@orodu.net
4abbbd9f
remove compiler warnings
Dana Jansens danakj@orodu.net
b3c31573
fix a memleak reported by valgrind
Dana Jansens danakj@orodu.net
6954842d
when placing a window, dont use its strut while placing itself.
Dana Jansens danakj@orodu.net
e15e4a9e
make iconified windows uniconify on an XMapRequestEvent.
sync with blackbox cvs.
Dana Jansens danakj@orodu.net
be2f4722
make the styles' doJustify methods stop returning the string length as this is no longer needed with the BFont class
Dana Jansens danakj@orodu.net
de868d58
look for the rigt function in the libxft
Dana Jansens danakj@orodu.net
08d793bb
add BFont class, with Xft support
Dana Jansens danakj@orodu.net
9aaf4f8d
some memory bugs from woodblock (thanks!)
Dana Jansens danakj@orodu.net
75a068cc
removing old Makefile.in, rolling back Makefile.am to before the mappable muse button bindings
Dana Jansens danakj@orodu.net
888c0bac
backing out all changes to make mouse button mapping's configurable
Dana Jansens danakj@orodu.net
ffa4c7f3
sync with bb. mostly cleanups in Window.cc
Dana Jansens danakj@orodu.net
18064df1
add capability to stick a window from input, and make close buttons work.
Dana Jansens danakj@orodu.net
351a0665
Configureable button mappings!
Dana Jansens danakj@orodu.net
b0d81f77
proper order for the stacking order list
Dana Jansens danakj@orodu.net
87160220
make desktop windows get lowered properly
Dana Jansens danakj@orodu.net
eb136b96
use the _NET_WM_DESKTOP_NAMES root property
Dana Jansens danakj@orodu.net
e9f582ae
make getting a list of strings work right
Dana Jansens danakj@orodu.net
578a5cc9
make fully max'd windows properly snap
Dana Jansens danakj@orodu.net
b2e9af88
add the functionality for window-window snapping
Dana Jansens danakj@orodu.net
f4c0547b
merge from netwm-merge2 to netwm-merge3. Basically, all of netwm that we intend to support is 'supported'. Just need to squash bugs now.
Dana Jansens danakj@orodu.net
1766453c
sync with blackbox-cvs
Dana Jansens danakj@orodu.net
8941da8e
change to match blackbox
Dana Jansens danakj@orodu.net
e90fafd2
fix off-by-ones in window-to-window snapping. move the property from the blackbox class to the screen class.
Dana Jansens danakj@orodu.net
aad50046
synched with bb-cvs. couple bug fixes.
Dana Jansens danakj@orodu.net
7a553233
syching with bb-cvs. rm .\#* on make dist-clean. nls updates.
Dana Jansens danakj@orodu.net
705ccbfd
documentation fixes
Dana Jansens danakj@orodu.net
a7db565c
window-to-window snapping is now a run-time option.
window-corner snapping added, and also is a run-time option.
Dana Jansens danakj@orodu.net
f0c2fa18
window-to-window corner snapping!
Dana Jansens danakj@orodu.net
39d598e5
backing out sticky transients change, this should go in the netwm branch
Dana Jansens danakj@orodu.net
1775e867
sync with bb-cvs
Dana Jansens danakj@orodu.net
4e0fde35
make all parents/transients that are related have the same sticky state.
Dana Jansens danakj@orodu.net
20bac077
on reconfigure, save all of the open submenus instead of just one, and then reopen them all as best as possible.
Dana Jansens danakj@orodu.net
e149ab6c
no need to try the same screen edge twice for snapping when full max is on
Dana Jansens danakj@orodu.net
9ccebf11
redecorating fixups. sync with bb cvs.
Dana Jansens danakj@orodu.net
c5c5a80c
fix bug from merging last netwm stuff
Dana Jansens danakj@orodu.net
5336c900
merge in netwm branch at tag netwm-merge2
Dana Jansens danakj@orodu.net
23640740
sync with bb cvs
Dana Jansens danakj@orodu.net
47877155
save the right number of workspaces to the rc when adding/removing one
Dana Jansens danakj@orodu.net
77cf8a6f
put webpage in the man page. Also, a couple fixes.
Dana Jansens danakj@orodu.net
53353465
fix so that FocusIn events for focus transer from root->client are used.
Dana Jansens danakj@orodu.net
b8ee3dbc
merging in netwm changes at merge point "netwm-merge1". This add the XAtom class, and sets the net_supported_wm_check related atoms.
Dana Jansens danakj@orodu.net
5ae928ff
updateing missed nls headerswq
Dana Jansens danakj@orodu.net
c9e1855b
updated cvsignore's to match nls changes
Dana Jansens danakj@orodu.net
12fcb33b
re-added UnderMouse Placement
added NLS support in the new configure system.
Dana Jansens danakj@orodu.net
b48e215c
updated nls to use openbox.cat
Dana Jansens danakj@orodu.net
8eb93055
disable the current workspace in the send-to menu
Dana Jansens danakj@orodu.net
46b2484e
let a window snap to more than one window at a time
Dana Jansens danakj@orodu.net
734a9673
window-to-window snapping
Dana Jansens danakj@orodu.net
0bf0d844
adding .cvsignore files to the repository to clean up the output whenever you commit some sort of cvs action
Dana Jansens danakj@orodu.net
b13452a0
when nothing is to be focused, give the root window focus instead of the toolbar (since the toolbar is not neccesarily mapped anymore!)
Dana Jansens danakj@orodu.net
57ac5e5b
sync with bb-cvs
Dana Jansens danakj@orodu.net
6284d4ef
fix bug where destroying the wrong windows in BlackboxWindow::positionButtons.
make util/ directory use the new config.h too
Dana Jansens danakj@orodu.net
62ea1c59
use config.h for configuration options instead of a bunch of -D's on the compile command lines
Dana Jansens danakj@orodu.net
5377e3fd
added "Hide Toolbar" option.
Dana Jansens danakj@orodu.net
b0f8eab0
make window menu behavior consistant. ignore !button1.
Dana Jansens danakj@orodu.net
341c4e04
mouse wheel support
custom titlebar layout
Dana Jansens danakj@orodu.net
c2ab9023
prevent (and if need be revert) shading if titlebar decor is toggled off
Dana Jansens danakj@orodu.net
f5f7c8fb
use the raw screen size not the strut adjusted size to determine max_height and width of a client
Dana Jansens danakj@orodu.net
59cea4f2
save workspace names properly with the new Configuration class.
Dana Jansens danakj@orodu.net
0305cbdc
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.
Dana Jansens danakj@orodu.net
60b2990e
using configure.ac causes problems. switching back to configure.in
Dana Jansens danakj@orodu.net
0c7e8e40
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.
Dana Jansens danakj@orodu.net
c04cb764
- 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
Dana Jansens danakj@orodu.net
2f65b653
make use of the --enable-clobber option
Dana Jansens danakj@orodu.net
d744d375
reindent version string
Dana Jansens danakj@orodu.net
e5d6ed91
reindent again. better now.
Dana Jansens danakj@orodu.net
ca5b573f
reindent the help/usage message
Dana Jansens danakj@orodu.net
99555fea
reusing the blackbox-cvs bsetroot. it did in fact work right now.
Dana Jansens danakj@orodu.net
b3737edc
use openbox/ dir for rc file and menu file. turn menu into a command line option instead of an rc file option
Dana Jansens danakj@orodu.net
e5bdc511
build a 'openbox' binary
Dana Jansens danakj@orodu.net
f70f3028
use our default style
Dana Jansens danakj@orodu.net
f992b34c
use our version string
Dana Jansens danakj@orodu.net
73e2192c
missed files from import of bb-cvs
Dana Jansens danakj@orodu.net
e65c4022
import from bb-cvs
Dana Jansens danakj@orodu.net
c2609fbe
removing useless files
Dana Jansens danakj@orodu.net
3531afa1
imprted new tools from bb-cvs
re-change bsetroot to work preperly regarding the root window atoms
Dana Jansens danakj@orodu.net
20063c22
import from bb-cvs
Dana Jansens danakj@orodu.net
8794d357
import from bb-cvs
added slit and enable-clobber defines back in Makefile.am
Dana Jansens danakj@orodu.net
e640ee15
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
57a228e4
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
d90c5e64
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
d1522965
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
ca96fe0e
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
74cd4c9f
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
a0d1898a
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
926bf375
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
136d4279
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
eb298511
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
840011db
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
278df533
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
0cd371c3
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
c8a59b3f
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
29914b7d
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
79c6511c
new nls from bb-cvs
Dana Jansens danakj@orodu.net
4b4249c5
new nls from bb-cvs
Dana Jansens danakj@orodu.net
03460568
new nls from bb-cvs
Dana Jansens danakj@orodu.net
65ffd88c
new nls from bb-cvs
Dana Jansens danakj@orodu.net
c2fee7f9
new nls from bb-cvs
Dana Jansens danakj@orodu.net
1743de85
new nls from bb-cvs
Dana Jansens danakj@orodu.net
7953f502
new nls from bb-cvs
Dana Jansens danakj@orodu.net
a5617f1d
new nls from bb-cvs
Dana Jansens danakj@orodu.net
b800483f
new nls from bb-cvs
Dana Jansens danakj@orodu.net
a8910a4e
new nls from bb-cvs
Dana Jansens danakj@orodu.net
8ba8f10e
new nls from bb-cvs
Dana Jansens danakj@orodu.net
935b35c6
new nls from bb-cvs
Dana Jansens danakj@orodu.net
6bb32292
new nls from bb-cvs
Dana Jansens danakj@orodu.net
e0828cb0
new nls from bb-cvs
Dana Jansens danakj@orodu.net
df8200e1
new nls from bb-cvs
Dana Jansens danakj@orodu.net
7ca4d987
new root dir based on bb-cvs
Dana Jansens danakj@orodu.net
18bdbfaa
better string get/set
Dana Jansens danakj@orodu.net
120d8e5a
updated -version output ot list myself
Dana Jansens danakj@orodu.net
bbbe226c
refix i18n for --disable-nls
Dana Jansens danakj@orodu.net
e7c332a5
missing an include
Dana Jansens danakj@orodu.net
6ed6a9d1
fix for compiling with --disable-nls
Dana Jansens danakj@orodu.net
ac62af41
fix compiling with --disable-nls
Dana Jansens danakj@orodu.net
d03852ad
fix compliling with --disable-slit
Dana Jansens danakj@orodu.net
a85c9a7c
added XAtom class, and it all now compiles.
Dana Jansens danakj@orodu.net
83347770
make work with new i18n
Dana Jansens danakj@orodu.net
67b4df1e
merge the sticky window fix from 1.2.
Dana Jansens danakj@orodu.net
a25b213a
updated goals
Dana Jansens danakj@orodu.net
fda410fd
fixed sticky windows!
Dana Jansens danakj@orodu.net
20d7381f
new versions of the X classes
added an Atom in XAtom and functionality in XScreen and XDisplay
Dana Jansens danakj@orodu.net
de712f85
XDisplay's nextEvent completed
Dana Jansens danakj@orodu.net
ae3dc273
new i18n class using overloaded operator() instead of getMessage()
Dana Jansens danakj@orodu.net
30136ab3
change next target version to 2.0.0!
Dana Jansens danakj@orodu.net
91a7ca7d
added the X classes to the build process though they aren't sued by anything else yet. They now compile too.
Dana Jansens danakj@orodu.net
c17256d7
removing pendantic. thats just crazy. -Wall -W will suffice.
Dana Jansens danakj@orodu.net
080c09da
adding --add-missing to automake call
Dana Jansens danakj@orodu.net
cc7cb82d
adding new X base classes which encapsulate all X server interation
Dana Jansens danakj@orodu.net
bd196c71
adding bootstrap which generates all the auto* files such as configure
Dana Jansens danakj@orodu.net
4f04dcaf
removing auto-generated stuff from cvs
Dana Jansens danakj@orodu.net
713c93d6
removed the fixed bug!
Dana Jansens danakj@orodu.net
ae093dba
make a new autoRaiseDelay value take effect without having to restart
Dana Jansens danakj@orodu.net
a4c9553c
increment version for next release
Dana Jansens danakj@orodu.net
63f8386d
make autoRaiseDelay load
Dana Jansens danakj@orodu.net
7f3d32e3
make auto-raise value load.
Dana Jansens danakj@orodu.net
927091ee
fix off-by-one window resizing bug
Dana Jansens danakj@orodu.net
fb0bd987
typos
Dana Jansens danakj@orodu.net
144e3e9b
readding aclocal. autoconf needs this thing
Dana Jansens danakj@orodu.net
5d6413d4
fix for slit direction menu not reconfiguring properly
Dana Jansens danakj@orodu.net
90e7db97
*** empty log message ***
Dana Jansens danakj@orodu.net
a3a23c28
moved menu from a rc file option to a command line option
Dana Jansens danakj@orodu.net
4f50d117
spelling error
Dana Jansens danakj@orodu.net
f6e80e0d
added future release goals to the TODO
Dana Jansens danakj@orodu.net
788754fe
better setting of atoms. plugged memory leak.
Dana Jansens danakj@orodu.net
c1bf2292
better behavior with root pixmap atoms. create them if they do not exist.
Dana Jansens danakj@orodu.net
52c955c4
update to work with renamed function in BaseDisplay
Dana Jansens danakj@orodu.net
878d5733
update changelog.
removed a redundant var from BaseDisplay.
Dana Jansens danakj@orodu.net
e7978c7d
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
Dana Jansens danakj@orodu.net
f7ace0fa
new version of bsetbg
bsetroot now plays niecly with Eterm. Also, updated to the latest bsetroot from blackbox cvs
Dana Jansens danakj@orodu.net
f7508366
new version of bsetroot ported from blackbox cvs
Dana Jansens danakj@orodu.net
52786461
set the button windows to None when they are destroyed so we know they are no longer valid windows
Dana Jansens danakj@orodu.net
1b1efab4
compile with -Wall -W -pendantic when --enable-debug is set.
Dana Jansens danakj@orodu.net
f00ed578
new focus code! working better than ever!
Dana Jansens danakj@orodu.net
9b295857
fix creating/destroying the titlebar buttons
Dana Jansens danakj@orodu.net
e81b9d6a
fix for changing window buttons order. destroy them properly when they no longer exist and recreate them if they dont exist yet
Dana Jansens danakj@orodu.net
d6c02ad7
fix segfaut from uninitialized focused_screen pointer
Dana Jansens danakj@orodu.net
abfaee73
fix compilign without LinkedList
Dana Jansens danakj@orodu.net
6d166794
focus code updates
Dana Jansens danakj@orodu.net
6486b645
LinkedList->STL conversion completed. LinkedList is no longer use and it has been removed from the source tree.
Dana Jansens danakj@orodu.net
d58f7b56
no more use of LinkedList in BaseDisplay
Dana Jansens danakj@orodu.net
eb8a11a5
removed LinkedLists in BaseDisplay and Image. Only 1 left in BaseDisplay now
Dana Jansens danakj@orodu.net
ebdf25bf
removed all 'using namespace std;' calls.
Dana Jansens danakj@orodu.net
4969c1b0
move some typedefs into class scope
Dana Jansens danakj@orodu.net
30b899fc
converted all of the openbox class LinkedLists to STL objects
Dana Jansens danakj@orodu.net
57fb41c8
converted the remaining LinkedLists in Screen to STL objects.
Dana Jansens danakj@orodu.net
addc23fa
not initializing a pointer to NULL
Dana Jansens danakj@orodu.net
a0dbb0e1
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'
Dana Jansens danakj@orodu.net
f804f86c
use screen instead of its ImageControl to get/set the image dither value
Dana Jansens danakj@orodu.net
c7810a3c
make image dithering value load correctly
Dana Jansens danakj@orodu.net
b424a723
converted from LinkedList to STL vector and list
Dana Jansens danakj@orodu.net
fba11bf0
increment version for next release
Dana Jansens danakj@orodu.net
9f9cdf11
fixes for using ostrstream in gcc3. have to unfreeze the string more. annoying.
save workspace names/count properly
Dana Jansens danakj@orodu.net
098fae70
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
Dana Jansens danakj@orodu.net
ec10256a
ran autoconf to regen configure
Dana Jansens danakj@orodu.net
89563281
gcc 3 compatibility, converted strstreams to stringstreams
Dana Jansens danakj@orodu.net
4e2c37f2
fix headers to use the new defines
Dana Jansens danakj@orodu.net
38de48bd
stop moving a window if it is maximized
Dana Jansens danakj@orodu.net
445e28af
windows at positions x<0 or y<0 are no longer ignored in the placing code
Dana Jansens danakj@orodu.net
ba832151
better toolbar strftime size/padding fix
Dana Jansens danakj@orodu.net
73f0a909
BScreen::resource.root_command wasnt being initialized
Dana Jansens danakj@orodu.net
415f0241
xsetbg typo
Dana Jansens danakj@orodu.net
5f9c458f
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)
Dana Jansens danakj@orodu.net
0be1c1e8
when a window begins moving, make sure another window is not moving already, and if it is, end its move
Dana Jansens danakj@orodu.net
f4d29bb7
make sure that the only time Click-to-place kicks in is when initially placing/mapping the window
Dana Jansens danakj@orodu.net
5705ea36
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
Dana Jansens danakj@orodu.net
b88c4292
removing old files that got merged in
Dana Jansens danakj@orodu.net
f290e1c0
save the titlebarLayout in the default config
Dana Jansens danakj@orodu.net
b79ced01
changelog fixes
Dana Jansens danakj@orodu.net
deb016c7
fix positioning of the window menu
Dana Jansens danakj@orodu.net
84f0293a
fix bug with window menu positioning
Dana Jansens danakj@orodu.net
22f8550d
fixed col placement
Dana Jansens danakj@orodu.net
1368ffc5
better logic when changing a window's decoration level, for choosing what elements of decoration get placed on the window.
Dana Jansens danakj@orodu.net
00dc78c6
better logic when changing a window's decoration level, for choosing what elements of decoration get placed on the window.
Dana Jansens danakj@orodu.net
fb1ef42d
fixed bug from converting over to STL
Dana Jansens danakj@orodu.net
65118aaf
bsetroot supports transparent apps with root property
Dana Jansens danakj@orodu.net
6796e798
took bsetroot from Blackbox moving_target.. "bsetroot now sets xrootpmap_id, pseudo transparent apps should be happy"
Dana Jansens danakj@orodu.net
127252cc
when a window is iconified, it was being moved, end the move cleanly
Dana Jansens danakj@orodu.net
5e3ca8e6
don't click-to-place windows when they specify a position
Dana Jansens danakj@orodu.net
4852193a
properly handle placing a window while another window is still placing.
Dana Jansens danakj@orodu.net
1789f16a
if user is moving a window and switches workspaces, stop moving that window
Dana Jansens danakj@orodu.net
8ef0610e
added ClickMouse window placement policy
Dana Jansens danakj@orodu.net
830e53f2
moved the 'moving window' logic into separate functions "startMove" "doMove" and "endMove"
Dana Jansens danakj@orodu.net
ad7f6112
new row/col Smart Placement from colophon
Dana Jansens danakj@orodu.net
20cd70c4
added UnderMouse windwo placement.
Dana Jansens danakj@orodu.net
07281446
better cascadePlacement. uses screen.availableArea().
Dana Jansens danakj@orodu.net
e5685e3c
added BScreen::availableArea() which returns a rect specifying where windows can be placed on the screen, and what area they can fill when maximized
Dana Jansens danakj@orodu.net
fb96e47f
removed debugging couts
Dana Jansens danakj@orodu.net
b7d0a77d
add std:: to the vector typedef in Basemenu
converted slit to use a std::list instead of LinkedList
Dana Jansens danakj@orodu.net
5c9ab8b8
converted from LinkedList to a vector
Dana Jansens danakj@orodu.net
3001cec7
more dithering fix.
Dana Jansens danakj@orodu.net
b2453eec
that segfaulted. oops. added a workaround so setImageDither doesnt reconfig when saving off all the rc values
Dana Jansens danakj@orodu.net
3f6f897d
when Image Dither is changed in the menu, make ob reconfigure so it uses the dithering
Dana Jansens danakj@orodu.net
9fa48a9f
fix Resource class so that you cant cast a string to a Resource
Dana Jansens danakj@orodu.net
1a44d808
Rolled back to the old row and column smart placement so we can get a 1.0.0 release out the door.
Dana Jansens danakj@orodu.net
6a36505f
even more fixes for maximizing/placement with hidden slit/toolbar/etc
Dana Jansens danakj@orodu.net
2809005a
maximize and placeWindow now behave properly when the slit is hidden
Dana Jansens danakj@orodu.net
cf950146
changing to the older version of this style. its far superior :)
Dana Jansens danakj@orodu.net
6f2064b1
posible fix for maximizing when slit is auto-hidden
Dana Jansens danakj@orodu.net
75c0a76a
changed external window interface to only have an area(), no size() and origin(), since all of their values are also in area()
changed toolbar external inteface to have an area, no more getX/Y/Width/Height
Dana Jansens danakj@orodu.net
b8dd077a
some placement fixes from colophon.
Dana Jansens danakj@orodu.net
7eb8d696
new row and column placement, using a modified bestfit. These don't work right yet, nor does bestfit, but they are coming.
Dana Jansens danakj@orodu.net
f994c778
fixed some uninstall issues
Dana Jansens danakj@orodu.net
e1b78a1f
even better bestfit placement. way to go colophon!
Dana Jansens danakj@orodu.net
18499a69
specify the std:: namespace for the ostrstreams.
Dana Jansens danakj@orodu.net
32951060
bestfit placement now honors the left->right and top->bottom options for window placement.
fix for the placement config menu.
Dana Jansens danakj@orodu.net
ec028e39
*** empty log message ***
Scott Moynes smoynes@nexus.carleton.ca
194ad386
tyops
Scott Moynes smoynes@nexus.carleton.ca
981ed308
compile fix for --disable-slit
Dana Jansens danakj@orodu.net
95df11ff
added Changelog entry for the improved maximize-window code.
Dana Jansens danakj@orodu.net
8e083798
better logic to not place windows over the slit and toolbar
maximize uses this same logic to not maximize over the toolbar *and the slit*
Dana Jansens danakj@orodu.net
ca3bc642
changes to bestfit from ruhi. takes windows sizes into account properly, and places windows 1 borderwidth apart on all sides, while still placeing up against the edge of the screen.
Dana Jansens danakj@orodu.net
de7a567d
on reconfigure, if an option isn't specified in the rc file, then it will revert to its default value instead of staying at its current value.
Dana Jansens danakj@orodu.net
874d0ea4
comment typo and function spacing fix
Dana Jansens danakj@orodu.net
0a3cfdfc
fixed memory leaks for strftime_format and rootcommand
Scott Moynes smoynes@nexus.carleton.ca
bed4d7c1
fixed memory leak of application_name
Scott Moynes smoynes@nexus.carleton.ca
62e17841
fixed a memory leak for resource.titlebar_layout
Scott Moynes smoynes@nexus.carleton.ca
8f8eba7b
fixed memory leak in screen::load()
Dana Jansens danakj@orodu.net
e75d3560
updated TODO to match current cvs status. yay progress!
Dana Jansens danakj@orodu.net
7440ad2e
starting openbox without an rc file now works. it makes an empty Xrm db instead of crashing :)
Dana Jansens danakj@orodu.net
940c1f61
temprary fix for the memleaks in ::load() and ::set* when using ostrstreams. Need to find a better solution for strings than std::string and ostrstream, or else put up with memory leaks all over the place.
Dana Jansens danakj@orodu.net
8ebee960
added bsetbg makefile
Scott Moynes smoynes@nexus.carleton.ca
66e3f4d0
added new bsetbg manpage
Scott Moynes smoynes@nexus.carleton.ca
5067369f
fix 2 bus errors on osx:
 - it's std::string doesnt like being set to NULL.
 - in Window.cc, caught someone using a membr variable after calling 'delete this'. bad.
Dana Jansens danakj@orodu.net
1b129560
new bsetbg version with manpage
Scott Moynes smoynes@nexus.carleton.ca
812f64eb
new bsetbg from cthulhain
Dana Jansens danakj@orodu.net
fa903969
optimized the finding-the-slit-position code in positionWindow
Dana Jansens danakj@orodu.net
83b39a9a
added Inflate, Deflate, and Translate to the Rect geometry class
Dana Jansens danakj@orodu.net
13ac6f2a
remove debugging couts
Dana Jansens danakj@orodu.net
f27fe4ed
temporary solution to avoid placing windows over the slit and toolbar, until NETWM is in effect.
Dana Jansens danakj@orodu.net
4602d871
now yuo can change styles again! (oops) wasnt saving teh nwe style file to the Resource class when it changed.
Dana Jansens danakj@orodu.net
e148f58d
maps/unmaps the toolbar when its resource setting is loaded from the file so it takes effect during a reconfigure.
Dana Jansens danakj@orodu.net
d9959367
accidently removed a line somehow. OpaqueMove is now read from the rc file.
Dana Jansens danakj@orodu.net
307da13f
menus update their values when they are reconfigure()d.
the screen, toolbar and slit rc values are reloaded in BScreen::reconfigure() before the menus.
the toolbar and slit rc values are explicitly loaded in their constructors, as is BScreen's.
Dana Jansens danakj@orodu.net
9cd9d92b
configuration changes "done"!!

on start, the config file is read entirely off the disc, and missing values are assigned defaults.
the config file is immediately written back to the disk to populate missing defaults in the file.
any time a config option is changed the control, the config file is re-written with the change.
choosing reconfig will reload the current config file on the disc.
on shutdown, nothing is written to the config file.
Dana Jansens danakj@orodu.net
66c879bd
Toolbar saves its settings as their changed
Main config's Hide Toolbar option is also saved when it is changed
Removed 2 debug couts from Slit
Dana Jansens danakj@orodu.net
73a3c979
Slit loads its own settings and saves them as they are changed
added an assert in Resource
Dana Jansens danakj@orodu.net
fe9b1efd
fixed snap to edges with toolbar hidden
Scott Moynes smoynes@nexus.carleton.ca
43e9d583
renamed the obResource class to Resource.
Dana Jansens danakj@orodu.net
82e61c01
fixed HAVE_STRING_H introduced from some parrallel development. blast
Scott Moynes smoynes@nexus.carleton.ca
6985e48f
need translations for Hide Toolbar
Scott Moynes smoynes@nexus.carleton.ca
29fff5f5
Added a runtime option for hiding the toolbar totally. Will be cleaner
later. Stay tuned.
Scott Moynes smoynes@nexus.carleton.ca
88d43795
renamed the Changelog files
get the latest version of bsetbg from the blackbox cvs
Dana Jansens danakj@orodu.net
509c88f5
removed unneeded #include <X11/Xutil.h>
Dana Jansens danakj@orodu.net
11318191
reversed tehmouse wheel buttons on the root window. scrolling up now goes to the next workspace.
Dana Jansens danakj@orodu.net
251dd403
get rid of the STDC_HEADERS check... this failed on IRIX with MIPSpro, use checks for individual headers instead
Dana Jansens danakj@orodu.net
67e5cb21
removed the code to make the .blackboxrc symlink to openbox's rc file (it cored anyways)
Dana Jansens danakj@orodu.net
897a9711
applied Ruhi's cleanup patch. moves colSmartPlacement into its own function
using Geomtry objects instead of integer pairs in all of the placeWindow code now
Dana Jansens danakj@orodu.net
adcdf317
added some consts to the cascade code
Scott Moynes smoynes@nexus.carleton.ca
dbd63276
apparently there were compiling problems with automake/autoconf. This should make those go away.
Dana Jansens danakj@orodu.net
df9d0c89
Added a fallback for Best Fit to cascade. Also, moved cascade to its own
function. May not be needed.
Scott Moynes smoynes@nexus.carleton.ca
932ced30
add the Geometry classes to bsetroot
Dana Jansens danakj@orodu.net
3eb75618
Fixed bsetroot to use the new Geometries returned in ScreenInfo
Dana Jansens danakj@orodu.net
25cbe08c
Slit has an area Rect now, and returns Rect, Size, and Points instead of getX/Y and getWidth/Height.
Dana Jansens danakj@orodu.net
44e3582d
BScreen (ScreenInfo) now contains a size() instead of a getWidth/getHeight
Dana Jansens danakj@orodu.net
bea6e5f7
changed OpenboxWindow to not have getFrameX/getWidth/etc functions, and to return Origins and Sizes and Rects, in fuctions like size(), origin(), and area().
Dana Jansens danakj@orodu.net
973880dd
added some missing punctuation
Ruhi Bloodworth ruhi@colophon.cjb.net
3dcebcf5
Added Util.h, which contains only an ASSERT macro for now
Dana Jansens danakj@orodu.net
0cfca85d
changed version number to 1.0.0. fixed a warning in BaseMenu from pointer->reference conversion
Dana Jansens danakj@orodu.net
d2bcec1c
made bsetroot compile with the new code for references instead of pointers
Dana Jansens danakj@orodu.net
ffce7be3
using references instead of pointers if possible in Image
Dana Jansens danakj@orodu.net
9bf23ee3
using a Screen reference instead of pointer in Workspace
Dana Jansens danakj@orodu.net
ba6e2034
using a reference for Openbox instead of a pointer
Dana Jansens danakj@orodu.net
72af8cea
using some references instead of pointers where possible in Screen, ScreenInfo, Slit, Toolbar, and Netizen
Dana Jansens danakj@orodu.net
9ea14110
only add one extra space to pad the clock in the toolbar
Dana Jansens danakj@orodu.net
351f1d03
Using some references instead of pointers for the menus.
Dana Jansens danakj@orodu.net
d00ef145
made shaded windows snap properly at their bottom, using their shaded height.
window.getHeight() now returns the different/correct value when a window is shaded.
Dana Jansens danakj@orodu.net
bb1a9732
changing the fix for fonts clipping in the titlebar. broken fonts (e.g. gelly caused problems in the old method.
Dana Jansens danakj@orodu.net
18acd962
added 'deep' style
Dana Jansens danakj@orodu.net
ff24b645
merged the changelog from the 0.99.0 (stable) branch (the code was previously merged)
Dana Jansens danakj@orodu.net
6aa92a89
added entry for new BestFit placement type
Dana Jansens danakj@orodu.net
424d476f
added first revision of the BestFit placement type.
moved RowSmart placement type out of placeWindow() to its own function like bestFit. Will continue moving other placement types into their own functions.
Dana Jansens danakj@orodu.net
24f9448c
adding Geometry classes: Point, Size, and Rect
Dana Jansens danakj@orodu.net
e17c54e3
removed all Xrm database calls from Screen.cc (style loading).
This completes the conversion to using the obResource class, there are no class to Xrm* except in Resource.cc/h
Dana Jansens danakj@orodu.net
b7fa41a3
Fixed a bug in the bsetroot build that caused really strange behaviour
Scott Moynes smoynes@nexus.carleton.ca
a619b3d1
added symlinking. needs a little work.
Scott Moynes smoynes@nexus.carleton.ca
456cf2d5
real_reconfigure now using obResource instead of teh XrmDatabase calls.
obResource class calls XrmInitialize().
Dana Jansens danakj@orodu.net
8d3c9738
save_rc() using the obResource class to save blackbox's configuration.
renamed BScreen::getCount to BScreen::getWorkspaceCount.
Dana Jansens danakj@orodu.net
e532e957
changed the default edge-snap distance from 0 to 4. This way new users will see that the option is there for them to change.
Dana Jansens danakj@orodu.net
6ea740cd
load_rc(BScreen *) now uses the obResource class to load its configuration
added a few consts in BScreen to be compatible with the new code.
reordered the compilation in src/ so that Resource.cc is in alphabetical order
Dana Jansens danakj@orodu.net
17ef2638
load_rc() now uses the obResource class to load its configuration
Dana Jansens danakj@orodu.net
3da13c16
adding rules on how to code this project.
Dana Jansens danakj@orodu.net
455b288c
added the obResource class which handles Xresouce database files in a sane manner
Dana Jansens danakj@orodu.net
40d73351
added the obResource class which handles Xresouce database files in a sane manner.
Dana Jansens danakj@orodu.net
dfc5f034
Initial revision
Dana Jansens danakj@orodu.net
17532e90
New repository initialized by cvs2svn.
unknown unknown