Commit graph

239 commits

Author SHA1 Message Date
Dana Jansens
7d3e3ff6df always have the offscreen buffer's shape matched to the window's 2007-06-21 15:02:31 +00:00
Dana Jansens
15cabcb16a only enable automatic composite redirection for the client windows, not the frames. maybe this will avoid screen artifacts with the crap server support 2007-06-21 05:49:08 +00:00
Dana Jansens
d13daff959 80 cols 2007-06-21 05:25:59 +00:00
Dana Jansens
fa6f70ce3a get the offscreen pixmaps for all windows (including their frames) 2007-06-20 02:51:42 +00:00
Dana Jansens
15d6158536 don't force reconfigure in a number of places, also eat enter events when reconfiguring. yay 2007-06-13 15:07:49 +00:00
Dana Jansens
4e0ba65d30 kill the side borders on the handle and titlebar when max_horz 2007-06-13 14:36:06 +00:00
Dana Jansens
44bc0dab88 no un-needed rendering 2007-06-13 12:37:52 +00:00
Dana Jansens
383f1ee85f don't show vertical resize context/arrow when the window is shaded 2007-06-13 12:31:41 +00:00
Dana Jansens
eb6a2e9c4b xinerama support like crazy for struts and everything else too. this probably crashes but its been way too long without a commit. 2007-06-13 11:15:51 +00:00
Dana Jansens
9586e3bf14 plug memory leaks from the new strut code 2007-06-13 01:58:34 +00:00
Dana Jansens
7a6a516b8e very cool struts. partial struts actually are partial struts now. possibly way broken with xinerama? 2007-06-13 01:50:01 +00:00
Dana Jansens
e549a2d0e0 when undecorated and keepborder is on, show only the outside border not the clientborder 2007-06-11 18:56:19 +00:00
Dana Jansens
ef8bd3947d delay re-rendering the frame while it is being iconify-animated until the animation finishes (avoid it flashing to unfocused) 2007-06-10 03:58:02 +00:00
Dana Jansens
69a5c9c234 revert the change to frame.c 2007-06-07 23:51:07 +00:00
Mikael Magnusson
96bb892054 back xml themes out of trunk 2007-06-07 23:46:28 +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
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
9b5770277d less configurenotify spam 2007-06-01 04:54:42 +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
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
ac72dafab4 fix clients with static gravity 2007-05-29 12:23:52 +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
078f6e5ad0 properly align stuff when the icon is on the right side 2007-05-27 23:33:27 +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
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
2e529e3ff3 don't change clients' borders 2007-05-26 22:55:13 +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
09f4483ce0 fix titleleft and titleright for fullmax windows without decorations 2007-05-26 15:53:05 +00:00
Dana Jansens
fd2fe67592 +1 in the wrong place meant bad decorations 2007-05-26 15:22:18 +00:00
Dana Jansens
c9850a8189 prevent very small windows from having elements with negative or zero sizes 2007-05-24 23:30:16 +00:00
Dana Jansens
70fc99f90e stop unmapping the plate window. that was just a coincidence that it fixed the libwnck stuff 2007-05-24 21:49:32 +00:00
Mikael Magnusson
37aaf4c1e4 merge r6815 from 3.4-working (!) 'fix positioning of tlt, top and trt resize elements. thanks mulberry' 2007-05-24 21:39:23 +00:00
Dana Jansens
b526714861 kill the top and bottom resize contexts for max-vert windows 2007-05-24 03:13:24 +00:00
Dana Jansens
2fb7a6e478 yay! gravity finally works right! 2007-05-23 15:16:13 +00:00
Dana Jansens
52a28bb5d8 little comment about unmapping the plate window for libwnck 2007-05-23 13:59:56 +00:00
Dana Jansens
89c7b236b5 fix libwnck by unmapping the plate window as well as the client during iconify animation 2007-05-23 01:00:27 +00:00
Dana Jansens
206ad12bda fix window gravity..
also less setting the wm_state hint redundantly
2007-05-22 23:21:46 +00:00
Dana Jansens
49c7c0305b along with r6753, when window is maximized make the borders count as titlebar context not the top/tl/tr contexts 2007-05-22 17:59:27 +00:00
Dana Jansens
8262e1ba66 fix frame rendering to match layout fixes 2007-05-22 17:55:46 +00:00
Dana Jansens
d0c1a24be9 fix frame positionings more 2007-05-22 17:46:56 +00:00
Dana Jansens
c7e813580f fix some math for frame elements 2007-05-22 15:43:28 +00:00
Dana Jansens
a0941554f6 fix showing the resize cursors at the right times.
fix losing the pre-size/position for windows mapped maximized or fullscreen states (and on restart)
2007-05-22 01:03:13 +00:00
Dana Jansens
b8f207892a some repositioning of frame elements for maximized windows.
fix clicking on borders not counting as the button in that corner for full max windows
disable the resize cursors for full max windows
2007-05-21 23:56:07 +00:00
Dana Jansens
3c3fc81b6c fix iconify animation to deal with the new frame layouting 2007-05-20 22:10:42 +00:00
Dana Jansens
4c7119f94f hide more decor whwn its not being used 2007-05-20 20:00:23 +00:00
Dana Jansens
598199425d make frame elements unmap when they arent in use 2007-05-20 14:56:09 +00:00
Dana Jansens
2cce02b1b9 fix for shaped windows 2007-05-20 07:19:52 +00:00
Dana Jansens
ef95323122 fix for variable sized border between titlebar and client 2007-05-20 07:09:31 +00:00
Dana Jansens
7472ed3557 fix new dimensions for maximized windows 2007-05-20 07:02:49 +00:00
Dana Jansens
1612a16e80 frame can handle having no border between the titlebar and the client now 2007-05-20 06:47:43 +00:00
Dana Jansens
1b7c2dac9e draw the handle without borders 2007-05-20 06:45:02 +00:00
Dana Jansens
0353b979c6 construct the titlebar without borders 2007-05-20 05:39:16 +00:00
Dana Jansens
96fbc0c622 set the resize cursors only when the window can be resized 2007-05-20 05:01:00 +00:00
Dana Jansens
ff681544e4 the left and right resize handles are the border, not grips 2007-05-20 04:44:58 +00:00
Dana Jansens
cf5c75420a stop using a border for the outer frame window. step 1 of borderless-ness. now transparent windows dont look so terrible, yay 2007-05-20 04:44:00 +00:00
Dana Jansens
2dada607c5 don't assume screen 0 2007-05-20 03:39:40 +00:00
Dana Jansens
8159ac5f86 i think this is good? can you run X at 32 bits? 2007-05-20 03:38:02 +00:00
Dana Jansens
05d93485b7 show and hide the new left/right resize bars at the right time 2007-05-19 23:43:44 +00:00
Dana Jansens
813d5c2ec9 add a root context that only applies to the root window. it fallsback to the desktop context, so desktop stuff applies to it too. 2007-05-19 22:07:15 +00:00
Dana Jansens
b26635fe99 add Left and Right contexts for resizing 2007-05-19 21:39:40 +00:00
Dana Jansens
ecdb7d5807 let you resize on the bottom of the frame when handle height is 0 in the theme 2007-05-19 21:03:51 +00:00
Dana Jansens
eb09b1873d move focus_cycle_indicator into its own file 2007-05-19 14:36:19 +00:00
Dana Jansens
718adbae65 move focus cycling into its own file 2007-05-19 14:15:28 +00:00
Dana Jansens
6142eb3a48 when done iconify animating, send a configure notify (this fixes kde's pager showing the window in the wrong place) 2007-05-18 15:20:03 +00:00
Dana Jansens
3ddc053ccd that broke flashing 2007-05-15 04:44:15 +00:00
Dana Jansens
6194c9796c save some rendering 2007-05-15 03:46:51 +00:00
Dana Jansens
ca88a21a39 where did those come from ? 2007-05-13 00:52:05 +00:00
Dana Jansens
5eba6007e7 change the "handle" context to "bottom". add a "top" context. make the top
and bottom contexts resize vertically in the default config file.
2007-05-12 17:54:55 +00:00
Dana Jansens
06181f9cc4 make the handle resize by default, and give the handle the resize south cursor 2007-05-12 17:32:10 +00:00
Dana Jansens
b63ad92cca give different border colors to active and inactive windows. adjust the xml theme format a little to make it BETTER. rawr. add some metadata standards too. 2007-05-11 22:18:43 +00:00
Dana Jansens
caba57b694 don't adjust the decorations while the server is grabbed, move it to client.c 2007-05-11 02:44:50 +00:00
Dana Jansens
6412fba7fd fix positioning of the icon 2007-05-09 23:52:53 +00:00
Dana Jansens
da22958786 fix hovering for corner buttons during full-max 2007-05-09 23:38:16 +00:00
Dana Jansens
66afa1dceb when a window is fully maxed, make clicking on the titlebar past the edge buttons count as clicking on the buttons 2007-05-09 22:21:28 +00:00
Dana Jansens
7f262bc2a0 add support for _NET_REQUEST_FRAME_EXTENTS 2007-05-09 20:13:20 +00:00
Dana Jansens
24f258e646 size the frame properly on mapping 2007-05-09 03:52:53 +00:00
Dana Jansens
193ca2197a further work to r6205. make the disabled titlebar buttons hide if they won't move other buttons around by doing so. 2007-05-09 03:41:48 +00:00
Dana Jansens
a430d7d3c8 hide titlebar buttons if that won't move other buttons 2007-05-09 00:57:37 +00:00
Dana Jansens
affc84cc96 more animation frames for iconifying, if your computer can do it 2007-05-06 05:32:07 +00:00
Dana Jansens
3409148047 fixes to the properties and net_supported. a bunch weren't supported. better checking at runtime to make sure everything is in the atom. 2007-05-05 18:19:26 +00:00
Dana Jansens
378adaa94f yay. way way cleaner code for iconify animations. let people show/hide the frame logically and it will do everything except during animations the frame will show what it needs to for visual display. 2007-05-05 16:53:48 +00:00
Dana Jansens
3e90c85df0 oops, i left in the really long animate time heh 2007-05-05 16:17:29 +00:00
Dana Jansens
b5e597f1b3 lots of fixes for the iconify animation. i think it should all work perfectly now ?
one change in action.c may affect bindings... THIS COULD BREAK CURRENT CONFIG FILES. ya.
so, if you used a press binding and it moved the window, no enter event will be generated for that anymore because you are holding down the button when the window moves. if you don't like that then use a click binding instead.

1
2007-05-05 16:16:26 +00:00
Dana Jansens
48a4eafb42 better iconify animation code. now it is time limited even under heavy load or whatever. yay 2007-05-05 14:36:41 +00:00
Dana Jansens
cf67851d6d dont retrurn a context while incoify animating 2007-05-05 13:29:01 +00:00
Dana Jansens
9ee9b70757 dont make two animations conflict 2007-05-05 13:12:04 +00:00
Dana Jansens
90fefcb78d maybe 1/5 of a second is better? 2007-05-05 06:03:50 +00:00
Dana Jansens
08e42acaad animate iconify/reestore. yeah. 2007-05-05 05:58:35 +00:00
Dana Jansens
564b727966 fix drawcontent=no resizing 2007-05-01 12:17:37 +00:00
Dana Jansens
55d2916c1e a whole lot of changes to the moving/resizing code. it was broken for non-northwest gravities. now it is not. at least, that is the idea. 2007-05-01 04:46:29 +00:00
Dana Jansens
d9204860c3 some more border fixups 2007-04-25 04:07:52 +00:00
Dana Jansens
89658cf648 the inner stuff was being placed wrong all this time.
also give the inner window a border. clicking to the left/right of the client now will be the client context rather than the frame. frame is just for grabbed buttons after all.
2007-04-25 03:52:33 +00:00
Dana Jansens
1582b36187 proper handling of the plate though, too 2007-04-24 20:48:28 +00:00