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
Aldo Cortesi
2f74c079aa
Massive, massive interface refactoring.
...
The big change here is that we now keep our configuration structure in a global
variable called globalconf. This radically simplifies many interfaces, since
passing awesomeconf everywhere is no longer necessary. There are also more
subtle interface effects - now we can reliably identify a screen from just a
screen ID, rather than an awesomeconf, screenid tuple.
Overall, this patch makes most of the interfaces in awesome much nicer to use -
enjoy!
Yes, this is a huge patch, but since a lot of the refactoring was done
systematically using vim macros, splitting this up would have been very hard.
2007-12-16 12:12:48 +01:00
Julien Danjou
8500188d6a
uicb_screen_focus honors focus history
2007-12-15 10:19:33 +01:00
Julien Danjou
df2a8e1b1d
add a focus history
2007-12-14 21:51:54 +01:00
Julien Danjou
aacb020564
rename statusbar functions
2007-12-14 20:10:52 +01:00
Julien Danjou
bb1381abc2
make tags a linked list instead of array
2007-12-14 19:05:30 +01:00
Julien Danjou
6658994a22
cosmetic
2007-12-14 16:09:05 +01:00
Aldo Cortesi
2b5ba1f16f
Improve the call signature of get_current_tag and get_current_layout.
2007-12-14 09:29:42 +01:00
Julien Danjou
097e8e4172
Add uicb_screen_focus to switch to a specified screen.
2007-12-13 13:59:46 +01:00
Julien Danjou
5f811b1cf2
use VirtScreen arg for tag_client_with_current_selected()
2007-12-13 10:46:32 +01:00
Julien Danjou
5fa67c23df
split awesomeconf and screen config
...
a.k.a the big post-2.0 blind commit
2007-12-11 20:56:51 +01:00
Nathan Hüsken
9524f15478
Adding padding
2007-11-28 11:00:48 +01:00
Julien Danjou
226d718634
make uicb_screen_focus{prev,next} honor tag->client_sel
2007-11-21 17:18:42 +01:00
Julien Danjou
3f203e3327
remove old screen client_sel if needed
2007-11-15 15:44:16 +01:00
Julien Danjou
dd2c511181
move_client_to_screen() implies tag_client_with_current_selected()
2007-11-15 14:49:08 +01:00
Julien Danjou
2da4d0d907
cosmetic
2007-11-15 13:25:59 +01:00
Julien Danjou
7c533b8b40
rename screen uicb correctly
2007-11-14 18:16:43 +01:00
Julien Danjou
89c2fc9f44
move_client_to_screen() does not manage tags, let's use tag_client_with_current_selected() instead
2007-11-14 10:01:20 +01:00
Julien Danjou
05dad60786
experimental support for status bar to be on right or left
2007-11-11 18:59:11 +01:00
Nikos Ntarmos
0f840d2eec
Sanitize screen changes - take 2
...
I was looking back at this issue and realized that it is possible for
one of the x,y coordinates to be negative and yet a screen change must
be performed. This may happen when a window is moving with its
upper-left corner outside the upper part of the screen, and it crosses
the x-axis boundary between two consecutive screens.
2007-11-10 17:59:33 +01:00