Commit Graph

1065 Commits

Author SHA1 Message Date
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
Julien Danjou 1644cb51c3 don't XSync everything, and remove max flag on move/resize + redraw statusbar 2007-12-27 23:50:19 +01:00
Julien Danjou f9aff4ef40 don't die for parsing errors, set up a minimal conf 2007-12-27 23:28:33 +01:00
Julien Danjou a22a308e60 split screen section parsing in another static fct 2007-12-27 23:18:50 +01:00
Julien Danjou f93a441da7 remove Display from Client struct 2007-12-27 23:10:43 +01:00
Julien Danjou 48d9ea047f simplify is_client_tagged() proto 2007-12-27 23:05:34 +01:00
Julien Danjou e95dc4b4cd simplify tag_client() and untag_client() proto 2007-12-27 22:43:59 +01:00
Julien Danjou 2287c0ff7c add support for NET_WM_STATE and NET_WM_STATE_STICKY 2007-12-27 22:39:29 +01:00
Julien Danjou 87fce96644 add support for NET_CLOSE_WINDOW 2007-12-27 20:49:38 +01:00
Julien Danjou 38c3547dfb fix warning 2007-12-27 20:35:53 +01:00
Julien Danjou 5f92667773 simplify sel handling 2007-12-27 19:57:46 +01:00
Julien Danjou 50e7595a0c add support for _NET_ACTIVE_WINDOW 2007-12-27 19:33:01 +01:00