Dana Jansens
ea8c154ecf
add the openbox binary
2003-06-27 13:00:05 +00:00
Dana Jansens
083afe5e2e
add a call to g_set_prgname
2003-06-27 12:10:17 +00:00
Dana Jansens
c170d2f717
stacking changes, its more like the old code without being shitty and with support for raising groups at a time.
2003-06-27 05:42:03 +00:00
Dana Jansens
a9bc09161f
core when the list gets out of order
2003-06-27 04:23:05 +00:00
Dana Jansens
34e819738b
xinerama support
2003-06-27 04:20:30 +00:00
Dana Jansens
d0abbec2e5
root menu on right click
2003-06-27 00:09:39 +00:00
Dana Jansens
e846063fa8
4 space indents
2003-06-27 00:03:43 +00:00
Dana Jansens
f6b19a1dc4
return true when ungrabbing so that it can ungrab them all on shutdown
2003-06-26 23:33:29 +00:00
Dana Jansens
81cf4699df
set ret to true when grabbing and we alerady have it grabbed
2003-06-26 23:31:20 +00:00
Dana Jansens
15c7707181
dont destroy the match pattern, it seems that Xft holds onto the pointer
2003-06-26 17:51:52 +00:00
Dana Jansens
22112d2b4e
check that extensions_vidmode is set before trying to use the vidmode functions
2003-06-26 16:32:40 +00:00
Dana Jansens
2052385333
if grab fails dont set grabbed_key
2003-06-26 07:58:44 +00:00
Dana Jansens
d3dd25a55c
return FALSE if a grab fails
2003-06-26 07:58:25 +00:00
Dana Jansens
da24f9156b
set the desktop hint when the window already has a hint but its out of range
2003-06-26 07:30:19 +00:00
Dana Jansens
0423b057ed
clear the over item in the menu when executing shit
2003-06-26 07:22:29 +00:00
Dana Jansens
9c8ee186d9
add NUM_STACKLAYER, fix some comments that dont apply
2003-06-26 07:08:16 +00:00
Dana Jansens
0443796e40
remove unused variable
2003-06-26 07:07:59 +00:00
Dana Jansens
ba76ffaa2b
remove/add instead of raising to put a window into a new layer
2003-06-26 07:07:42 +00:00
Dana Jansens
794ce0e083
new stacking code that doesnt suck ass to look at, woot
2003-06-26 07:05:27 +00:00
Dana Jansens
e39762b05b
use the minsize to keep the stuff ni the dock off of the bevel edges etc
2003-06-26 05:46:06 +00:00
Dana Jansens
bf2f0c58ca
add comment
2003-06-26 01:35:41 +00:00
Dana Jansens
a12e73cf37
read fonts and titlebar layout from theme files
2003-06-26 01:29:45 +00:00
Dana Jansens
5410a9d149
add right click on icon to open the client menu
2003-06-25 23:22:28 +00:00
Dana Jansens
c791cbfda0
set teh X so it gets used right
2003-06-25 21:18:16 +00:00
Dana Jansens
0901ddf891
keep a small space on the sides of windows between the edge and the text
2003-06-25 21:17:15 +00:00
Dana Jansens
549627402c
only render if there was an over existing
2003-06-25 18:46:51 +00:00
Dana Jansens
7af1c6a9c3
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
2003-06-25 18:43:42 +00:00
Dana Jansens
32c51bb443
show the client meun on "press" on the icon
2003-06-25 18:42:05 +00:00
Dana Jansens
487c0a4a08
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
2003-06-25 18:41:40 +00:00
Dana Jansens
0e9c5049a5
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.
2003-06-25 18:40:04 +00:00
Dana Jansens
4b90b241ce
grab all motion events for pointer grabs
2003-06-25 18:34:28 +00:00
Dana Jansens
a385702349
position submenus correctly horizontally
2003-06-24 19:33:24 +00:00
Dana Jansens
b61a41c6b1
menus were too short by a border width
2003-06-24 19:22:41 +00:00
Dana Jansens
6dd3ee7271
check to make sure the window is on screen *after* positioning it
2003-06-24 19:19:06 +00:00
Dana Jansens
5cd0ed57ac
do horz grads without any multipliaction
2003-06-24 18:56:47 +00:00
Dana Jansens
1e882b6271
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.
2003-06-24 18:54:18 +00:00
Dana Jansens
dc60657acf
integer math for gradients. horz vert and diags and pipecross work so far.
2003-06-24 18:16:23 +00:00
Dana Jansens
76aeb9b231
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.
2003-06-22 08:32:35 +00:00
Dana Jansens
197988af67
reorder startup so menu goes before config parsing
2003-06-22 08:29:40 +00:00
Dana Jansens
17a85c1cbd
add a root menu
2003-06-22 08:25:30 +00:00
Dana Jansens
069e9607fa
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.
2003-06-21 18:59:35 +00:00
Dana Jansens
d085756572
make client_reconfigure a non-user-type client_configure
2003-06-21 18:29:42 +00:00
Dana Jansens
75b23047d6
strdup the exec path cuz it gets freed by the time we restart otherwise
2003-06-21 18:14:42 +00:00
Dana Jansens
77062863f3
moveresize messages are not user-requests
2003-06-21 18:10:04 +00:00
Dana Jansens
7e83fa0866
remove debug print
2003-06-21 18:08:26 +00:00
Dana Jansens
716477fc40
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.
2003-06-21 17:28:36 +00:00
Dana Jansens
0a8fa636cd
always create the bg pixmap, X seems to not like it if i dont?
2003-06-21 17:13:45 +00:00
Dana Jansens
bab8b41f5c
always use the session id from the session manager when setting the restart property
2003-06-21 16:37:39 +00:00
Dana Jansens
4cf23f53e7
add -sm-disable option
2003-06-21 09:51:15 +00:00
Dana Jansens
7f2550e0ce
only show -sm-client-id in the help when session management is build in
2003-06-21 09:40:15 +00:00