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
Mikael Magnusson
39d94f0db0
no pointless using of the comma operator
2007-05-29 00:14:56 +00:00
Mikael Magnusson
e215fc0110
make next/previouswindow and dirfocus actions show the focus_cycle_indicator even if they target the focused window, remove an unused variable from focus_cycle but not from focus_directional_cycle, there we use it to fix the aforementioned indicator.
2007-05-29 00:06:51 +00:00
Dana Jansens
6fa15756c3
wasted checked, configure will do them for us
2007-05-29 00:04:07 +00:00
Dana Jansens
ba2de2d512
give the client a 0 border again.
2007-05-28 23:15:51 +00:00
Dana Jansens
56b01b73a8
have the clientpadding color show during resize, and no flashing on unmap. we win !
2007-05-28 22:46:28 +00:00
Dana Jansens
2aa0a6b01b
get rid of the plate window
2007-05-28 22:30:59 +00:00
Dana Jansens
a1511e4655
get rid of the "inner" window
2007-05-28 22:18:32 +00:00
Dana Jansens
3e8d8108e7
when focus goes to the root window, and it is coming from another screen, fall back to a client
2007-05-28 21:57:11 +00:00
Dana Jansens
6e5d9c5337
use new functions to cancel key grabs
2007-05-28 21:56:27 +00:00
Dana Jansens
c7731ecb8d
a better ordering for mapping window configure events
...
configure the window to find where it will actually be, with all the startup states off. then apply the startup states to those dimensions
2007-05-28 21:08:28 +00:00
Dana Jansens
78ff91ae6c
fix comment
2007-05-28 20:16:43 +00:00
Dana Jansens
b30380700f
tell the ksplash screen we've started up, through the dcop command line program, if it's around
2007-05-28 20:03:57 +00:00
Dana Jansens
c726a1f709
set the current theme in a root property
2007-05-28 13:37:32 +00:00
Dana Jansens
9d8e1da42a
remove ob_config atom, its not used
2007-05-28 13:33:44 +00:00
Dana Jansens
123ee25c59
final touches for r6990-6992
2007-05-28 04:26:14 +00:00
Dana Jansens
2a84418ee4
missed one
2007-05-28 04:20:02 +00:00
Dana Jansens
be3b78736f
better more obvious code
2007-05-28 04:18:54 +00:00
Dana Jansens
2f579df4e7
call client_reconfigure after setup_decor_and_functions to make the changes appear
2007-05-28 04:14:03 +00:00
Dana Jansens
cc2237bb4f
fix a comment
2007-05-28 04:09:39 +00:00
Dana Jansens
0299cdedd7
make mouse clicks higher up in the menu select the submenu
2007-05-28 03:48:04 +00:00
Dana Jansens
f8aab34e52
dont make motions in menus outside of the active menu, its child, and its parent, do anything
2007-05-28 03:31:06 +00:00
Dana Jansens
6a2010199b
OPTIMZIE
2007-05-28 03:05:03 +00:00
Dana Jansens
78c80b68dc
7/16 opacity! heh
2007-05-28 03:02:54 +00:00
Dana Jansens
451fb42cd0
3/8 opacity for iconic windows
2007-05-28 03:02:00 +00:00
Dana Jansens
db4bc708d3
make iconic windows have 50% opacity in the alt-tab box
2007-05-28 02:56:35 +00:00
Dana Jansens
8205b6581d
update the strut when strut_partial changes
2007-05-28 02:23:23 +00:00
Dana Jansens
2050e99a5f
dont count non-normal windows as parents, in the group too
2007-05-28 02:21:10 +00:00
Dana Jansens
a5aa1af32c
typo again!?
2007-05-28 02:15:47 +00:00
Dana Jansens
5ec53919bd
dont count non-normal windows as parents
2007-05-28 02:15:31 +00:00
Dana Jansens
9182f1a603
typo and ()s
2007-05-28 02:13:17 +00:00
Dana Jansens
301016fd2b
don't give focus to transient when it is ambiguous, but only if they have a parent
2007-05-28 02:12:36 +00:00
Dana Jansens
e9f6255b18
properly search for a focused window in the transient tree
2007-05-28 02:02:13 +00:00
Dana Jansens
30912d467a
do try_configure to find out what width the window will actually be, before adjust the x/y based on gravity, if they didn't specify the x/y
2007-05-28 01:42:50 +00:00
Dana Jansens
33406a1c7f
when compressing motion events use both xy and rootxy
2007-05-28 01:07:45 +00:00
Dana Jansens
461ae2a833
add a comment and make it smarter about when to let you focus cycle to windows with modal children
2007-05-28 00:38:44 +00:00
Dana Jansens
e48dce6707
add a comment
2007-05-28 00:35:11 +00:00
Dana Jansens
16fcb1213d
when you focus a window, bring any modal children it has to that desktop
...
when falling back, return the window which actually was focused by client_focus
let you focus cycle to windows when their modal window is on another desktop (it will be brought over)
2007-05-28 00:33:58 +00:00
Dana Jansens
8874ec1fc4
put transients on the current desktop when their parent is on all desktops
2007-05-28 00:05:51 +00:00
Dana Jansens
078f6e5ad0
properly align stuff when the icon is on the right side
2007-05-27 23:33:27 +00:00
Mikael Magnusson
0c8c23e8fd
only hilight the first entry when opening the menu with a keybind
2007-05-27 23:11:14 +00:00
Dana Jansens
c53db44602
ignore focusout notifyungrab.
...
fix focus bug in firefox where you use gmarks popup and when you go to a page with it, it think focus went to a black hole
2007-05-27 23:09:22 +00:00
Dana Jansens
b8fded742a
make focuslast only apply to switching desktops, like 3.3.1
2007-05-27 22:50:40 +00:00
Dana Jansens
568ca95bc2
unused variables
2007-05-27 22:48:40 +00:00
Dana Jansens
5395d30623
put xerrors in the debug output when they are being ignored
2007-05-27 22:39:57 +00:00
Dana Jansens
65bf23c27d
when colormap changes and it is installed, reinstall the new one
...
also add a debug print
2007-05-27 22:39:30 +00:00
Dana Jansens
a59540f25a
improve the colormap setting code
2007-05-27 22:38:48 +00:00
Dana Jansens
35889c2854
mssing a break; *^^;*
2007-05-27 22:37:16 +00:00
Dana Jansens
a9ff8217bf
debug prints improved
2007-05-27 22:31:38 +00:00
Dana Jansens
547da27332
only 1 unmap is generated when we reparent the window at startup. not sure when this changed but weve changed our eventmasks, or maybe it was always wrong. but yeh.
2007-05-27 22:23:47 +00:00
Dana Jansens
c189771cef
when an app doesn't specify PPosition or USPosition, then assume its PPosition
2007-05-27 21:30:16 +00:00
Mikael Magnusson
47744e03c3
don't crash when you press enter with nothing selected in the menu
2007-05-27 18:57:51 +00:00
Mikael Magnusson
7f9080c6a0
hilight the first normal entry also if there is a menuheader/separator before it
2007-05-27 17:31:22 +00:00
Dana Jansens
914d18f364
fix formatting
2007-05-27 16:35:44 +00:00
Dana Jansens
01a7a9edb7
fix window gravity when there is a border width
2007-05-27 16:33:59 +00:00
Dana Jansens
8e19e99ac8
debug print modified and the confignotify test
2007-05-27 15:28:16 +00:00
Dana Jansens
2521fd24c5
don't set the above member in synthetic configurenotify events
...
add more output in confignotify test
2007-05-27 14:49:44 +00:00
Dana Jansens
cace930f8c
only need to call xconfigurewindow once
2007-05-27 14:33:37 +00:00
Dana Jansens
10002eaa27
don't queue focusing actions. so they don't hide the menu right away
2007-05-27 05:07:17 +00:00
Dana Jansens
fe99440c16
don't set the global moving state unless the move/resize is accepted
2007-05-27 04:16:14 +00:00
Dana Jansens
47986dcd9c
always set all the coords, as the x/y only change when resizing the border too
2007-05-27 00:35:00 +00:00
Mikael Magnusson
c11d83e5ae
this fits in 80 cols on one line and oh my god I wrote where instead of we're :(((((((((((((((((( sad face
2007-05-26 23:32:25 +00:00
Mikael Magnusson
fb952d863a
don't fake an enter event if where still in the same window
2007-05-26 23:30:59 +00:00
Dana Jansens
a38012f2ff
only readjust the frame size when the client needs to be resized
2007-05-26 23:12:29 +00:00
Dana Jansens
5883164b19
fix for not changing clients' border widths on them
2007-05-26 23:09:34 +00:00
Dana Jansens
2e529e3ff3
don't change clients' borders
2007-05-26 22:55:13 +00:00
Dana Jansens
306ea13177
we set borderwidth to 0 so always give that to the client consistently
2007-05-26 22:41:31 +00:00
Dana Jansens
a4f868a195
send the client's border width in configurenotify messages, so it can get the right offset
2007-05-26 22:28:27 +00:00
Dana Jansens
5e9e266722
change in how things are ungrabbed to avoid grabwhilenotify. don't ungrab every key press. just ungrab the passive grab when there is no active grab and we are going to move focus.
...
this should be less intrusive and seems to work
2007-05-26 22:13:34 +00:00
Dana Jansens
4a45cabd4f
revert r6802.
...
it seems that focusin/out notifygrab business is only affected by *keyboard* grabs, not pointer grabs, at least not passive pointer grabs
2007-05-26 22:03:07 +00:00
Dana Jansens
aa7c36d1bc
only kill focus cycling when the window being destroyed was in the list of targets
2007-05-26 21:22:28 +00:00
Dana Jansens
11c4ce4903
don't need the client destructor now
2007-05-26 21:09:48 +00:00
Dana Jansens
5d9b059601
oops was saving tthe options in the wrong place.
...
save the panels/dockwindows/desktopwindows/alldesktops options when focus cycling starts
2007-05-26 21:03:48 +00:00
Dana Jansens
c090f63011
save the panels/dockwindows/desktopwindows/alldesktops options when the focus cycling popup is shown
2007-05-26 20:56:00 +00:00
Dana Jansens
12bbc0cc43
use focus_cycle_stop to cancel focus cycling
2007-05-26 20:52:21 +00:00
Dana Jansens
508ce538c0
when canceling focus cycling, cancel both normal and directional
2007-05-26 20:48:52 +00:00
Dana Jansens
a76ac8205c
don't crash when a window adds itself to the focus order while cycling
2007-05-26 20:43:08 +00:00
Dana Jansens
959fff5e1c
drop the startup notify timeout from 30 to 20 seconds
2007-05-26 19:58:20 +00:00
Dana Jansens
23f9ae2768
add a comment about the last revision
2007-05-26 19:48:55 +00:00
Dana Jansens
47a4c3324a
don't map the client window when grabbing the frame. we need to set up the client and send configurenotifies and stuff *before* sending the map notify
2007-05-26 19:46:28 +00:00
Dana Jansens
16ae58681e
remove a debug print
2007-05-26 17:36:05 +00:00
Dana Jansens
09f4483ce0
fix titleleft and titleright for fullmax windows without decorations
2007-05-26 15:53:05 +00:00
Dana Jansens
a8fe821fdd
use the PSize and USSize hints to decide to resize windows on map or not
2007-05-26 15:38:54 +00:00
Dana Jansens
e9ccc6a82e
fix a debug print
2007-05-26 15:25:57 +00:00
Dana Jansens
fd2fe67592
+1 in the wrong place meant bad decorations
2007-05-26 15:22:18 +00:00
Dana Jansens
7d164842e0
give focus to new windows when *any* relative already has focus..
...
don't give it when it will not go to the window anyway tho, like if there is already a modal child for it
2007-05-26 14:56:53 +00:00
Dana Jansens
5a1fa9210d
add a debug print
2007-05-26 03:09:45 +00:00
Dana Jansens
b60cf73900
only auto-activate normal windows when they raise themselves (not splash screens or panels or desktops - what desktop would raise itself heh)
2007-05-26 03:08:07 +00:00
Dana Jansens
de76611e8a
only preserve focus for normal omnipresent windows
2007-05-25 23:42:44 +00:00
Dana Jansens
40f20e93ca
move some code aaround for focusing. proper layer calculation for fullscreen windows based on focus. hopeuflly not break sometihng else.
2007-05-25 22:55:37 +00:00
Dana Jansens
9d0dfca7b0
i broke desktop switching
2007-05-25 21:40:24 +00:00
Dana Jansens
e10c54137a
let you use control button to run keyboard accels in menus
2007-05-25 19:01:57 +00:00
Dana Jansens
5d5156dcb3
dont use empty desktop names from the rc file
2007-05-25 17:49:15 +00:00
Dana Jansens
1f71a0db72
small optimization heh for screen_set_desktop - set the root proerty less
...
initialize screen_last_desktop properly
2007-05-25 15:49:16 +00:00
Dana Jansens
ad8e8d4988
less negatives means less confusing.. but yeah. get rid of omnipresent check in focus_fallback
2007-05-25 15:41:14 +00:00
Mikael Magnusson
cca8a90301
haha typo etc
2007-05-25 15:36:26 +00:00
Mikael Magnusson
91dbbeb65e
missed a spot
2007-05-25 15:35:24 +00:00