David Hill [Fri, 13 Jul 2012 02:47:04 +0000 (22:47 -0400)]
XCloseDisplay no longer needed
David Hill [Fri, 13 Jul 2012 02:40:07 +0000 (22:40 -0400)]
convert updatenumlockmask to XCB
David Hill [Fri, 13 Jul 2012 01:56:33 +0000 (21:56 -0400)]
switch one remaining XUnmapWindow to xcb. Change a few Xlib defines to XCB
David Hill [Fri, 13 Jul 2012 01:24:07 +0000 (21:24 -0400)]
convert a XGetWindowAttributes to XCB
David Hill [Fri, 13 Jul 2012 01:21:19 +0000 (21:21 -0400)]
move drain_enter_notify back to Xlib events til we are ready to do everything
David Hill [Fri, 13 Jul 2012 01:20:21 +0000 (21:20 -0400)]
turn debugging back off
David Hill [Thu, 12 Jul 2012 21:28:15 +0000 (17:28 -0400)]
Convert XGetWMNormalHints to XCB. Also fix a bug masking to the wrong value (I think)
David Hill [Thu, 12 Jul 2012 21:19:22 +0000 (17:19 -0400)]
make SWM_DEBUG compile again
David Hill [Thu, 12 Jul 2012 21:14:47 +0000 (17:14 -0400)]
check to see if there is actual data to use before proceeding
David Hill [Thu, 12 Jul 2012 21:11:48 +0000 (17:11 -0400)]
fix to actually check there is data to copy.
David Hill [Thu, 12 Jul 2012 19:58:01 +0000 (15:58 -0400)]
XGetClassHint converted to XCB
David Hill [Thu, 12 Jul 2012 19:47:20 +0000 (15:47 -0400)]
replace XGetWindowAttributes with xcb window geometry
David Hill [Thu, 12 Jul 2012 18:51:01 +0000 (14:51 -0400)]
convert XGetAtomName to xcb
David Hill [Thu, 12 Jul 2012 18:45:47 +0000 (14:45 -0400)]
fix use after free
David Hill [Thu, 12 Jul 2012 18:30:52 +0000 (14:30 -0400)]
cleanup get_iconic function
David Hill [Thu, 12 Jul 2012 18:23:07 +0000 (14:23 -0400)]
convert a XGetWindowProperty to xcb
David Hill [Thu, 12 Jul 2012 17:28:49 +0000 (13:28 -0400)]
fix crash in get_win_name.
Only wipe the reply if the reply was successful.
David Hill [Thu, 12 Jul 2012 16:46:15 +0000 (12:46 -0400)]
support rgb:rr/gg/bb colors
David Hill [Wed, 11 Jul 2012 05:54:43 +0000 (01:54 -0400)]
XGetTransientForHint to XCB
David Hill [Wed, 11 Jul 2012 05:47:04 +0000 (01:47 -0400)]
XGetWMProtocols to XCB
David Hill [Wed, 11 Jul 2012 05:19:08 +0000 (01:19 -0400)]
convert another XGetWindowAttributes to xcb
David Hill [Wed, 11 Jul 2012 04:07:55 +0000 (00:07 -0400)]
XGetWMHints to xcb
David Hill [Wed, 11 Jul 2012 03:54:58 +0000 (23:54 -0400)]
missed a XCreateFontCursor. Also convert XDefineCursor to XCB
David Hill [Wed, 11 Jul 2012 03:37:02 +0000 (23:37 -0400)]
convert XCreateFontCursor to XCB
David Hill [Wed, 11 Jul 2012 03:16:32 +0000 (23:16 -0400)]
convert XGrabCursor to XCB
David Hill [Tue, 10 Jul 2012 22:16:35 +0000 (18:16 -0400)]
XQueryPointer to XCB
David Hill [Tue, 10 Jul 2012 20:32:41 +0000 (16:32 -0400)]
XCreateSimpleWindow and XCreatePixmap -> XCB
David Hill [Tue, 10 Jul 2012 20:06:05 +0000 (16:06 -0400)]
XCreateGC, XFreeGC, XFillRectangle, DRAWSTRING replaced with XCB
David Hill [Tue, 10 Jul 2012 18:52:19 +0000 (14:52 -0400)]
more readable loop. also fixes minor memleak
David Hill [Tue, 10 Jul 2012 18:42:07 +0000 (14:42 -0400)]
better allocation
David Hill [Tue, 10 Jul 2012 18:27:16 +0000 (14:27 -0400)]
remove useless cast
David Hill [Tue, 10 Jul 2012 17:23:14 +0000 (13:23 -0400)]
remove no longer used get_property function
David Hill [Tue, 10 Jul 2012 17:22:30 +0000 (13:22 -0400)]
convert get_wm_name to xcb
David Hill [Tue, 10 Jul 2012 16:50:37 +0000 (12:50 -0400)]
replace DefaultWidth, DefaultHeight, and DefaultDepth
with a local function that uses XCB
David Hill [Mon, 9 Jul 2012 21:52:30 +0000 (17:52 -0400)]
fix propagate and window ID swapage.
David Hill [Mon, 9 Jul 2012 21:51:37 +0000 (17:51 -0400)]
missing xcb_icccm_get_wm_hints_reply #define for __OpenBSD__
David Hill [Mon, 9 Jul 2012 21:50:56 +0000 (17:50 -0400)]
switch to xcb_get_screen_resources_current*
Reginald Kennedy [Sat, 7 Jul 2012 11:18:08 +0000 (19:18 +0800)]
Update code to compile against XCB util-wm >= 0.3.8
XCB ICCCM public functions, types and macros are now prefixed.
A temporary fix has been added for OpenBSD. Needs improvement.
Resolve a variable naming conflict.
Set num_screens in unmap_all.
In workaround(), utf8_string should be netwmname, not netwmcheck.
Initialize some uninitialized pointers.
Update debug printf format to reflect new xcb variable types.
Vacuum up whitespace.
Add XCB libs to linux Makefile
Reginald Kennedy [Sat, 7 Jul 2012 10:05:47 +0000 (18:05 +0800)]
Fix dumpwins().
David Hill [Fri, 6 Jul 2012 21:21:46 +0000 (17:21 -0400)]
replace XSync calls with a home grown function
David Hill [Fri, 6 Jul 2012 21:09:25 +0000 (17:09 -0400)]
convert config_win and fake_keypress to XCB
David Hill [Fri, 6 Jul 2012 20:36:48 +0000 (16:36 -0400)]
use XCB_RANDR_SCREEN_CHANGE_NOTIFY
David Hill [Fri, 6 Jul 2012 20:31:40 +0000 (16:31 -0400)]
convert dumpwins() to XCB
David Hill [Fri, 6 Jul 2012 20:07:47 +0000 (16:07 -0400)]
go back to using XPending() for now.
call xcb_flush() after raising windows.
David Hill [Fri, 6 Jul 2012 20:02:07 +0000 (16:02 -0400)]
replace xrandr setup with XCB
David Hill [Fri, 6 Jul 2012 06:48:23 +0000 (02:48 -0400)]
convert a XSelectInput to XCB
David Hill [Fri, 6 Jul 2012 06:32:58 +0000 (02:32 -0400)]
convert bar_urgent to XCB
David Hill [Fri, 6 Jul 2012 06:17:09 +0000 (02:17 -0400)]
Revert "convert a XGetWindowAttributes"
This reverts commit
4f87451a3ee933bae873789020054ba95d9626f4.
It is not doing what it is supposed to do :)
David Hill [Fri, 6 Jul 2012 04:22:58 +0000 (00:22 -0400)]
convert a XGetWindowAttributes
David Hill [Fri, 6 Jul 2012 04:15:16 +0000 (00:15 -0400)]
convert XWarpPointer to XCB
David Hill [Fri, 6 Jul 2012 03:53:04 +0000 (23:53 -0400)]
convert XSetWindowBorder()'s and unmanage_window() to XCB
David Hill [Fri, 6 Jul 2012 03:29:47 +0000 (23:29 -0400)]
convert root_to_region to XCB
David Hill [Fri, 6 Jul 2012 03:09:41 +0000 (23:09 -0400)]
convert send_to_ws() and client_msg() to XCB
David Hill [Fri, 6 Jul 2012 02:04:43 +0000 (22:04 -0400)]
convert XMapRaised to XCB
David Hill [Fri, 6 Jul 2012 01:50:32 +0000 (21:50 -0400)]
convert XKillClient to xcb
David Hill [Fri, 6 Jul 2012 01:05:13 +0000 (21:05 -0400)]
convert a lot more code over to xcb.
David Hill [Thu, 5 Jul 2012 17:44:05 +0000 (13:44 -0400)]
create function get_atom_from_string() and initial XCB RANDR support
David Hill [Wed, 4 Jul 2012 21:41:08 +0000 (17:41 -0400)]
convert ewmh_autoquirk to XCB
David Hill [Wed, 4 Jul 2012 21:34:46 +0000 (17:34 -0400)]
convert teardown_ewmh to XCB
David Hill [Wed, 4 Jul 2012 21:21:25 +0000 (17:21 -0400)]
convert ewmh_get_win_state to XCB
David Hill [Wed, 4 Jul 2012 21:03:09 +0000 (17:03 -0400)]
convert set_win_state() and getstate() to XCB.
convert a XUngrabKey to XCB
David Hill [Wed, 4 Jul 2012 06:15:17 +0000 (02:15 -0400)]
oops - don't xcb_disconnect() on restart.
David Hill [Wed, 4 Jul 2012 06:14:18 +0000 (02:14 -0400)]
convert bar_refresh() to XCB
David Hill [Wed, 4 Jul 2012 06:08:50 +0000 (02:08 -0400)]
convert name_to_color to XCB
note: XCB doesn't not support RGB:/RR/GG/BB syntax.
David Hill [Wed, 4 Jul 2012 04:41:38 +0000 (00:41 -0400)]
convert update_window() to XCB
David Hill [Wed, 4 Jul 2012 04:36:23 +0000 (00:36 -0400)]
convert ewmh_update_win_state() to XCB
David Hill [Wed, 4 Jul 2012 04:28:48 +0000 (00:28 -0400)]
replace ScreenCount() calls with XCB calls.
David Hill [Tue, 3 Jul 2012 22:28:35 +0000 (18:28 -0400)]
Change some 'Window' types to xcb_window_t's.
David Hill [Tue, 3 Jul 2012 22:08:57 +0000 (18:08 -0400)]
convert grabbuttons() and partial unfocus_win to XCB
David Hill [Tue, 3 Jul 2012 21:48:07 +0000 (17:48 -0400)]
make ewmh_update_actions() use XCB. Also convert ewmh_hint
structure to XCB.
David Hill [Tue, 3 Jul 2012 21:42:23 +0000 (17:42 -0400)]
convert window_get_pid and partially custom_region to xcb
David Hill [Tue, 3 Jul 2012 20:41:25 +0000 (16:41 -0400)]
make get_iconic use xcb
David Hill [Tue, 3 Jul 2012 20:17:16 +0000 (16:17 -0400)]
make update_iconic() use xcb
David Hill [Tue, 3 Jul 2012 20:11:02 +0000 (16:11 -0400)]
make setscreencolor use xcb
David Hill [Tue, 3 Jul 2012 19:59:24 +0000 (15:59 -0400)]
make setup_ewmh() use xcb
David Hill [Tue, 3 Jul 2012 19:51:50 +0000 (15:51 -0400)]
initial code to compile in xcb support.
many more diffs coming.
Marco Peereboom [Tue, 17 Jul 2012 20:55:05 +0000 (15:55 -0500)]
Prepare for release 1.1.2.
Reginald Kennedy [Mon, 16 Jul 2012 19:33:36 +0000 (03:33 +0800)]
Fix issue where _NET_ACTIVE_WINDOW is ignored on unmanaged windows.
ok marco
Reginald Kennedy [Wed, 11 Jul 2012 17:23:43 +0000 (01:23 +0800)]
Fix spawn_position to actually do what it is supposed to do.
David Hill [Mon, 9 Jul 2012 21:21:43 +0000 (17:21 -0400)]
use XRRGetScreenResourcesCurrent instead.
XRRGetScreenResourcesCurrent is cheaper: no hardware polling.
This seems to fix my garbaled console too.
Tiago Cunha [Wed, 4 Jul 2012 20:47:24 +0000 (21:47 +0100)]
Simplify limit retrieving.
Tiago Cunha [Wed, 4 Jul 2012 20:37:20 +0000 (21:37 +0100)]
Turn this into a function.
Marco Peereboom [Tue, 3 Jul 2012 19:29:29 +0000 (14:29 -0500)]
Prepare for release 1.1.1.
Reginald Kennedy [Tue, 3 Jul 2012 14:52:40 +0000 (22:52 +0800)]
Add clarification to man page that default workspace_limit is 10.
Reginald Kennedy [Tue, 3 Jul 2012 14:18:03 +0000 (22:18 +0800)]
Add backwards compatibility for the spawn_term binding.
Marco Peereboom [Tue, 3 Jul 2012 01:05:41 +0000 (20:05 -0500)]
Prepare for release 1.1.0.
Reginald Kennedy [Fri, 29 Jun 2012 12:05:04 +0000 (20:05 +0800)]
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
Reginald Kennedy [Fri, 29 Jun 2012 19:47:29 +0000 (03:47 +0800)]
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
Tiago Cunha [Mon, 18 Jun 2012 13:33:50 +0000 (14:33 +0100)]
Update copyrights.
Tiago Cunha [Mon, 18 Jun 2012 13:31:19 +0000 (14:31 +0100)]
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.
Tiago Cunha [Wed, 13 Jun 2012 21:44:12 +0000 (22:44 +0100)]
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.
Tiago Cunha [Wed, 13 Jun 2012 21:38:46 +0000 (22:38 +0100)]
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.
Reginald Kennedy [Sat, 16 Jun 2012 00:48:49 +0000 (08:48 +0800)]
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
Marco Peereboom [Sat, 23 Jun 2012 15:00:47 +0000 (10:00 -0500)]
remove ggdb3
Reginald Kennedy [Sun, 10 Jun 2012 21:31:28 +0000 (05:31 +0800)]
Add horizontal_flip and vertical_flip layout options.
Based on patch submitted by Olivier Mauras <coredumb@coredumb.net>
ok marco
Reginald Kennedy [Thu, 7 Jun 2012 18:19:22 +0000 (02:19 +0800)]
Fix issue replacing certain configuration bindings.
ok marco
Tiago Cunha [Tue, 5 Jun 2012 21:41:50 +0000 (22:41 +0100)]
Fix xterm resource.
Tiago Cunha [Thu, 31 May 2012 21:31:31 +0000 (22:31 +0100)]
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.
Tiago Cunha [Thu, 31 May 2012 21:28:26 +0000 (22:28 +0100)]
Character sequence for the floating indicator.
Tiago Cunha [Thu, 31 May 2012 21:21:59 +0000 (22:21 +0100)]
Missed a few spaces in the default format.
If not displaying the window title, add four spaces after the window
class. Noticed due to the previously related change.