Commit graph

281 commits

Author SHA1 Message Date
Dana Jansens
d1d84711a2 replace the focus_backup with the screen_support_win, we dont need 2 offscreen windows. 2003-07-10 18:44:27 +00:00
Dana Jansens
85112c4d08 prefix the Timer->ObTimer and TimeoutHandler->ObTimeoutHandler shitz 2003-07-10 17:06:30 +00:00
Dana Jansens
122d55fbad prefixing and capitalizing the StackLayer -> ObStackingLayer enum.
less includes in headers for less rebuilding on changes
2003-07-10 17:03:05 +00:00
Dana Jansens
7d943a950e prefixing and capitalization for the Frame->ObFrame struct and the Context->ObFrameContext enum and its constants. 2003-07-10 07:16:19 +00:00
Dana Jansens
ad45ecb6e3 kill warnings 2003-07-10 06:58:58 +00:00
Dana Jansens
2477a38d2f rename the Client struct to ObClient 2003-07-10 06:38:42 +00:00
Dana Jansens
276b2be581 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.
2003-07-10 06:18:47 +00:00
Dana Jansens
6357583c39 rename 'xinerama' stuff to 'monitors' to be more generic and descriptive. 2003-07-10 05:44:23 +00:00
Dana Jansens
bcc090ec83 these havent been used for a long time.. ;) old parsing shit be gone 2003-07-10 04:32:15 +00:00
Dana Jansens
2abbf01125 update the build system, using a single Makefile.am for a sexyass non-recursive make. booyah! 2003-07-10 04:31:05 +00:00
Scott Moynes
953b68a1d6 Remove menu plugins because they are stupid and don't work. 2003-06-30 00:22:52 +00:00
Dana Jansens
2f9efb384d prepare for alpha1 release.
make 'make dist' work.
2003-06-29 08:47:24 +00:00
Dana Jansens
af8c5f51a5 use strcmp instead of collate, since collate is slower and we're only doing an == check 2003-06-29 08:46:03 +00:00
Dana Jansens
82bbaf4c41 these are old and not used anymore 2003-06-29 08:45:35 +00:00
Scott Moynes
8de13a41b6 Update the send-to window only if the workspaces have changed. 2003-06-29 01:45:32 +00:00
Dana Jansens
bbe0e7da26 snap to all heads the window is present on 2003-06-28 15:49:48 +00:00
Dana Jansens
34e819738b xinerama support 2003-06-27 04:20:30 +00:00
Dana Jansens
2052385333 if grab fails dont set grabbed_key 2003-06-26 07:58:44 +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
ae9aed8545 dont use .. in include paths 2003-06-21 02:30:01 +00:00
Dana Jansens
b1f5555218 put the render theme into a struct 2003-06-21 01:53:26 +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
a865fe603f remove that fancy new leftHanded option, it should be done via xmodmap instead 2003-06-04 22:48:38 +00:00
Dana Jansens
ae0d84721d add a leftHanded option for mouse bindings, reverses the left/right keywords 2003-06-04 22:46:17 +00:00
Dana Jansens
bb93763373 grab bindings on each client's frame (and the focus_backup) instead of on the root window 2003-06-04 22:40:33 +00:00
Dana Jansens
9232682ad6 grab the keybaord before cycling focus for reduced latency 2003-06-04 16:39:45 +00:00
Dana Jansens
d1e355de2c 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)
2003-05-24 21:47:06 +00:00
Dana Jansens
d2857b1194 ECKS EM ELL 2003-05-24 15:35:26 +00:00
Dana Jansens
f7df74b9cc let the client menu open below the top of the window, just limit it at the titlebar 2003-05-24 15:15:41 +00:00
Scott Moynes
b46222c3d9 Fixed missing includes 2003-05-23 15:34:02 +00:00
Dana Jansens
f54e8c9ba0 add --enable-gl support, and put the flags/libs in the appropriate makefiles 2003-05-23 05:30:00 +00:00
Dana Jansens
ebb97c189a had some code inside the action for loop that didnt belong in there 2003-05-23 01:26:39 +00:00
Scott Moynes
4160963ca4 Add toggle decor action to client menu 2003-05-23 00:58:45 +00:00
Dana Jansens
f249e01616 watch out for border widths 2003-05-22 21:29:56 +00:00
Dana Jansens
5ac5170dec only grab C-g while in a chain 2003-05-22 18:22:12 +00:00
Dana Jansens
1bd4bb32a2 add the client_menu stuff 2003-05-22 18:19:14 +00:00
Dana Jansens
1eef38ce75 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. 2003-05-22 18:14:22 +00:00
Scott Moynes
04a85677e5 layers submenu on client 2003-05-22 02:49:08 +00:00
Scott Moynes
71d2605e1c Client menus
Add "client_menu" to pluginrc to use.
2003-05-21 23:58:40 +00:00
Dana Jansens
8c0cae82c9 add fifo_menu shit 2003-05-19 16:49:05 +00:00
Scott Moynes
00960995a2 Added a fifo_menu plugin 2003-05-18 23:36:13 +00:00
Dana Jansens
94d222f6e9 needs the libsn flags to use openbox.h now 2003-05-18 02:50:32 +00:00
Scott Moynes
f54b294ef6 Clean up on destroy. 2003-05-18 02:17:39 +00:00
Scott Moynes
c912b634ab Added stat() based timed menu update.
Needs parser before it is useful.
2003-05-18 01:12:18 +00:00
Dana Jansens
f6b61bb60e disallow drag events on title buttons.
dont redraw title button when the wheel buttons are used on them.
2003-05-17 15:16:45 +00:00
Scott Moynes
66d3006671 Fixed child wait. 2003-05-16 19:12:06 +00:00
Dana Jansens
e4c662ea0b add stdio.h 2003-05-16 18:12:28 +00:00
Scott Moynes
78a8680cd7 Added a menu to read from a pipe.
File descriptors added to the event loop.
2003-05-14 03:34:29 +00:00
Dana Jansens
80dfe9cbe8 watch out for stacking_list 2003-05-11 23:59:16 +00:00
Dana Jansens
58cfbb7f84 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.
2003-05-11 19:44:33 +00:00
Dana Jansens
23697223a5 cleanups 2003-05-11 05:15:59 +00:00
Dana Jansens
ed4f84ac33 can drag slit-apps around in the slit 2003-05-11 05:15:43 +00:00
Dana Jansens
3716928984 ignore the build shit 2003-05-10 20:52:17 +00:00
Scott Moynes
6c431d3a45 tyop 2003-05-10 15:30:47 +00:00
Scott Moynes
24eb9f85df Turn off timed_menu by default 2003-05-10 15:12:27 +00:00
Scott Moynes
03d42b5d82 Timed menu that reads output from a process while the window is hidden 2003-05-10 14:51:27 +00:00
Scott Moynes
e7c9e43210 fixor 2003-05-09 23:29:41 +00:00
Scott Moynes
a8a4a2cca3 Menu uber patch
Since we have no menu parser see menu_startup() to customize
2003-05-09 23:15:28 +00:00
Dana Jansens
f26f23de50 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.
2003-05-09 16:57:17 +00:00
Dana Jansens
4b421dc811 net_WM!@^&( 2003-04-17 16:02:32 +00:00
Dana Jansens
95b1cd0166 use the right client 2003-04-17 16:02:15 +00:00
Dana Jansens
a85158b14f dont use the client if there is none 2003-04-17 16:01:42 +00:00
Dana Jansens
c4af950903 fix up support for moveresize. make keyboard grabs Async so that i can hit escape to cancel a moveresize process. 2003-04-17 07:00:13 +00:00
Dana Jansens
7886b797a3 move the move/resize functionality into moveresize.c, for use with the netwm atoms. use it from teh plugins. combine the two actions. 2003-04-17 05:28:35 +00:00
Dana Jansens
962f0b3062 save the client and context during drags since a pointer grab will change them 2003-04-17 02:11:46 +00:00
Dana Jansens
0e28a07e3d start of showing/rendering menus. woot! 2003-04-15 18:29:55 +00:00
Dana Jansens
184e57c7e3 ignore the remaining new shit from automaking everything again 2003-04-13 21:18:43 +00:00
Dana Jansens
dfc9680e33 back to automake 2003-04-13 21:17:02 +00:00
Dana Jansens
bb8b9ddbc5 pass the Client for frame_context cuz the client might be NULL 2003-04-13 08:36:38 +00:00
Dana Jansens
5cf61ee023 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. 2003-04-13 07:18:28 +00:00
Dana Jansens
787cbcf656 buld fixes for the new libs 2003-04-09 18:36:01 +00:00
Dana Jansens
3e55e63f5d dont check to make sure the window is on screen here 2003-04-07 08:58:45 +00:00
Dana Jansens
49f31c0742 once in a window-cycle, don't fire any other key bindings 2003-04-07 03:47:23 +00:00
Dana Jansens
a484ba5e19 dont let windows be placed offscreen 2003-04-06 19:17:54 +00:00
Dana Jansens
852f36235e save the state at the start of a drag and use it throughout until the button is released 2003-04-06 06:19:15 +00:00
Dana Jansens
26034c3742 dont resize snap windows with size increments 2003-04-06 02:32:28 +00:00
Dana Jansens
7ebc5c797f linear focus cycling of the gods 2003-04-05 22:20:14 +00:00
Dana Jansens
69c9b6211b add special shit for window cycling, grab the keyboard etc 2003-04-05 22:03:24 +00:00
Dana Jansens
cbbf90a718 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/ 2003-04-05 20:27:03 +00:00
Dana Jansens
d485e71bf1 rm the old mouserc shit 2003-04-05 18:12:04 +00:00
Dana Jansens
e3aeb9ffd8 ignore more new shit 2003-04-05 17:23:32 +00:00
Dana Jansens
50fba4bca8 use Button<num> instead of just <num> for specifying buttons by number 2003-04-05 17:23:23 +00:00
Dana Jansens
038e611974 better error msgs 2003-04-05 17:22:35 +00:00
Dana Jansens
d58799bc25 not using quarks, using an array and a Context enum for contexts 2003-04-05 17:16:18 +00:00
Dana Jansens
47cc179781 prefix key bindnigs with 'kbind' 2003-04-05 09:23:21 +00:00
Dana Jansens
98c0c676dd initialize all vars.
change warnings to messages
2003-04-05 00:10:47 +00:00
Dana Jansens
7a651f9ff5 remove debug print 2003-04-04 20:22:44 +00:00
Dana Jansens
68ff2eb3d2 add the keyboard plugin into the build systems
keyboard bindings are parsed from the rc file
2003-04-04 20:19:12 +00:00
Dana Jansens
9084ca41a5 more build fixes 2003-04-03 15:09:24 +00:00
Dana Jansens
d447dc0f59 new build system without automake 2003-04-03 05:59:03 +00:00
Dana Jansens
51ef6e3b55 make the drag threshold and double click time into rc options 2003-04-02 08:02:10 +00:00
Dana Jansens
168e75cf41 add the Shade context to the comments 2003-03-31 22:59:56 +00:00
Dana Jansens
4398c7c168 add a shaded button 2003-03-31 22:58:54 +00:00
Dana Jansens
2b4a42e0fe dont resist to windows which we're not touching 2003-03-31 21:06:20 +00:00
Dana Jansens
251983186d 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) 2003-03-31 20:20:29 +00:00
Dana Jansens
ace0beb915 unser drag_used when drag is unset too 2003-03-31 20:10:56 +00:00
Dana Jansens
d75e094032 add a space where it belongs 2003-03-31 19:55:21 +00:00
Dana Jansens
f99fe83736 make realeases fire releases instead of presses. make drags prevent clicks only if there is something bound to the drag. 2003-03-31 19:46:54 +00:00