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
Julien Danjou
7983a3196d
simplify window_configure() args
2008-01-05 20:25:55 +01:00
Julien Danjou
4d756f84c3
send window_configure on configrequest for floating
2008-01-05 20:23:30 +01:00
Julien Danjou
163acc8624
use Area to store window geoms
2008-01-05 19:38:50 +01:00
Julien Danjou
e833ab06d6
Revert "honor configrequest"
...
This reverts commit 1eebcd74cd
.
2008-01-05 18:31:01 +01:00
Julien Danjou
1eebcd74cd
honor configrequest
2008-01-05 18:05:27 +01:00
Julien Danjou
bfab98d1d4
add support for y coords in clics
2008-01-05 12:51:40 +01:00
Julien Danjou
a34d1bc583
fix comparisons
2008-01-05 12:01:09 +01:00
Julien Danjou
3018282169
use switch instead of if/elseif/else
2008-01-05 11:57:24 +01:00
Julien Danjou
6ca7d7b2db
use Area in Widget
2008-01-04 21:46:25 +01:00
Julien Danjou
af6ff367eb
typedef enum Position
2008-01-04 19:12:07 +01:00
Julien Danjou
d25d5b921f
add sloppy_focus option to allow click-to-focus
2008-01-04 14:40:26 +01:00
Julien Danjou
e3de02d2ce
optimize if statements
2008-01-04 13:04:15 +01:00
Julien Danjou
10c257d57a
get rid of Client phys_screen
2008-01-02 19:26:55 +01:00
Julien Danjou
437bc5c22c
add 2008 copyright notice
2008-01-02 16:59:43 +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
Julien Danjou
f7f6951957
allow to have several statusbar
2007-12-30 21:00:34 +01:00
Julien Danjou
6f4dec78ff
remove Display as arg from window_*() fcts
2007-12-30 15:24:51 +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
8c36b49f7f
add support for _NET_WM_WINDOW_TYPE_DOCK
2007-12-28 21:26:02 +01:00
Julien Danjou
169e658a18
handle configure request for windows we don't handle
2007-12-28 20:27:56 +01:00
Julien Danjou
f37c71c162
add support for _NET_WM_STATE_FULLSCREEN
...
This commit also drop the handle_event_configurerequest() because it seems
totally unuseful now. This can cause problem, and if so, report it.
2007-12-28 18:31:31 +01:00
Julien Danjou
f93a441da7
remove Display from Client struct
2007-12-27 23:10:43 +01:00
Julien Danjou
87fce96644
add support for NET_CLOSE_WINDOW
2007-12-27 20:49:38 +01:00
Julien Danjou
c900e37843
add mouse bindings to status bar
2007-12-27 15:49:00 +01:00
Julien Danjou
0d75586ed5
fix p_delete
2007-12-27 14:21:26 +01:00
Julien Danjou
7099794c64
switch to get_current_tags() in event.c
2007-12-27 13:14:20 +01:00
Julien Danjou
d5d9439777
add support for Urgency hint
2007-12-23 15:16:10 +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
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
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
205f2c55ca
Make "Statusbar statusbar" the in VirtScreen "Statusbar *statusbar". This is
...
more consistent with the rest of the interface, and will make our life easier
when we have mulitiple statusbars per screen.
2007-12-18 11:26:18 +01:00