Dana Jansens
950516124f
make those apps stay/map on screen!! fuck stupid apps. thats right im talking to you mozilla and you too java.
2003-07-28 18:06:55 +00:00
Dana Jansens
11cde9683d
add client_search_transient which searches the tree from a client down for a client
2003-07-25 13:25:09 +00:00
Dana Jansens
81af5a8b0c
add disabled buttons, instead of now showing buttons at all when they wont do anything, now show a disabled button instead. this severely breaks compatibility with blackbox themes since there is no good way to automiatically create a disabled button that i can think of, so if they dont exist in the theme you get black and white for the button.
...
when a window cant be resized, its handle is not removed but its grips are.
change allowing the user to disable individual decorations as that is overkill,
instead allow a toggle through the client.decorate boolean.
2003-07-10 23:27:02 +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
5be23ec5a4
prefix Group to ObGroup
2003-07-10 07:03:40 +00:00
Dana Jansens
e4be1f860b
prefix TRAN_GROUP to OB_TRAN_GROUP
2003-07-10 07:01:13 +00:00
Dana Jansens
4736c257a5
prefix and capitalize some more constants/enums in client.h (Function -> ObFunctions and WindowType -> ObClientType)
2003-07-10 06:59:39 +00:00
Dana Jansens
2477a38d2f
rename the Client struct to ObClient
2003-07-10 06:38:42 +00:00
Dana Jansens
b42ef7362c
add a mwm.h for the mwm hint structure and flags.
...
use proper prefixing and capitalization for the new mwm stuff.
2003-07-10 06:23:38 +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
0719843c68
add client_search_top_transient.
...
keep transients all on the same desktop together. use client_search_top_transient where possible in client.c
2003-07-10 04:34:18 +00:00
Dana Jansens
34e819738b
xinerama support
2003-06-27 04:20:30 +00:00
Dana Jansens
092616de9a
rename pixel32/16 to RrPixel32/16
2003-06-21 02:00:42 +00:00
Dana Jansens
68cc6e30b8
remove the client_remaximize function, and replace it with the client_reconfigure function, which just calls client_configure with the window's current location and dimensions, user=TRUE and final=TRUE.
...
add support for the VIDMODE extension in client_configure, namely, fullscreen windows are positioned at the point of the viewport rather than at 0,0.
call client_reconfigure when uniconifying a window, so that fullscreen windows are put at the point of the view port.
2003-06-04 23:11:26 +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
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
4d814a383b
add actions for changing client layers to abov/below/normal
2003-05-22 02:22:43 +00:00
Dana Jansens
5a7953b36a
2 in 1 again..
...
a) directional focus actions
b) action system changes i.e. use structs/arrays for convertings strings to actions instead of gross if-else chains
2003-05-19 03:52:25 +00:00
Dana Jansens
a18c1697b1
make icons use pixel32 data, and image_draw takes pixel32 data.
...
client.c gets pixmap icons as a backup to netwm ones, and they are converted into pixel32 data.
2003-05-18 23:06:11 +00:00
Dana Jansens
993fc6226d
2 in 1 deal :\
...
client.c stacking.c: fixing looping transient case for group transient windows. now a window which is transient for a group is *not* transient for any other transient windows in the group (perviously the other window had to be transient for the group to be excluded, now it can be transient for anything).
client.c/h event.c render.c/h: adjustnig icon handling a bit. will be converting the legacy pixmap icons into rgba data so they can be handled the same as netwm icons.
2003-05-18 17:09:55 +00:00
Dana Jansens
b77e40e1c7
rename "Slit" to "Dock".
...
add config options to the rc3 for the dock.
create a window_map, add DockApps to the ObWindow types, use the window_map for translating windows into objects for event handling (only one lookup now) and remove the old maps (client_map, menu_map).
2003-05-16 18:10:10 +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
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
b58268e01a
make fullscreen decorations and functions be calculated by the setup_decor_and_functions func
2003-04-13 21:37:32 +00:00
Dana Jansens
64dac07d07
no fuck that it was working fine
2003-04-10 06:50:57 +00:00
Dana Jansens
cb444e37d2
make the TRAN_GROUP an unsigned long
2003-04-10 06:50:42 +00:00
Dana Jansens
a25b19a17f
support for transients of groups
2003-04-07 08:45:52 +00:00
Dana Jansens
e6cc69ca04
support for transients of groups
2003-04-07 08:43:33 +00:00
Dana Jansens
5f42ecfacb
track window groups
...
iconify all its transients when a window is iconified
2003-04-07 05:47:20 +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
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
4398c7c168
add a shaded button
2003-03-31 22:58:54 +00:00
Dana Jansens
8ac5a60322
rm client_disable_decorations.. it already had an action.
...
add the action to the action_from_string func
2003-03-28 23:02:57 +00:00
Dana Jansens
8fb10d8d87
add client_disable_decorations
2003-03-28 22:59:26 +00:00
Dana Jansens
beb489feeb
comment the new parameter
2003-03-28 08:11:55 +00:00
Dana Jansens
92bea590c0
let a window be 'moved' to a new desktop without actually show/hiding it. useful for sending a window when following it, so theres no flash/flicker
2003-03-28 08:11:02 +00:00
Dana Jansens
bf32b376b5
handle focus in the kernel, no more plugin
2003-03-27 23:10:22 +00:00
Dana Jansens
fef5d0d9bc
use rgba icons for clients
2003-03-26 05:36:18 +00:00
Dana Jansens
3b14b587ef
more focus improvements. everything seems to work!
2003-03-24 04:56:46 +00:00
Dana Jansens
687559cb2d
yet more improvements to focus handling
2003-03-23 23:47: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
dd6e27f2c3
rename the res_name and res_class members to name and class
2003-03-22 00:35:02 +00:00
Dana Jansens
9a4ccc919c
add the client_set_focused function.
...
make focus state be changed internally immediately after calling the X functions to make it so, basically, assume their success. this elimiates races all over the place with our state vs the server's state.
2003-03-21 10:26:26 +00:00
Dana Jansens
db75d406ce
rm the focused member from the client struct, it was redundant with the focus_client variable around
2003-03-21 08:18:39 +00:00
Dana Jansens
45f6d52712
save decor and functions per client for fullscreening!
2003-03-20 21:52:49 +00:00
Dana Jansens
bfea000a74
add a keyboard plugin
2003-03-18 05:29:01 +00:00