Commit graph

718 commits

Author SHA1 Message Date
David Hill
c6485fbba4 convert XWarpPointer to XCB 2012-07-21 05:58:31 +08:00
David Hill
f8a013da2a convert XSetWindowBorder()'s and unmanage_window() to XCB 2012-07-21 05:58:31 +08:00
David Hill
305d315fd5 convert root_to_region to XCB 2012-07-21 05:58:31 +08:00
David Hill
54d1d17447 convert send_to_ws() and client_msg() to XCB 2012-07-21 05:58:30 +08:00
David Hill
94ece03a60 convert XMapRaised to XCB 2012-07-21 05:58:30 +08:00
David Hill
1b5d8e8818 convert XKillClient to xcb 2012-07-21 05:58:30 +08:00
David Hill
1594c28e74 convert a lot more code over to xcb. 2012-07-21 05:58:30 +08:00
David Hill
0d87fa21e2 create function get_atom_from_string() and initial XCB RANDR support 2012-07-21 05:58:30 +08:00
David Hill
b086f741a6 convert ewmh_autoquirk to XCB 2012-07-21 05:58:30 +08:00
David Hill
e33b66766f convert teardown_ewmh to XCB 2012-07-21 05:58:30 +08:00
David Hill
0ac5177d7b convert ewmh_get_win_state to XCB 2012-07-21 05:58:30 +08:00
David Hill
e4fe23a921 convert set_win_state() and getstate() to XCB.
convert a XUngrabKey to XCB
2012-07-21 05:58:30 +08:00
David Hill
e18f7c05ed oops - don't xcb_disconnect() on restart. 2012-07-21 05:58:30 +08:00
David Hill
0943667cdc convert bar_refresh() to XCB 2012-07-21 05:58:30 +08:00
David Hill
2594aa6939 convert name_to_color to XCB
note:  XCB doesn't not support RGB:/RR/GG/BB syntax.
2012-07-21 05:58:30 +08:00
David Hill
46139e4404 convert update_window() to XCB 2012-07-21 05:58:30 +08:00
David Hill
dbbf2709df convert ewmh_update_win_state() to XCB 2012-07-21 05:58:30 +08:00
David Hill
e3447e3952 replace ScreenCount() calls with XCB calls. 2012-07-21 05:58:30 +08:00
David Hill
2f1cecab3f Change some 'Window' types to xcb_window_t's. 2012-07-21 05:58:30 +08:00
David Hill
f2da41ebd0 convert grabbuttons() and partial unfocus_win to XCB 2012-07-21 05:58:30 +08:00
David Hill
64eabd5641 make ewmh_update_actions() use XCB. Also convert ewmh_hint
structure to XCB.
2012-07-21 05:58:30 +08:00
David Hill
ff9fc42a00 convert window_get_pid and partially custom_region to xcb 2012-07-21 05:58:30 +08:00
David Hill
f049b883c1 make get_iconic use xcb 2012-07-21 05:58:30 +08:00
David Hill
4b08cf2e01 make update_iconic() use xcb 2012-07-21 05:58:30 +08:00
David Hill
ba9be109b4 make setscreencolor use xcb 2012-07-21 05:58:29 +08:00
David Hill
376c5ec3f0 make setup_ewmh() use xcb 2012-07-21 05:58:29 +08:00
David Hill
e876d7de13 initial code to compile in xcb support.
many more diffs coming.
2012-07-21 05:58:29 +08:00
Marco Peereboom
8fd4c32014 Prepare for release 1.1.2. 2012-07-17 15:55:05 -05:00
Reginald Kennedy
ef048ac6ee Fix issue where _NET_ACTIVE_WINDOW is ignored on unmanaged windows.
ok marco
2012-07-17 04:04:31 +08:00
Reginald Kennedy
52e931e498 Fix spawn_position to actually do what it is supposed to do. 2012-07-12 01:23:43 +08:00
David Hill
9c2fd87adb use XRRGetScreenResourcesCurrent instead.
XRRGetScreenResourcesCurrent is cheaper:  no hardware polling.
This seems to fix my garbaled console too.
2012-07-09 17:21:43 -04:00
Tiago Cunha
3088ae3cd6 Simplify limit retrieving. 2012-07-04 21:47:24 +01:00
Tiago Cunha
94a4eee141 Turn this into a function. 2012-07-04 21:37:20 +01:00
Marco Peereboom
a53197ff96 Prepare for release 1.1.1. 2012-07-03 14:29:29 -05:00
Reginald Kennedy
e7a547a729 Add clarification to man page that default workspace_limit is 10. 2012-07-03 22:56:32 +08:00
Reginald Kennedy
545774e963 Add backwards compatibility for the spawn_term binding. 2012-07-03 22:18:03 +08:00
Marco Peereboom
b2d57b26e9 Prepare for release 1.1.0. 2012-07-02 20:05:41 -05:00
Reginald Kennedy
cd1e9bacba Improve configurerequest handling.
Allow applications to change float geometry until manually resized by
the user.

