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
marco candrian
4ff0dae17e
trailing whitespaces removed
...
like:
find . -iname "*.txt" -o -iname "*.c" -o -iname "*.h" | xargs sed -i 's/\s\+$//'
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-13 09:05:10 +01:00
Julien Danjou
0bfa880b0f
add align option to widget to specify their alignment
2008-02-08 10:59:55 +01:00
Julien Danjou
a28876b5ce
reuse cairo context stuff
2008-01-31 18:18:15 +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
30eba52596
rename draw_get_context() to draw_context_new()
2008-01-27 19:02:08 +01:00
Julien Danjou
c5f57d24d3
split out simple window handling
2008-01-26 17:58:01 +01:00
Julien Danjou
4734a8af3d
fix bar left position
2008-01-24 23:25:12 +01:00
Julien Danjou
30256b3be3
cosmetic
2008-01-24 20:24:16 +01:00
Julien Danjou
35803aff4c
make draw functions more independant
2008-01-24 18:43:24 +01:00
Julien Danjou
240ee786d1
rename nscreens to nscreen
2008-01-24 13:48:49 +01:00
Julien Danjou
6396d08c25
kick out rotate option
2008-01-24 10:37:16 +01:00
Julien Danjou
3b899c4922
use simplewindow function to refresh and rework left/right pixmap handling
...
I love hacking at 280 km/h
2008-01-23 19:52:05 +01:00
Julien Danjou
7ad43fe713
stop being stupid, use only one Drawable
2008-01-23 19:10:53 +01:00
Julien Danjou
9e1994d879
rework statusbar stuff
2008-01-23 17:53:55 +01:00
Julien Danjou
0d1497d3bf
fix bottom statusbar position
2008-01-23 17:18:49 +01:00
Julien Danjou
aeee10ea18
add simplewindow_move() function and use it for statusbar
2008-01-23 16:10:05 +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
Julien Danjou
668702b777
move list.h and util.[ch] to common/
2008-01-21 18:14:59 +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
4d117da0ec
preinit in config.c
2008-01-21 16:31:14 +01:00
Julien Danjou
5180613fe5
fix bug with statusbar recovering each others (FS#37)
2008-01-21 16:31:14 +01:00
Julien Danjou
d59fc62739
draw rectangle take an Area as arg
2008-01-21 16:31:14 +01:00
Julien Danjou
feac2caa81
statusbar_draw is static
2008-01-21 16:31:13 +01:00
Julien Danjou
0ccfeb14b5
use info from the right screen
2008-01-19 14:56:18 +01:00
Julien Danjou
3fc3fd9623
use previous statusbar to get screen size
2008-01-16 15:26:48 +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
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
2aacaa9320
stop dropping EnterWindow event
...
and make statusbar_update_position static
2008-01-10 20:53:31 +01:00
Julien Danjou
5c9291ff0b
use a cache system for status bar
2008-01-07 18:12:38 +01:00
Julien Danjou
d16b11bb30
cosmetic
2008-01-06 22:46:59 +01:00
Julien Danjou
af6ff367eb
typedef enum Position
2008-01-04 19:12:07 +01:00
Julien Danjou
a12ea9441f
fix window placement for left positionned statusbar
2008-01-04 13:28:51 +01:00
Julien Danjou
4f65aa8f51
rework headers inclusion
2008-01-01 18:02:36 +01:00
Julien Danjou
b9d6a93c59
draw statusbar after init
2007-12-31 10:04:03 +01:00
Julien Danjou
f7f6951957
allow to have several statusbar
2007-12-30 21:00:34 +01:00
Julien Danjou
64e44421dd
allow to set statusbar width
2007-12-30 18:55:46 +01:00
Julien Danjou
643407b5ea
allow to set the statusbar height
2007-12-30 18:54:17 +01:00
Julien Danjou
a051c2db09
free old statusbar drawable
2007-12-30 18:13:33 +01:00
Julien Danjou
cb0203b0a0
don't display if statusbar off
2007-12-30 14:23:01 +01:00
Julien Danjou
0df27e0f6a
split the display part of statusbar_draw(), move it to new statusbar_display(), and call it for expose events
2007-12-30 13:17:26 +01:00
Julien Danjou
1021f86e24
rework draw stuff
...
- remove display from DrawCtx
- add Drawable in statusbar
2007-12-30 12:26:11 +01:00
Julien Danjou
360d9023a4
allow textbox widgets to have their own font
2007-12-29 16:04:06 +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
51379e065b
Clean interface of statusbar_update_position.
2007-12-23 09:51:44 +01:00
Julien Danjou
b0a8522466
rename a bunch of widget functions
2007-12-22 20:55:17 +01:00
Julien Danjou
c232576631
rename a bunch of draw functions
2007-12-22 20:17:24 +01:00