Commit graph

239 commits

Author SHA1 Message Date
Dana Jansens
bdf1662af2 clarify using stacking_lower for restoring the stacking order 2003-03-25 00:54:47 +00:00
Dana Jansens
d286702ed4 free the startup stacking order after using it 2003-03-25 00:44:27 +00:00
Dana Jansens
e731042dc9 read in the stacking order on startup, and use it to restore windows back to the order they were in before 2003-03-25 00:39:28 +00:00
Dana Jansens
d56e90fac8 use g_hash_table properly 2003-03-24 22:03:38 +00:00
Dana Jansens
c2684d312b make sure the ConfigureNotify is propogated even when there is no change 2003-03-24 20:15:36 +00:00
Dana Jansens
c9ba604668 always send the event on a final configure even if there was no real move 2003-03-24 20:09:31 +00:00
Dana Jansens
7beec94a1f make sure windows which cant be moved or resized also can't be fullscreened 2003-03-24 20:05:11 +00:00
Dana Jansens
0d84c43d2a only configure the engine if something changed 2003-03-24 19:59:46 +00:00
Dana Jansens
436c85576e only perform the actions necessary when performing an engine_adjust_area. pass whether the client has moved or resized 2003-03-24 19:52:09 +00:00
Dana Jansens
e238e4ac2d kill debug print 2003-03-24 05:38:28 +00:00
Dana Jansens
3b14b587ef more focus improvements. everything seems to work! 2003-03-24 04:56:46 +00:00
Dana Jansens
7bb829f8b7 no \n in g_message 2003-03-24 00:40:29 +00:00
Dana Jansens
687559cb2d yet more improvements to focus handling 2003-03-23 23:47:47 +00:00
Dana Jansens
d88f34e100 code optimization 2003-03-23 20:45:15 +00:00
Dana Jansens
b18f5f1d2b when adjusting the trasient lists, set them, dont leave them hanging into space 2003-03-23 20:34:13 +00:00
Dana Jansens
cf37170bff whitespace 2003-03-23 19:44:43 +00:00
Dana Jansens
ff06051eb7 asserts in unmanage to try track a crash 2003-03-22 13:26:28 +00:00
Dana Jansens
9b514b3b61 add the client_kill function, and the kill action, and bind it to the middle mouse button on the close button. 2003-03-22 06:58:38 +00:00
Dana Jansens
dd6e27f2c3 rename the res_name and res_class members to name and class 2003-03-22 00:35:02 +00:00
Dana Jansens
327a0b3de7 always adjust the frames size and position together, so there is no more weird resizing before moving and edge flickering when resizing from the top/left 2003-03-21 18:38:08 +00:00
Dana Jansens
94d871a390 dont check for != NULL before freeing. pointless. 2003-03-21 10:35:35 +00:00
Dana Jansens
9a4ccc919c add the client_set_focused function.
make focus state be changed internally immediately after calling the X functions to make it so, basically, assume their success. this elimiates races all over the place with our state vs the server's state.
2003-03-21 10:26:26 +00:00
Dana Jansens
a3012eafbd rm debug prints 2003-03-21 08:19:40 +00:00
Dana Jansens
db75d406ce rm the focused member from the client struct, it was redundant with the focus_client variable around 2003-03-21 08:18:39 +00:00
Dana Jansens
45f6d52712 save decor and functions per client for fullscreening! 2003-03-20 21:52:49 +00:00
Dana Jansens
f76b26e4ad lock the size/position of maximized and fullscreen clients 2003-03-20 21:49:39 +00:00
Dana Jansens
ba2c6a23df lock the position/size of maximized windows 2003-03-20 21:09:56 +00:00
Dana Jansens
6321d28652 no \n in g_messages 2003-03-19 19:58:25 +00:00
Dana Jansens
ef43db32eb rm the comments pointer bindings stuff, thats in a plugin now 2003-03-19 07:12:00 +00:00
Dana Jansens
b3817126ee add new windows to the back of the focus order list 2003-03-19 07:10:05 +00:00
Dana Jansens
648c55b829 move the focus_order lists into the kernel 2003-03-19 07:08:15 +00:00
Dana Jansens
7d215bd255 add 'grab_server' for grabbing .. the .. server! 2003-03-18 20:00:44 +00:00
Dana Jansens
ad44e8a708 add actions for key/mouse bindings etc 2003-03-18 08:39:28 +00:00
Dana Jansens
bfea000a74 add a keyboard plugin 2003-03-18 05:29:01 +00:00
Dana Jansens
75b07a2bb3 all events are dispatched 2003-03-17 20:16:32 +00:00
Dana Jansens
9b33f7ded6 stop using python internally. add an event dispatcher 2003-03-17 19:54:37 +00:00
Dana Jansens
7f561a6a7a make client_showhide a static function 2003-03-17 02:05:05 +00:00
Dana Jansens
216a04bdd0 speed up workspace switching by causing the minimal number of expose events (none for the hiding windows!) 2003-03-17 02:03:45 +00:00
Dana Jansens
f8a47de5ec merge the C branch into HEAD 2003-03-16 21:11:39 +00:00