Fix window mapping when managing a window
Move the window to the correct workspace first so that the region
dimensions are available to the app for proper sizing.

Improve fullscreen handling.
Prevent move or resize operations on fullscreen windows.

Add border flag to ws_win for window geometry calculations.

Utilize update_window instead of separate calls to XConfigureWindow.

ok marco
2012-07-03 03:31:15 +08:00
Reginald Kennedy
d66a94fce3 Fix status bar flicker by double-buffering the output.
Add a bar struct to contain the properties of each bar.

Eliminate redundant calls to set the bar colors.

ok marco
2012-07-03 01:03:48 +08:00
Tiago Cunha
f7976a5f5c Update copyrights. 2012-06-26 19:44:27 +01:00
Tiago Cunha
25791230c7 Non-left aligned text isn't truly justified.
Add a paragraph in the bar_justify configuration file keyword to inform
the user that the status-bar output isn't truly justified, in some
special cases, if not left aligned, since the default format has
white-spaces embedded.
2012-06-26 19:44:27 +01:00
Tiago Cunha
934bbe1ff2 Add new character sequence used for padding.
Instead of inserting sequential spaces one by one, add support for
padding with the +< character pair. Uses the specified limit or one
otherwise.
2012-06-26 19:44:27 +01:00
Tiago Cunha
e08d2eed9b Unlink es and it manual pages from the build.
They are outdated and mandoc(1) currently gives a few warnings which
might hide the ones from the main manual page and from the compiler.
2012-06-26 19:44:27 +01:00
Reginald Kennedy
dd4e0b8dd0 Fix 'term' action binding and defaults.
Note that 'program[term]' should be used to set the terminal; not
spawn_term.

Prevent width options from being set to negative values.

Change conf autorun example to xombrero.

Improve readability of enums.
(Based on patch submitted by Jason Woofenden <jason@jasonwoof.com>)

Sort conf_load switch cases to match enum.

ok marco
2012-06-27 01:30:46 +08:00
Marco Peereboom
ba542eb493 remove ggdb3 2012-06-23 10:00:47 -05:00
Reginald Kennedy
f6d686fcff Add horizontal_flip and vertical_flip layout options.
Based on patch submitted by Olivier Mauras <coredumb@coredumb.net>

ok marco
2012-06-12 21:14:13 +08:00
Reginald Kennedy
69e4733971 Fix issue replacing certain configuration bindings.
ok marco
2012-06-08 03:14:01 +08:00
Tiago Cunha
ef1766f1a5 Fix xterm resource. 2012-06-05 22:41:50 +01:00
Tiago Cunha
bfbcbe5c62 Add new window related character sequence.
Character pair +P outputs both window class and title separated by a
colon. Might be useful to some users and it's only a few lines of code.
2012-06-05 22:32:02 +01:00
Tiago Cunha
e67f9f1bfa Character sequence for the floating indicator. 2012-06-05 22:32:02 +01:00