Commit graph

257 commits

Author SHA1 Message Date
Julien Danjou
dd9a1b99c4 Rename events functions from handle_event... to event_handle 2008-03-06 09:09:59 +01:00
Julien Danjou
edb865a070 Simplify grabkeys() function 2008-03-06 09:07:33 +01:00
Julien Danjou
c1b503af1a Comment event.c functions 2008-03-06 09:05:15 +01:00
Julien Danjou
de8dcbb724 replace drop_events arch by x,y pointer coordinates saving 2008-03-04 10:14:13 +01:00
Julien Danjou
960d870b0b fix screen_get_bycoord() 2008-02-25 13:40:30 +01:00
Julien Danjou
72d68b13a3 change focus raising 2008-02-09 23:12:40 +01:00
Julien Danjou
a4d4fedfac fix wrong coords computing with left/right statusbar click 2008-02-08 15:35:09 +01:00
Nathan LaFreniere
1d57d7b327 switch KeySym to KeyCode 2008-02-08 14:35:32 +01:00
Julien Danjou
606d157e31 rename some screens function 2008-01-30 09:36:52 +01:00
Julien Danjou
ab8d95f13d rework include 2008-01-29 11:27:14 +01:00
Julien Danjou
ee1214846e rename some client functions 2008-01-29 08:21:05 +01:00
Julien Danjou
95d5fe299e rename focus() to client_focus() 2008-01-27 19:07:39 +01:00
Julien Danjou
37b4f62258 always grab Button1 2008-01-26 13:11:12 +01:00
Julien Danjou
c22430a115 fix handling of window raisings 2008-01-25 23:43:16 +01:00
Julien Danjou
a601553e3c unused var 2008-01-25 23:21:27 +01:00
Julien Danjou
34bc4e8191 replace bad code for configurenotify 2008-01-25 23:15:27 +01:00
Julien Danjou
485614f2df rewrite focus handling
- arrange() does not focus() anymore
- restore dropping events infra
- add client_unfocus()
- grabbuttons() where we should and add root_grabbuttons() for root window
2008-01-25 22:37:49 +01:00
Julien Danjou
3855ced402 remove selscreen arg 2008-01-24 23:48:35 +01:00
Julien Danjou
ce41ed1eeb return if no widget match 2008-01-24 20:28:45 +01:00
Julien Danjou
30256b3be3 cosmetic 2008-01-24 20:24:16 +01:00
Julien Danjou
82d9cec79d don't regive focus to already focused window 2008-01-24 18:31:44 +01:00
Julien Danjou
240ee786d1 rename nscreens to nscreen 2008-01-24 13:48:49 +01:00
Julien Danjou
c1569eedf4 store simple window geometry 2008-01-23 16:05:52 +01:00
Julien Danjou
5fa25b23f6 add some code for creating SimpleWindow-s and use it for statusbar 2008-01-23 15:54:30 +01:00
Nikos Ntarmos
fa0ac03f5b set need_arrange on client_resize
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-22 21:27:34 +01:00
Julien Danjou
668702b777 move list.h and util.[ch] to common/ 2008-01-21 18:14:59 +01:00
Julien Danjou
97f08901d6 call restack() only when focus()ing 2008-01-21 16:31:15 +01:00
Julien Danjou
83a0a4daf8 add a common infra to drop events 2008-01-21 16:31:15 +01:00
Julien Danjou
bfc7f3ce5d clean out some need_arrange uneeded 2008-01-21 16:31:15 +01:00
Julien Danjou
6e4d13c9dc add a new cache system for arrange()ing 2008-01-21 16:31:15 +01:00
Julien Danjou
bda97fa36d drop EnterWindow events after a keypress 2008-01-21 16:31:15 +01:00
Julien Danjou
47ee745425 rewrite client_manage() 2008-01-21 16:31:14 +01:00
Nikos Ntarmos
c36ef2797b check for subwindow
Fix FS#31

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-11 19:18:43 +01:00
Julien Danjou
a28c052af2 drop EnterWindow events to keep focus 2008-01-11 16:48:11 +01:00
Julien Danjou
542df6a3ab do not try to guess where we should XSync(), XSync after bunch of XEvents 2008-01-11 16:17:15 +01:00
Nikos Ntarmos
a245b2c033 restart on XRandR event
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-11 13:41:29 +01:00
Nikos Ntarmos
956ce4ab8e add nscreen var to store screen count
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-11 13:39:48 +01:00
Julien Danjou
d09d3ccafd use ev->same_screen var 2008-01-11 12:01:59 +01:00
Julien Danjou
876377880d cosmetic 2008-01-11 12:01:51 +01:00
Julien Danjou
df121e7c03 cache is already invalidated 2008-01-07 19:00:45 +01:00
Julien Danjou
6483b36389 only invalidate cache if client is urgent 2008-01-07 19:00:17 +01:00
Julien Danjou
5c9291ff0b use a cache system for status bar 2008-01-07 18:12:38 +01:00
Nikos Ntarmos
db0be0ac57 partial support for mouse bindings on root window when window displayed 2008-01-07 10:06:04 +01:00
Julien Danjou
7fe4468254 last fix did not work as expected 2008-01-07 00:31:19 +01:00
Julien Danjou
81afe81b4e force windows to tile mode 2008-01-07 00:28:27 +01:00
Julien Danjou
7dd8e9dd5f try to fix SDL/OpenGL apps 2008-01-07 00:17:07 +01:00
Julien Danjou
7ad579898f simplify unmanage code 2008-01-06 21:57:53 +01:00
Julien Danjou
3badaee8c7 remove unused variable 2008-01-06 21:50:03 +01:00
Julien Danjou
d99660e0b8 apply rules after configurerequest 2008-01-06 21:28:49 +01:00
Julien Danjou
af708d2fbc Rewrite everything about client geoemtry, resize, etc. 2008-01-06 20:36:39 +01:00