Commit graph

3313 commits

Author SHA1 Message Date
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
Dana Jansens
e6739af282 session management works, and it can resume with its old ID, so it works with gnome-session 2003-06-21 09:38:51 +00:00
Dana Jansens
373a4584d6 make session management optional 2003-06-21 08:45:25 +00:00
Dana Jansens
9befe65a65 set the required properties so that session managers see openbox 2003-06-21 08:03:56 +00:00
Dana Jansens
dc92dbfc56 don't exit in the render lib, rather return a NULL font/theme on failure 2003-06-21 05:35:05 +00:00
Dana Jansens
b3e9fea103 add libSM *client* support, so we should work with gnome-session now! 2003-06-21 05:31:54 +00:00
Dana Jansens
5929a63f95 more namespacing with Rr* 2003-06-21 02:39:56 +00:00
Dana Jansens
bb6b616b9c more namespacing with Rr* 2003-06-21 02:39:55 +00:00
Dana Jansens
16066ed282 use the pseudo shit in the instance now 2003-06-21 02:38:47 +00:00
Dana Jansens
768c3cd4a9 more namespacing with Rr* 2003-06-21 02:30:15 +00:00
Dana Jansens
33ec08ea22 more namespacing with Rr* 2003-06-21 02:30:14 +00:00
Dana Jansens
ae9aed8545 dont use .. in include paths 2003-06-21 02:30:01 +00:00
Dana Jansens
c100b72c5d more namespacing with Rr* 2003-06-21 02:26:50 +00:00
Dana Jansens
4541959b8c kill a warning 2003-06-21 02:24:18 +00:00
Dana Jansens
dbe2851b91 more namespacing to Rr* 2003-06-21 02:15:13 +00:00
Dana Jansens
10232a436a fix a warning 2003-06-21 02:14:53 +00:00
Dana Jansens
092616de9a rename pixel32/16 to RrPixel32/16 2003-06-21 02:00:42 +00:00
Dana Jansens
bd59576748 rename color_rgb to RrColor 2003-06-21 01:56:14 +00:00
Dana Jansens
b1f5555218 put the render theme into a struct 2003-06-21 01:53:26 +00:00
Dana Jansens
a4a0cb7829 fixed to accomodate the changes to the render/ API. 2003-06-21 00:42:47 +00:00
Dana Jansens
3f32dfa87e 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.
2003-06-20 07:58:51 +00:00