Commit Graph

1545 Commits

Author SHA1 Message Date
Julien Danjou 6f1e1e1abe handle focus history on arrange() 2008-01-25 22:50:18 +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
Hans Ulrich Niedermann b457c4b4c9 Common version message for awesome and -client
At every build ("make", "make all"), if necessary, this
version message will be updated.

Note that "make awesome{,-client}" will NOT update the
version message.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:33 +01:00
Hans Ulrich Niedermann 3d9c2e72fb Compile executable with correct version number
Updates awesome-version.h every time the version number has
actually changed. The normal C header deps will then trigger
the appropriate rebuilds.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:32 +01:00
Hans Ulrich Niedermann e719d6d0b6 fix header generators for out-of-source builds
The header generator scripts now work when srcdir!=builddir.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:32 +01:00
Hans Ulrich Niedermann ad28e78d13 Use pre-defined values for build infos (ifdef)
Use information autoconf determines anyway (machine type
building for, name of machine building on).

Only print build information if it is actually available (defined).

Add descriptions to all AC_DEFINE* macro definitions.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:32 +01:00
Julien Danjou 8434040cb2 do not drop XSetInputFocus errors; but we can not give focus to unmapped windows 2008-01-25 09:37:41 +01:00
Julien Danjou 475a9da7af reduce errors list allowed 2008-01-25 09:36:14 +01:00
Julien Danjou 367b4d48fb Revert "rewrite focus() a bit"
This reverts commit 652c1459ba.
2008-01-25 00:51:11 +01:00
Julien Danjou dcde59df02 warn() on XErrors 2008-01-25 00:07:16 +01:00
Julien Danjou 652c1459ba rewrite focus() a bit 2008-01-24 23:58:56 +01:00
Julien Danjou 3855ced402 remove selscreen arg 2008-01-24 23:48:35 +01:00
Julien Danjou 5ade4d63e0 remove opacity_unfocused
this is crap
2008-01-24 23:45:04 +01:00
Julien Danjou 7073133e66 remove drop event infrastructure 2008-01-24 23:43:46 +01:00
Julien Danjou 4734a8af3d fix bar left position 2008-01-24 23:25:12 +01:00
Julien Danjou 0ab751c69b raise window on move 2008-01-24 22:22:52 +01:00
Julien Danjou d6e5e810ab add support for machine type too 2008-01-24 22:10:10 +01:00
Julien Danjou 00bf08178c add some useless infos in version :-) 2008-01-24 21:57:55 +01:00
Julien Danjou 03bb2708b6 refresh stuff even in socket events 2008-01-24 20:43:06 +01:00
Julien Danjou ce41ed1eeb return if no widget match 2008-01-24 20:28:45 +01:00
Julien Danjou 2a574a9cda cosmetic 2008-01-24 20:26:37 +01:00
Julien Danjou 30256b3be3 cosmetic 2008-01-24 20:24:16 +01:00
Julien Danjou 0abb100adf use client_setfloating() in uicb_togglefloating() 2008-01-24 20:09:11 +01:00
Julien Danjou a57d81237a stop waiting for events in queue 2008-01-24 19:14:49 +01:00
Julien Danjou 2ac27fdac4 move draw files to common/ 2008-01-24 18:48:11 +01:00
Julien Danjou 35803aff4c make draw functions more independant 2008-01-24 18:43:24 +01:00
Julien Danjou 82d9cec79d don't regive focus to already focused window 2008-01-24 18:31:44 +01:00
Julien Danjou 00f7cd006a save client props on floating 2008-01-24 18:31:14 +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 e84d614377 replace some code using switch and warn() 2008-01-24 10:47:01 +01:00
Julien Danjou 6396d08c25 kick out rotate option 2008-01-24 10:37:16 +01:00
Julien Danjou 595003b8e1 fix restart stuff 2008-01-23 20:58:05 +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 0e4568b305 add function to copy drawable to window 2008-01-23 19:51:16 +01:00
Julien Danjou e0a12f9e58 draw nothing is icon is invalid 2008-01-23 19:13:49 +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 7ba97b3630 fullscreen respect padding 2008-01-23 17:01:39 +01:00
Julien Danjou 47b15d883f return XMoveWindow status, remove useless #include 2008-01-23 16:54:30 +01:00
Julien Danjou 3e249cab4b change align type 2008-01-23 16:54:14 +01:00
Julien Danjou aeee10ea18 add simplewindow_move() function and use it for statusbar 2008-01-23 16:10:05 +01:00
Julien Danjou c1569eedf4 store simple window geometry 2008-01-23 16:05:52 +01:00
Julien Danjou f17bf8b334 do not return nothing on errors 2008-01-23 15:56:40 +01:00
Julien Danjou e7a6de84ad remove unused attribute
OH MY GOD IT'S OLD!11!
2008-01-23 15:55:59 +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 e7447c24d3 move BUTTONMASK away from header 2008-01-23 15:18:37 +01:00
Julien Danjou 0b678ce0c2 print cairo errors 2008-01-23 13:47:56 +01:00
Julien Danjou e8bc0dac62 check cairo errors 2008-01-23 10:48:08 +01:00