Dana Jansens
4cf8fd5c23
if Key_R is set to multiple mods, then it'll use them all now. but Key_L still takes precidence if they are different
2007-06-07 04:55:21 +00:00
Dana Jansens
a97f6faba5
rather than making you hit both Key_L and Key_R if they are bound to different things, make Key_L take precidence. But if only Key_R is bound then use that. If Key_L is bound to multiple masks it'll use them all, but that won't work for Key_R right now.
2007-06-07 04:48:53 +00:00
Dana Jansens
94140a4b35
get rid of client->transient_for. just client->parents and client->transient_for_group now.
2007-06-07 04:22:56 +00:00
Dana Jansens
a79e51c64f
transient_for is now only used to check for OB_TRAN_GROUP
2007-06-07 03:43:22 +00:00
Dana Jansens
428880d75a
more cleanup
2007-06-07 03:37:09 +00:00
Dana Jansens
7a33207a50
more cleanup
2007-06-07 03:25:15 +00:00
Dana Jansens
571b09f999
nice code cleanup that's been needed for a long time. add parents list to client, which you can iterate instead of going thru the group.
2007-06-07 03:21:18 +00:00
Dana Jansens
d3095f3671
fallback under the mouse when config_focus_under_mouse
2007-06-06 18:47:00 +00:00
Dana Jansens
587523c0cb
one more..
2007-06-06 16:08:21 +00:00
Dana Jansens
f6aaaeddf5
better group_full func
2007-06-06 16:07:39 +00:00
Dana Jansens
5c78f329ae
check if they have a group
2007-06-06 16:06:44 +00:00
Dana Jansens
d0bde36aa7
better code for the last commit. let transients get focus when a group member is focused too.
2007-06-06 14:34:22 +00:00
Dana Jansens
7a13f91875
let transients take focus when anything in the transient tree _or the group_ is focused
2007-06-06 14:23:56 +00:00
Dana Jansens
15fb1bde54
remove some debug prints
2007-06-06 02:15:51 +00:00
Dana Jansens
ca0c927201
ignore control_l/r shift_l/r and caps_lock bindings. Control, Shift and NumLock are hardcoded to the modmasks for them.
2007-06-05 18:48:14 +00:00
Dana Jansens
b1c209c174
fix for capslock bound to other modifiers. i think this is okay?
...
strip LockMask instead of what caps_lock is bound to.
2007-06-05 18:37:39 +00:00
Dana Jansens
cea8656983
typo from code i removed
2007-06-05 17:17:01 +00:00
Dana Jansens
94c95663a8
don't force clients on screen when restarting
2007-06-05 17:01:55 +00:00
Dana Jansens
04eea8e56d
add some padding inside the text box
2007-06-05 16:58:17 +00:00
Dana Jansens
4e9a3becb4
make parentrelative raised labels look nice in popups
2007-06-05 16:50:46 +00:00
Dana Jansens
acf6273feb
revert that, center the popups for move/resize and keychains
2007-06-05 16:47:39 +00:00
Dana Jansens
7736fcc4b6
center text in popups when the popu is sized to the text width
2007-06-05 16:46:31 +00:00
Dana Jansens
faab2f4400
add comments
2007-06-05 16:42:27 +00:00
Dana Jansens
3499ea8397
use the label only for popups without an icon, if the label is not parentrelative
2007-06-05 16:41:36 +00:00
Dana Jansens
8349e4ca6b
add osd border stuff
2007-06-05 15:57:27 +00:00
Dana Jansens
7086c146af
dont place transients based on non-normal parents
2007-06-04 21:54:06 +00:00
Dana Jansens
f0455c02d2
dont use non-normal windows to pick a monitor for transients
2007-06-04 21:35:31 +00:00
Dana Jansens
8772b46b56
allow focus to fallback to omnipresent windows, except during desktop switching which is when they are vile
2007-06-04 20:53:33 +00:00
Dana Jansens
9a7c4de2eb
don't copy the desktop from group parents when they are omnipresent
2007-06-04 20:46:49 +00:00
Dana Jansens
62d9a34138
don't change the focus order when a client tries to focus but is not visible. client_activate will -make- it visible anyways.
...
fixes focus fallback's loop totally breaking (stopping on 32bit and looping forever on 64bit) when it encountered a non-visible window
2007-06-04 20:31:33 +00:00
Dana Jansens
c0aa4f155b
dont let windows place over menu or toolbars if they don't have a parent
2007-06-04 19:06:09 +00:00
Dana Jansens
0a5ac0c8ef
don't place windows over docks. but let them place over menus and toolbars. i guess not utility windows though?
2007-06-04 19:02:04 +00:00
Dana Jansens
d8c518978b
placement improvements?
...
when placing transients don't place them relative to iconified parents.
try place avoiding max/fullscreen windows first, then ignore them entirely if that fails.
2007-06-04 18:37:07 +00:00
Dana Jansens
f869ec5121
when placing transients in the stacking order, only use relatives that are on screen or share the desktop or whatever, not iconic ones
2007-06-04 18:25:01 +00:00
Dana Jansens
83d6c3a8c7
fix stacking_add_nonintrusive for when only 2 windows, and one is moving below the focused window (fullscreen losing focus)
2007-06-04 17:43:07 +00:00
Dana Jansens
1e5d8ce0a8
when undermouse is off, ignore enter events from windows lowering/raising themsvelves (or from a pager restacking them)
2007-06-04 01:57:11 +00:00
Dana Jansens
a4ef4fd550
unused variables
2007-06-03 23:00:09 +00:00
Dana Jansens
b253dff606
much simpler and works just as well! client's reference position doesnt change just because the decor sizes do
2007-06-03 21:19:33 +00:00
Dana Jansens
8861b44cc8
don't use the title separator color for shaded windows
2007-06-03 19:48:43 +00:00
Dana Jansens
3853b19f0e
make focuslast default to true
2007-06-03 19:26:25 +00:00
Dana Jansens
0df3d6f6c3
support serials wrapping around
2007-06-03 19:20:55 +00:00
Dana Jansens
4940d007cc
super amazing enter event skipping.
...
also mucho fixed for <underMouse>
2007-06-03 19:09:32 +00:00
Dana Jansens
097d02d9d3
add <underMouse> focus option
2007-06-03 17:58:21 +00:00
Dana Jansens
e61ad3581f
return if the window was restacked
2007-06-03 17:55:49 +00:00
Dana Jansens
47d63718c6
revert 7283 until we find out what version they are using
2007-06-03 17:07:26 +00:00
Dana Jansens
c61c7e7329
always ungrab the keyboard/mouse with current time because i dont know what else we can do with buggy x.org
2007-06-03 16:59:24 +00:00
Dana Jansens
439d2c62fa
remove the title separator width thing.
...
add a separate color for the title separator
2007-06-02 21:19:49 +00:00
Dana Jansens
25f215444b
use the new window.title.separator.width
2007-06-02 21:02:43 +00:00
Dana Jansens
b0aa29db69
do the menu_can_hide thing properly. was such a hack before? and the variable was getting set from all kinds of events like motion notify. totally not reliable. now it works all nice.
2007-06-02 19:14:32 +00:00
Dana Jansens
dcb76cac8f
better fix for focus going to the frame window when iconifying with RevertToParent. Treat the focus in like a focus out.
...
When focus moves to a window that doesn't exist, need to set the focus_client to NULL otherwise the client that lost focus won't know and won't update its decor
2007-06-02 03:31:25 +00:00
Dana Jansens
c768a7dae7
catch focus out events on the frame window - this happens with revert to parent when a window is iconified. we get focusin on the frame without a focus out - which then makes us fallback. but catch the resulting focusout on the frame to make the window lose its focused decor
2007-06-02 03:16:02 +00:00
Dana Jansens
a866259d1f
when finding edges and we're omnipresent only use windows on screen
2007-06-02 00:12:37 +00:00
Dana Jansens
10f79f4dae
change which windows are used for finding edges. its the same as window resistance really now. and works if the window isnt on the current desktop
2007-06-02 00:05:06 +00:00
Dana Jansens
2b28aa8c41
smrts.
...
compare windows for restacking based on their desktops and if they are iconified. dont compare to irrelavent ones. also if the sibling isn't valid then don't use it.
2007-06-01 23:46:38 +00:00
Dana Jansens
22a17d3a28
only do restack checks on windows that are visible
2007-06-01 23:41:53 +00:00
Mikael Magnusson
47529e777f
revert 7246 and simplify action_raiselower a bit, turns out 7246 wasn't needed for that after all
2007-06-01 23:39:52 +00:00
Dana Jansens
3547fe26ed
formatting
2007-06-01 23:24:01 +00:00
Mikael Magnusson
0f677834e2
have stacking_restack_request return a bool that says if it did something with TopIf/BottomIf (other cases always return true)
2007-06-01 23:20:05 +00:00
Dana Jansens
819be4fea8
missing a var name
2007-06-01 22:58:41 +00:00
Mikael Magnusson
3c4e59d597
i think this would overflow?
2007-06-01 21:36:16 +00:00
Dana Jansens
3da77dbf71
big explanation
2007-06-01 16:32:51 +00:00
Dana Jansens
668e855b96
fix java
2007-06-01 16:14:03 +00:00
Dana Jansens
eb237bf379
add comment
2007-06-01 05:21:54 +00:00
Dana Jansens
af42ac2a53
less configure events on mapping
2007-06-01 05:21:09 +00:00
Dana Jansens
32b64b6cf5
fix comment
2007-06-01 04:59:57 +00:00
Dana Jansens
9b5770277d
less configurenotify spam
2007-06-01 04:54:42 +00:00
Dana Jansens
fba24cf073
make the default drag threshold 8px
2007-06-01 01:56:46 +00:00
Dana Jansens
2d9260f8c4
make escape close the whole menu
2007-05-31 23:30:50 +00:00
Dana Jansens
55886f27aa
nothing really..
2007-05-31 23:26:34 +00:00
Dana Jansens
6fbeeb8032
don't hover buttons while the pointer is grabbed
2007-05-31 23:15:26 +00:00
Dana Jansens
50a0bf090b
when reconfiguring, readjust clients positions based on the change in their decoration sizes and their gravity
2007-05-31 23:07:16 +00:00
Dana Jansens
e8cd4c4d8d
fix ooffice (and all stupid windows that use static gravity)
2007-05-31 21:33:51 +00:00
Dana Jansens
5588c49335
add an allow_fallback option when opening a theme
2007-05-31 15:40:41 +00:00
Dana Jansens
467b7f4d4d
make it possible to iconify a modal window when its parent is the only window left on the desktop.
...
when focus falls off of a window, don't allow focus to go back to that same target - when a window is iconified is the case.
what focus_fallback_target, to check whe allow_refocus is false, check where focus will actually be sent
2007-05-30 20:53:00 +00:00
Dana Jansens
4ff0d49cc7
deiconify modal windows when you try to focus their parent
2007-05-30 20:46:46 +00:00
Dana Jansens
5074d902aa
add a big comment about more menus
2007-05-30 20:33:54 +00:00
Dana Jansens
24df4baa6b
dont need to recurse
2007-05-30 20:30:24 +00:00
Dana Jansens
7d93a21878
let new utility windows get focus under the normal rules
2007-05-30 19:16:19 +00:00
Dana Jansens
b2dfa2fc9b
don't hide the dock when the mouse goes into a dock app
2007-05-30 17:55:36 +00:00
Dana Jansens
999cf25006
missing header
2007-05-30 13:52:31 +00:00
Dana Jansens
9a3464b8e3
that change was a bug after all. mika was right!
2007-05-30 02:19:02 +00:00
Dana Jansens
5ed8f27186
fix a segfault
2007-05-30 02:03:29 +00:00
Dana Jansens
16e40dbd0c
send dcop's output to dev null
2007-05-29 23:11:17 +00:00
Dana Jansens
a9b411ce84
fix the bottom decor stuff for maximized windows. kill the border and tings at the bottom for fullmax windows.
2007-05-29 21:04:06 +00:00
Dana Jansens
e473ec2b60
dont center utility and stuff windows on screen
2007-05-29 20:47:46 +00:00
Dana Jansens
a4150ae3d9
add comments
2007-05-29 12:26:41 +00:00
Dana Jansens
ac72dafab4
fix clients with static gravity
2007-05-29 12:23:52 +00:00
Dana Jansens
292cb8b42e
center splash screens like parentless transients
2007-05-29 12:21:46 +00:00
Dana Jansens
a71a98b667
set a OB_ICONIFY_ALPHA define in misc.h for the 3 places to all use
2007-05-29 03:55:56 +00:00
Dana Jansens
7b14d44b39
g_spawn_async wants a char**, not const
2007-05-29 03:53:57 +00:00
Dana Jansens
cb5cc0d7ac
trying to be as cool as mika /._.;\
2007-05-29 03:40:43 +00:00
Dana Jansens
1d267613a3
dont free random stuff
2007-05-29 03:38:18 +00:00
Dana Jansens
13f812174e
let gcc do the math. it should be compiler optimized away
2007-05-29 03:37:01 +00:00
Dana Jansens
28ad33fd5f
brackets ftw. opacity for rgba's works.
2007-05-29 03:36:12 +00:00
Mikael Magnusson
5e98d8a452
set alpha based on iconicness in client list menus
2007-05-29 03:32:04 +00:00
Dana Jansens
f38be06788
set the alpha based on iconicness
2007-05-29 03:30:43 +00:00
Dana Jansens
66d51f2635
alpha :x not width
2007-05-29 03:28:40 +00:00
Dana Jansens
319fb35962
add the rgba alpha to the menu entries
2007-05-29 03:24:04 +00:00
Dana Jansens
c4eaa94385
put an alpha channel in the rgba texture
2007-05-29 03:22:55 +00:00
Dana Jansens
6e06e45fb6
fix hack for windows moving by their decor size
2007-05-29 00:42:16 +00:00