Commit graph

3305 commits

Author SHA1 Message Date
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
Dana Jansens
49268650b4 oops typo 2003-06-20 05:45:55 +00:00
Dana Jansens
62240d2b0f take the bevel width into account for the width available 2003-06-20 02:39:20 +00:00
Dana Jansens
f90ee94d6b position the client menu right 2003-06-20 02:19:53 +00:00
Dana Jansens
cd12a2eae5 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. 2003-06-20 02:17:23 +00:00
Dana Jansens
349d0167db miklos does themes like mad 2003-06-20 00:56:13 +00:00
Dana Jansens
ad30e7092b slight optimizations, and make the last 4 gradients work properly 2003-06-20 00:46:53 +00:00
Dana Jansens
fd52dc5d35 center text vertically. use the font's height because all that space is needed for some charcters 2003-06-20 00:38:25 +00:00
Dana Jansens
6e93be1d2e remove non-planar surfaces 2003-06-20 00:05:51 +00:00