Dana Jansens
16f46c296d
no tabs
2003-09-17 07:44:49 +00:00
Dana Jansens
c4e4760c41
add copyright headers, adjust --version output to include copyright, and --help output to not include version output.
2003-09-17 07:32:52 +00:00
Dana Jansens
ebf24d5224
raise all the windows with the transient
2003-09-15 11:27:46 +00:00
Dana Jansens
db50fd3026
raise all parents with a transient
2003-09-15 11:15:00 +00:00
Dana Jansens
4ccc4c5ed7
break focus. or maybe make it better.
...
these changes make it work when you alt-tab off a fullscreen window, that it doesnt iconify, and that it is immediately restacked instead of waiting for a FocusIn event to arrive. The code now assumes that if the window says it can focus, that if we focus it, it is focused.
add the XDone handler to ObMainLoop, which is fired upon the occurance of there being no more X events to read.
2003-09-15 10:54:07 +00:00
Dana Jansens
1ce84062b4
dont raise parents of transients when the transient is raised
2003-09-14 21:13:50 +00:00
Dana Jansens
02045b14d6
kill a warning
2003-08-31 16:39:53 +00:00
Dana Jansens
7120face25
add stacking_below which moves a window to immediately below another window. use with care it doesn't enforce transient shit etc..
2003-08-25 07:43:27 +00:00
Dana Jansens
1ac6426abd
80 cols
2003-08-14 05:59:40 +00:00
Dana Jansens
364dfe10ab
dont stack groups together
2003-07-26 06:49:33 +00:00
Dana Jansens
1afc4180d7
stacking fixes
2003-07-25 06:27:37 +00:00
Dana Jansens
bddbe94328
make ob_state a function so it cant be changed outside of openbox.c
2003-07-10 19:06:00 +00:00
Dana Jansens
35418ca0fc
remove the ob_root var, its redundant of what Xlib already provides
2003-07-10 19:01:41 +00:00
Dana Jansens
452f3f8aae
remove useless include
2003-07-10 18:44:49 +00:00
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
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
e4be1f860b
prefix TRAN_GROUP to OB_TRAN_GROUP
2003-07-10 07:01:13 +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
416b9d5f5f
speed up pick_group_windows too
2003-07-10 05:35:22 +00:00
Dana Jansens
38d3cad249
make pick_windows waaaay faster
2003-07-10 05:33:51 +00:00
Dana Jansens
f0b09e265a
allow restacking of transients above one another
2003-07-10 04:37:26 +00:00
Dana Jansens
c6945c1397
rename the raise and lower functions. raise is claimed by signal.h already
2003-07-02 16:11:04 +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
2fa7129ca3
waste of energy in stacking_add, and it even caused bugs. woops.
2003-06-29 04:00:43 +00:00
Dana Jansens
b23fa507a8
put group members above the window when lowering it
2003-06-28 17:28:48 +00:00
Dana Jansens
4695749aab
set the stacking list when stacking changes
2003-06-28 17:21:42 +00:00
Dana Jansens
c170d2f717
stacking changes, its more like the old code without being shitty and with support for raising groups at a time.
2003-06-27 05:42:03 +00:00
Dana Jansens
a9bc09161f
core when the list gets out of order
2003-06-27 04:23:05 +00:00
Dana Jansens
794ce0e083
new stacking code that doesnt suck ass to look at, woot
2003-06-26 07:05:27 +00:00
Dana Jansens
f827fbcaee
remove debug print
2003-06-03 05:17:32 +00:00
Dana Jansens
3424de66b2
only add non-nonintrusively when both windows share a stacking layer
2003-05-29 15:24:56 +00:00
Dana Jansens
cea19c78c1
proper check to see if something was raised, the it==NULL would cause it to always return, incorrectly.
2003-05-18 17:37:03 +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
6e42b65bda
add anotehr stacking_add function.
...
make stacking_add take care of raising also.
make new windows that dont get focus also not raise above the focused window.
2003-05-16 15:16:33 +00:00
Dana Jansens
ea6b9cafe9
was using the frame window in the stacking list hint
2003-05-11 23:34:27 +00:00
Dana Jansens
7c7868f47d
add internal popups n shit to the stacking list.
...
some cleanups for the stacking order hint.
add non-opaque move/resize. cant toggle it yet.
2003-05-11 23:31:43 +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
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
f8e7ab509c
a more correct for the missing frame problem. don't restack windows when changing the window's layer while it is being managed.
2003-04-27 22:33:38 +00:00
Dana Jansens
5888e7ed4b
watch for windows without frames, they can be in the transient order before they get fully managed
2003-04-27 22:25:15 +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
d4b20aef31
rip the prop code i wrote in cwmcc out and make it all 64bit friendly (i think!). stop using gulong for values from the xserver, using guint32 instead.
2003-04-14 21:34:35 +00:00
Dana Jansens
eb5f930ae7
raise and lower all transients along with parents
2003-04-14 01:11:32 +00:00
Dana Jansens
580795fe6a
keep all transient windows above their parents
2003-04-13 23:24:36 +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
42bbf005c8
oops that worked before i borked it bad
2003-03-28 08:06:23 +00:00
Dana Jansens
e1e3974c86
frame is a pointer
2003-03-28 07:54:48 +00:00
Dana Jansens
63bbbaefc7
dont die if a non-visible window is raised/lowered
2003-03-28 07:50:35 +00:00