Commit Graph

876 Commits

Author SHA1 Message Date
Julien Danjou 13e5b96807 don't stick textbox size to the first textsize sent via widget_tell 2007-12-30 21:03:22 +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 427858460f add CFGF_NO_TITLE_DUPES to screen and tag sections 2007-12-30 18:38:05 +01:00
Julien Danjou 5599027361 add CFGF_NO_TITLE_DUPES flag to widgets sections 2007-12-30 18:36:18 +01:00
Nikos Ntarmos 0fb6cf2817 check for EWMH.initial_state 2007-12-30 18:31:22 +01:00
Julien Danjou a051c2db09 free old statusbar drawable 2007-12-30 18:13:33 +01:00
Julien Danjou 6e3b3da6c0 document widgets 2007-12-30 15:38:23 +01:00
Julien Danjou 6f4dec78ff remove Display as arg from window_*() fcts 2007-12-30 15:24:51 +01:00
Julien Danjou 84c59a5704 code documentation update 2007-12-30 15:11:37 +01:00
Julien Danjou 3216eb4d41 documente some functions and simplify client_saveprops() proto 2007-12-30 15:08:38 +01:00
Julien Danjou 75c7d04adf allow textbox to have special width 2007-12-30 14:49:03 +01:00
Julien Danjou 0eb4743385 draw_text don't pad with font->height / 2 by default: padding is now an arg 2007-12-30 14:42:51 +01:00
Julien Danjou 9bc998bb76 fix default layouts icons path 2007-12-30 14:29:28 +01:00
Julien Danjou cb0203b0a0 don't display if statusbar off 2007-12-30 14:23:01 +01:00
Julien Danjou 9a5e745114 remove textwidth_primitive 2007-12-30 14:22:19 +01:00
Julien Danjou e57f387df0 fix size stuff for square 2007-12-30 14:06:45 +01:00
Julien Danjou f7263bbca8 bug fix: reset widget->width to 0 2007-12-30 13:42:49 +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 34ddf418ad fix colors handling 2007-12-29 22:01:11 +01:00
Julien Danjou 0aee718aba add vim filetype 2007-12-29 21:55:58 +01:00
Thomas Guebels a26bce5132 add mouse bindings to use mouse wheel on focustitle widget 2007-12-29 21:55:00 +01:00
Julien Danjou 3d71a2e9a4 merge draw_get_image_{width,height}() into draw_get_image_size() 2007-12-29 21:44:44 +01:00
Julien Danjou 814b66fddb remove useless checks 2007-12-29 21:37:12 +01:00
Julien Danjou 11a4ecc32a optimize loop 2007-12-29 21:37:04 +01:00
Robert Millar eb65306127 Custom netwm icons, scaling icons!
I hacked together support for custom netwm icons set in the rules
section of .awesomerc, and for iconboxes and netwm icons to be scaled
to fit into the statusbar. It could probably be done a bit more
cleanly than I've done it, though :)

Rob
2007-12-29 21:30:37 +01:00
Julien Danjou bf5d5fa17e add support for fg/bg colors and dedicated font for focustitle widget 2007-12-29 19:39:46 +01:00
Julien Danjou 360d9023a4 allow textbox widgets to have their own font 2007-12-29 16:04:06 +01:00
Julien Danjou 7816dd3d83 optimize PNG files 2007-12-29 11:26:25 +01:00
Julien Danjou f8300c5523 add support for _NET_CURRENT_DESKTOP messages 2007-12-28 22:16:27 +01:00
Julien Danjou 9ec91d37c0 add support for _NET_WM_WINDOW_TYPE_SPLASH 2007-12-28 22:01:22 +01:00
Julien Danjou 3a8e2c70ba add support for _NET_WM_ICON_NAME 2007-12-28 21:58:21 +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 88ee1e037e drop PointerMotion events while resizing 2007-12-28 17:39:29 +01:00
Julien Danjou e60b300112 optimize mwfact resizing with mouse 2007-12-28 17:37:41 +01:00
Julien Danjou 6dde3eaf16 allow to resize mwfact with mouse 2007-12-28 17:11:20 +01:00
Julien Danjou 48f92f60d1 change uicb_focus_history() to use focus_get_latest_client_for_tags() which now takes an index as arg 2007-12-28 14:27:15 +01:00
Julien Danjou 4e45103537 skip skippable windows when looking for a client 2007-12-28 14:12:54 +01:00
Julien Danjou 91c0f00b2b update EWMH info before applying rules 2007-12-28 14:03:22 +01:00
Julien Danjou e0c1472249 windows that start in Withdrawstate are skipped in focus list 2007-12-28 13:43:47 +01:00
Julien Danjou 629f2efb83 bug fix in focus_get_latest_client_for_tags: restore tags on each roll 2007-12-28 12:48:42 +01:00
Julien Danjou 56596cc24d cosmetic 2007-12-28 12:39:40 +01:00
Julien Danjou 14909f47a9 move tclink in awesomeconf 2007-12-28 11:34:35 +01:00
Julien Danjou 899f84fce7 indent 2007-12-28 11:15:15 +01:00
Julien Danjou 19cd145861 use focus history when focus(NULL) 2007-12-28 10:12:34 +01:00
Julien Danjou 3851e755df maximize resize in a volatile way 2007-12-27 23:50:37 +01:00