Dana Jansens
824bfd9d1f
omg i found the bug that would make the mouse cursor end up way far from where you started the drag.
2003-08-02 06:18:53 +00:00
Dana Jansens
2064042d94
lwindow needs a type
2003-07-25 05:25:19 +00:00
Dana Jansens
f3b42e60d8
double clicks only work on the same window with both clicks
2003-07-24 18:18:02 +00:00
Scott Moynes
0e69ae2b96
* 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.
2003-07-23 01:45:44 +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
2477a38d2f
rename the Client struct to ObClient
2003-07-10 06:38:42 +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
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
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
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
Dana Jansens
ed4f84ac33
can drag slit-apps around in the slit
2003-05-11 05:15:43 +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
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
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
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
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
d58799bc25
not using quarks, using an array and a Context enum for contexts
2003-04-05 17:16:18 +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
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
Dana Jansens
c3e80452f0
set lbutton from clicks
2003-03-28 09:29:28 +00:00
Dana Jansens
663102cf53
rm debug prints
2003-03-28 08:36:11 +00:00
Dana Jansens
bb087efb79
take borders into account for figuring clicks
2003-03-28 07:46:17 +00:00
Dana Jansens
f29dd7e0cd
not using CurrentTime anywhere
2003-03-26 15:02:08 +00:00
Dana Jansens
edf98ba134
parse a mouserc file for mouse bindings
2003-03-26 04:25:41 +00:00
Dana Jansens
fede14d6a2
strdown the context name
2003-03-26 00:27:07 +00:00
Dana Jansens
95ffd99cfa
presses work when clicks dont on the frame around the titlebar..
2003-03-25 22:13:44 +00:00
Dana Jansens
77e09830c5
raise AND focus
2003-03-23 22:27:22 +00:00
Dana Jansens
80c7f14520
add the plugin_setup_config function
2003-03-23 19:42:47 +00:00
Dana Jansens
9b514b3b61
add the client_kill function, and the kill action, and bind it to the middle mouse button on the close button.
2003-03-22 06:58:38 +00:00
Dana Jansens
ba1e06157d
dont raise on client clicks
2003-03-21 22:51:08 +00:00
Dana Jansens
515f8d8760
dont raise the window on a titlebar drag either
2003-03-19 19:27:25 +00:00
Dana Jansens
1588c852ec
add a drag threshold
2003-03-19 19:25:31 +00:00
Dana Jansens
029f35d613
use the grab.h funcs to grab keys and buttons
2003-03-19 18:56:15 +00:00
Dana Jansens
32a17b31b0
fewer context lookups
2003-03-19 18:34:15 +00:00
Dana Jansens
78e64a0aff
add click on client binding. XAllow when clicking on the client
2003-03-19 17:23:19 +00:00
Dana Jansens
a7705024c6
all the old ob2 mouse bindings are workin
2003-03-19 08:40:00 +00:00
Dana Jansens
9ca9bcc11c
add mbinds for shading windows on the titlebar
2003-03-19 08:20:31 +00:00
Dana Jansens
6d400ac044
end drags
2003-03-19 05:52:36 +00:00
Dana Jansens
e4fe6da48c
dont clean up nulls
2003-03-19 04:22:29 +00:00