Commit graph

116 commits

Author SHA1 Message Date
Julien Danjou
0cd969bfb9 Split screen_build_screen() into more generic code and type: screeninfos_new() 2008-03-23 15:52:17 +01:00
Julien Danjou
f3652aaca6 Add a pointer to SLIST struct to store previous element
This will make back cycling faster
2008-03-23 15:52:17 +01:00
Julien Danjou
960d870b0b fix screen_get_bycoord() 2008-02-25 13:40:30 +01:00
Julien Danjou
328e5d0d4e rename screen to phys_screen to avoid confusion 2008-02-25 13:33:29 +01:00
Julien Danjou
72d68b13a3 change focus raising 2008-02-09 23:12:40 +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
ea57fd8fc9 add support for smart windows placement in floating layout 2008-01-28 18:30:23 +01:00
Julien Danjou
95d5fe299e rename focus() to client_focus() 2008-01-27 19:07:39 +01:00
Julien Danjou
c22430a115 fix handling of window raisings 2008-01-25 23:43:16 +01:00
Julien Danjou
3855ced402 remove selscreen arg 2008-01-24 23:48:35 +01:00
Julien Danjou
240ee786d1 rename nscreens to nscreen 2008-01-24 13:48:49 +01:00
Julien Danjou
5922d3a257 realloc smaller if xinerama_screen_number != screen registered 2008-01-24 13:45:20 +01:00
Julien Danjou
1cc5a2a1f8 remove printf()s 2008-01-23 08:33:29 +01:00
Julien Danjou
d17c5c531e detect clone screens (FS#42) 2008-01-22 20:41:10 +01:00
Julien Danjou
668702b777 move list.h and util.[ch] to common/ 2008-01-21 18:14:59 +01:00
Julien Danjou
83a0a4daf8 add a common infra to drop events 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
9bc67800d2 drop EnterWindow event to keep focus 2008-01-11 18:06:49 +01:00
Nikos Ntarmos
860f811bb6 XFree data returned by XineramaQueryScreens in get_screen_count(...)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-11 13:58:27 +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
c21a84bed5 remove printf 2008-01-11 13:28:46 +01:00
Julien Danjou
c709baaae3 fix screen changes with maximized windows 2008-01-11 13:27:58 +01:00
Julien Danjou
c2ca948b39 add new_get_focus option 2008-01-07 18:54:45 +01:00
Julien Danjou
5c9291ff0b use a cache system for status bar 2008-01-07 18:12:38 +01:00
Julien Danjou
dd5945cfea fix move to screen with floating/non-floating win 2008-01-06 21:43:19 +01:00
Julien Danjou
af708d2fbc Rewrite everything about client geoemtry, resize, etc. 2008-01-06 20:36:39 +01:00
Julien Danjou
70a3114dba use Area as arg for client_resize 2008-01-05 20:19:59 +01:00
Julien Danjou
163acc8624 use Area to store window geoms 2008-01-05 19:38:50 +01:00
Julien Danjou
af6ff367eb typedef enum Position 2008-01-04 19:12:07 +01:00
Julien Danjou
4f65aa8f51 rework headers inclusion 2008-01-01 18:02:36 +01:00
Julien Danjou
909f92d500 replace UICB_PROTO macro by a typedef 2008-01-01 17:25:48 +01:00
Nikos Ntarmos
9adfc6eb35 Typo in screen.c:get_display_area causing display area to be miscalculated 2007-12-31 18:37:28 +01:00
Julien Danjou
f7f6951957 allow to have several statusbar 2007-12-30 21:00:34 +01:00
Julien Danjou
84c59a5704 code documentation update 2007-12-30 15:11:37 +01:00
Julien Danjou
e95dc4b4cd simplify tag_client() and untag_client() proto 2007-12-27 22:43:59 +01:00
Julien Danjou
5f92667773 simplify sel handling 2007-12-27 19:57:46 +01:00
Julien Danjou
8f9be2289a focus_get_latest_client_for_tags() now supports Tag **, use it for widgets 2007-12-27 19:23:10 +01:00
Julien Danjou
211034c725 bug fix with move_client_to_screen and proto simplification of tag_with_current_selected() 2007-12-27 16:29:58 +01:00
Julien Danjou
a95694c177 simplify proto 2007-12-27 14:02:27 +01:00
Julien Danjou
238eb7f346 switch to get_current_tags() in screen.c 2007-12-27 12:52:04 +01:00
Julien Danjou
07a5fd6774 cosmetic 2007-12-23 09:56:41 +01:00
Julien Danjou
a981d984a2 remove ScreenInfo typedef and move Area into screen.h 2007-12-23 09:55:46 +01:00
Aldo Cortesi
5f079ef73e Clean get_screen_info and get_display_info.
Besides making these functions much nicer to use, this fixes a number of
things:

- Clients now don't have to free the returned structures.

- The ScreenInfo allocated by XineramaQueryScreens should be freed with XFree,
  not p_delete.

This patch also introduces an abstract Area type that will be very useful.
2007-12-23 09:53:50 +01:00
Aldo Cortesi
7190e4fa48 Change awesome_config -> AwesomeConf.
All other struct definitions in the project follow this naming convention.
2007-12-19 10:43:02 +01:00
Aldo Cortesi
cbf5c474c1 Documentation generation fixes.
- Fix many instances of incorrect and incomplete doxygen annotations.
- Teach doxygen not to complain when it comes accross gcc __attribute__
specifications.
- Turn off graph generation by default.
- Make doxygen quiet, so we can actually see warnings when they occur.
2007-12-19 10:42:24 +01:00
Aldo Cortesi
ce556ec743 The preferred line length is 80 characters. 2007-12-18 11:27:26 +01:00
Aldo Cortesi
965cbb7e0b Continue to simplify interfaces that require arguments in globalconf.
Today I focus on screen.c.
2007-12-18 11:26:39 +01:00
Aldo Cortesi
d5fd96dbd2 Refactor the focus.c interface to use globalconf. 2007-12-17 18:21:42 +01:00
Aldo Cortesi
b6bfd1a4d0 The arg to uicb_ functions is no longer const. 2007-12-17 18:19:44 +01:00