Commit graph

268 commits

Author SHA1 Message Date
Dana Jansens
6357583c39 rename 'xinerama' stuff to 'monitors' to be more generic and descriptive. 2003-07-10 05:44:23 +00:00
Dana Jansens
bd15aab855 put the transient's title before the parent's in the focus popup 2003-07-10 04:36:42 +00:00
Dana Jansens
1cacfa85d0 add some comments and asserts to make sure I don't ever add this bug again 2003-06-29 17:29:10 +00:00
Dana Jansens
34e819738b xinerama support 2003-06-27 04:20:30 +00:00
Dana Jansens
8a8f2c831f remove an extra useless call to focus_set_client(NULL) 2003-06-08 23:25:21 +00:00
Dana Jansens
8a1fa6d3ac allow cycling to iconic windows 2003-06-04 19:30:35 +00:00
Dana Jansens
4cb48bebb5 reverting the transient focus cycle change, its just not.. right. add the parent's title to the transient's for the popup instead of just relpacing it 2003-06-04 18:22:19 +00:00
Dana Jansens
1139d96e7f better focus cycling for transients. use the parent instead of the transients in the list in case it has more than one, then after choosing it try focus a transient instead 2003-06-04 17:33:20 +00:00
Dana Jansens
0ce054c2b5 dont try change focus while looping thru the focus list 2003-06-04 17:17:55 +00:00
Dana Jansens
e0fa57d21c allow focus_fallback to query if a client can be focused without changing the focus order on it 2003-06-04 17:16:50 +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
26ebe251a9 add a DEBUG_FOCUS print 2003-05-24 08:39:14 +00:00
Dana Jansens
cd54e31a59 clarify comment 2003-05-24 08:10:28 +00:00
Dana Jansens
a83b590ff6 remove a todo item that seems to be.. done! 2003-05-23 02:03:40 +00:00
Dana Jansens
b69473054b missed a case of using the stacking list and assuming that its all clients still. fixed that assumption now. 2003-05-23 02:00:54 +00:00
Dana Jansens
f41d06f583 include grab.h 2003-05-18 23:05:06 +00:00
Dana Jansens
ac779e65ac grab the mouse during focus cycling. this removes the bug of focusing following the mouse when the popup disappears and fuck up your cycling. 2003-05-18 03:32:34 +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
d5eacc5642 add a client_activate function, use it for net_wm_active mesgs and for focus cycling. 2003-05-09 22:53:11 +00:00
Dana Jansens
380ddd2b9c unshade windows when you cycle focus to them 2003-05-09 22:37:19 +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
92d3f2342d add helper functions for manipulating the focus_order list.
move the focus popup into focus.c, out of action.c
allow cycling to iconic windows, which are kept at the bottom of the focus_order lists.
2003-04-25 21:27:16 +00:00
Dana Jansens
16a9ac018e let the frame hold a focus state so that it can lie.
dont focus windows while cycling, just highlight them as if they are focused
2003-04-25 19:55:41 +00:00
Dana Jansens
c2b3a49e69 just formatting 2003-04-18 08:46:19 +00:00
Dana Jansens
a5f5b42455 check for client_normal before focusing 2003-04-18 06:55:51 +00:00
Dana Jansens
06663c245a when unfocusing a window (e.g. unmanaging) try fallback to transient relations, if that fails, try group relations, then fallback to other window. 2003-04-18 06:55:28 +00:00
Dana Jansens
9d16ced24e try focus other transients of the parent window when a transient falls back before focusing the parent 2003-04-18 06:32:54 +00:00
Dana Jansens
25ffe6b566 add support for interactive/keyboard move/resize 2003-04-17 06:17:06 +00:00
Dana Jansens
8d3829d160 that was dumb, it was metacity's fault 2003-04-17 01:25:29 +00:00
Dana Jansens
3505a866fe only cycle to visible windows 2003-04-17 01:24:53 +00:00
Dana Jansens
79a352a40b raise menus above clients.
hilight menu entries as the cursor passes over them.
2003-04-16 05:36:51 +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
71badb0790 move config option loading for the kernel into config.c/h
add options for the number of desktops and the names of the desktops
2003-04-08 07:31:26 +00:00
Dana Jansens
c99bb4a049 add more options for focus fallback, use an enum for all the types of fallbacks. 2003-04-08 06:14:53 +00:00
Dana Jansens
40bfb2b6e5 only cycle focus to normal windows 2003-04-08 04:48:39 +00:00
Dana Jansens
f278ec41e4 fallback to transients' parents when possible.
return the Client* which was focused from focus_cycle
2003-04-08 01:03:26 +00:00
Dana Jansens
083f2f5d5d add focusLast and focusLastOnDesktop options in the [focus] section of the rc3. allows more customizaton of the focus model. default to click-focus style. add handling for focus cycling when nothing on the desktop is focused. 2003-04-07 22:29:40 +00:00
Dana Jansens
79ddf91839 remove debug print 2003-04-07 07:28:06 +00:00
Dana Jansens
db086ef336 put focus_cycle into focus.c, use it there in the action. improved it as well to handle odd cases like modal windows. added functions to client.c which are needed by the focus cycling routine. 2003-04-07 03:46:41 +00:00
Dana Jansens
d6f9bc953a allow specifying that some focus events should be ignored for the focus order list 2003-04-05 22:56:10 +00:00
Dana Jansens
bd12517c61 add focus options to the new rc file 2003-04-05 20:47:16 +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
695520283d rm a no-longer-valid comment 2003-03-31 06:46:19 +00:00
Dana Jansens
a6d9be4f66 yet more focus fixings. RevertToPointerRoot could mess things up focusing a client and us ignoring the FocusIn of Pointer type. this is all handled now. 2003-03-30 22:58:04 +00:00
Dana Jansens
4bd182605c killa debug print 2003-03-28 08:22:46 +00:00
Dana Jansens
96a81e8837 handle better the case of choosing the window to focus but it is already focused when switching desktops 2003-03-28 08:21:38 +00:00
Dana Jansens
ad4062833d sync after focusing 2003-03-28 04:12:23 +00:00
Dana Jansens
045c4f035c rm a bunch of prints. make switching to an empty desktop not kill focus 2003-03-28 01:14:22 +00:00
Dana Jansens
6778db7392 better var naming 2003-03-28 00:17:10 +00:00
Dana Jansens
b23c66afd1 dont rm focus when i actually found something to fall back to with the pointer 2003-03-28 00:16:36 +00:00
Dana Jansens
eee483bb47 add code to fallback focus 2003-03-27 23:07:47 +00:00
Dana Jansens
f29dd7e0cd not using CurrentTime anywhere 2003-03-26 15:02:08 +00:00
Dana Jansens
106d5630bf use the last event timestamp when focusing the focus_backup 2003-03-26 14:06:55 +00:00
Dana Jansens
3b14b587ef more focus improvements. everything seems to work! 2003-03-24 04:56:46 +00:00
Dana Jansens
b2c508d97e set focus_order back to null on shutdown so g_renew would work 2003-03-23 18:11:46 +00:00
Dana Jansens
a3c9271ca2 init the focus_client ptr in startup 2003-03-21 10:23:57 +00:00
Dana Jansens
16787d0a17 oops 2003-03-19 09:33:52 +00:00
Dana Jansens
152c638ef1 destroy the focus_backup 2003-03-19 09:32:51 +00:00
Dana Jansens
8428becfde the focus_order shit is init'd by the screen_startup setting the number of desktops 2003-03-19 08:05:58 +00:00
Dana Jansens
648c55b829 move the focus_order lists into the kernel 2003-03-19 07:08:15 +00:00
Dana Jansens
a91a6f97da kill some whitespace 2003-03-18 09:10:48 +00:00
Dana Jansens
77a46782db kill a comment 2003-03-18 09:10:35 +00:00
Dana Jansens
6e29605d41 send the right client for unfocus events 2003-03-18 08:48:14 +00:00
Dana Jansens
002bf5e7e6 send unfocus events after focus events 2003-03-18 08:41:50 +00:00
Dana Jansens
bfea000a74 add a keyboard plugin 2003-03-18 05:29:01 +00:00
Dana Jansens
75b07a2bb3 all events are dispatched 2003-03-17 20:16:32 +00:00
Dana Jansens
9b33f7ded6 stop using python internally. add an event dispatcher 2003-03-17 19:54:37 +00:00
Dana Jansens
f8a47de5ec merge the C branch into HEAD 2003-03-16 21:11:39 +00:00