Commit graph

137 commits

Author SHA1 Message Date
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
Dana Jansens
d3ca984e93 make the inner window work like the plate used to for actions 2007-04-24 20:42:34 +00:00
Dana Jansens
79cd7b4b2c dont cause focus change with enter events when youre already in the window 2007-04-24 20:39:59 +00:00