Commit graph

65 commits

Author SHA1 Message Date
Mikael Magnusson
d3d4aa2987 80 cols 2006-11-15 21:12:06 +00:00
Mikael Magnusson
d9f14c1d01 update copyright step 2 2006-08-22 16:44:18 +00:00
Mikael Magnusson
8d034c6f4d remove some useless code 2006-08-19 15:01:25 +00:00
Mikael Magnusson
005eb35ee8 fix some warnings from -Wall 2006-08-19 05:05:36 +00:00
Mikael Magnusson
1fad2da07f more 64 bit fixes 2005-10-07 17:00:35 +00:00
Mikael Magnusson
abe258be1d <group> option for raise/lower related actions. hi floam. 2005-02-08 04:33:54 +00:00
Mikael Magnusson
335e8acbfc yay no tabs in the source 2004-03-21 01:03:00 +00:00
Dana Jansens
174de91c34 use g_[s]list_next/previous consistantly, and check for "it" instead of "it != NULL" consistantly. props to Logan again :) 2003-10-25 19:27:09 +00:00
Dana Jansens
740c5b2a20 consistant glib type usage 2003-10-15 03:59:35 +00:00
Dana Jansens
322fc41e49 only restack group windows on the same desktop 2003-10-10 03:45:01 +00:00
Dana Jansens
da226cdeff raise grouped util windows with main windows 2003-10-09 19:29:51 +00:00
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