Commit graph

2397 commits

Author SHA1 Message Date
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
a822cbe13b dont focus anything in the kernel from showing-the-desktop mode 2003-03-21 17:23:00 +00:00
Dana Jansens
c5e902a7b1 focus windows when entering/leaving enter-the-desktop mode 2003-03-21 17:22:38 +00:00
Dana Jansens
001233837e add an xlock binding 2003-03-21 17:02:13 +00:00
Dana Jansens
90cc2b2bab better comment for Event_Client_Moving 2003-03-21 10:44:54 +00:00
Dana Jansens
178fdf254d choke on invalid options on the cmd line 2003-03-21 10:41:56 +00:00
Dana Jansens
94d871a390 dont check for != NULL before freeing. pointless. 2003-03-21 10:35:35 +00:00
Dana Jansens
d4601cd034 don't check for != NULL before freeing. pointless 2003-03-21 10:34:44 +00:00
Dana Jansens
d33dce4827 defn vars at the top of funcs 2003-03-21 10:33:26 +00:00
Dana Jansens
cd1694cd1c dont reposition windows who know what they want 2003-03-21 10:29:30 +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
5034073da7 use the client_set_focused function when getting FocusIn/Out events 2003-03-21 10:24:24 +00:00
Dana Jansens
a3c9271ca2 init the focus_client ptr in startup 2003-03-21 10:23:57 +00:00
Dana Jansens
b3507a0968 dont focus !normal clients under the mouse 2003-03-21 10:23:34 +00:00
Dana Jansens
0cb6f81276 dont use the client's colormap if it is set to None! 2003-03-21 09:54:54 +00:00
Dana Jansens
c2cbef62bb add a dispatched event for interactively moving a window.
move window snapping/resistance out of the kernel.
make the action_move dispatch the new event.
2003-03-21 09:41:01 +00:00
Dana Jansens
1c7c94614d rm debug print 2003-03-21 09:39:53 +00:00
Dana Jansens
c951027519 optimization! 2003-03-21 09:39:09 +00:00
Dana Jansens
00d8c8d379 syntax error! 2003-03-21 09:38:51 +00:00
Dana Jansens
921a711dad don't snap to non-visibles 2003-03-21 09:38:13 +00:00
Dana Jansens
1418e9edc4 dont snap to self 2003-03-21 09:33:41 +00:00
Dana Jansens
23ee7b9a93 rm the edge_resistance option.. just dont load the plugin! 2003-03-21 09:32:17 +00:00
Dana Jansens
dabcb558cd make the event function static! 2003-03-21 09:31:36 +00:00
Dana Jansens
34ab5a1fb8 add a window resistance plugin 2003-03-21 09:31:23 +00:00
Dana Jansens
1f8f4ffef5 rename event() to place_event() 2003-03-21 09:27:49 +00:00
Dana Jansens
6216c4be17 rename event() to place_event() 2003-03-21 09:27:34 +00:00
Dana Jansens
3904699688 snap window-to-window 2003-03-21 08:37:22 +00:00
Dana Jansens
05e9cb73ce focus new windows 2003-03-21 08:20:49 +00:00
Dana Jansens
a3012eafbd rm debug prints 2003-03-21 08:19:40 +00:00
Dana Jansens
b23c65362d rm debug print 2003-03-21 08:19:18 +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
ca45916f77 update engine last for focus events 2003-03-21 08:17:43 +00:00
Dana Jansens
0edc14a4f9 set up the history place stuff's files 2003-03-21 07:54:48 +00:00
Dana Jansens
a648c05a7a kill the c dir 2003-03-21 07:54:23 +00:00
Dana Jansens
474f689132 start and stop the history plugin 2003-03-21 07:53:29 +00:00
Dana Jansens
d38855a0a5 dont set the restart path to "", load the placement plugin 2003-03-21 07:53:13 +00:00
Dana Jansens
7287ae738e dont skip enter events 2003-03-21 07:51:33 +00:00
Dana Jansens
29e3748605 add a window placement plugin 2003-03-21 07:33:07 +00:00
Dana Jansens
eb6ef3533c disable warping on desk switch 2003-03-20 23:02:54 +00:00
Dana Jansens
6cb4d8bca8 skip events more smarter 2003-03-20 22:48:50 +00:00
Dana Jansens
4f427471b8 kill all enter events on a desktop switch 2003-03-20 22:44:14 +00:00
Dana Jansens
e8ed8b3c2a show windows before hiding when switching desktops 2003-03-20 22:36:01 +00:00
Dana Jansens
0a2aa08924 alt bindings 2003-03-20 22:25:27 +00:00
Dana Jansens
d2b4e7ddca skipping the right number of enters now i think 2003-03-20 22:24:27 +00:00
Dana Jansens
bb7427422c skip all enter events for now.. need a clever tactic for this.. 2003-03-20 22:21:13 +00:00
Dana Jansens
35c095014e add -help -version -sync and -rc cmd line options 2003-03-20 22:14:15 +00:00
Dana Jansens
17cc975cc9 add the binary and urls to the Makefile and -D's 2003-03-20 22:06:08 +00:00
Dana Jansens
bf707e7240 add RECT_CONTAINS 2003-03-20 21:53:04 +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