David Hill
|
b6ca75c2a7
|
prefetch the xcb_randr_id so we don't block later
|
2012-07-21 05:59:30 +08:00 |
|
David Hill
|
8f2c842365
|
remove extra lib dependancies from Makefile
|
2012-07-21 05:59:30 +08:00 |
|
David Hill
|
2a64e76451
|
remove -lXlib-xcb and -lXtst. Replace with -lX11 and -lxcb.
-lX11 is still needed for keysym stuff.
|
2012-07-21 05:59:30 +08:00 |
|
David Hill
|
a28e0d1b2f
|
Get rid of XOpenDisplay. Use xcb_connect now!
|
2012-07-21 05:59:30 +08:00 |
|
Reginald Kennedy
|
f4892b390f
|
Fix startup error by disabling all traces of xlib font sets.
The XCreateFontSet() call was failing.
next step is to eliminate the remaining Xlib calls and get bar fonts to
work as they should.
|
2012-07-21 05:59:30 +08:00 |
|
David Hill
|
be6a1f8c47
|
redo checking for an active wm with xcb
|
2012-07-21 05:59:30 +08:00 |
|
David Hill
|
f9b30c3e1d
|
remove commented out Xlib code
|
2012-07-21 05:59:30 +08:00 |
|
David Hill
|
4c05d42a78
|
convert XkbKeycodeToKeysym to xcb
|
2012-07-21 05:59:30 +08:00 |
|
David Hill
|
404594c487
|
NoSymbol to XCB_NO_SYMBOL
|
2012-07-21 05:59:30 +08:00 |
|
David Hill
|
82b752a3ea
|
rename atom variables to begin with a_
|
2012-07-21 05:59:30 +08:00 |
|
David Hill
|
6ae31bbc2b
|
use xcb instead of RootWindow
|
2012-07-21 05:59:30 +08:00 |
|
David Hill
|
9daf16e4b6
|
move some things into setup_globals()
|
2012-07-21 05:59:30 +08:00 |
|
Reginald Kennedy
|
e2e555b67e
|
bar_update() on cycle_layout() for the indicator.
|
2012-07-21 05:59:30 +08:00 |
|
Reginald Kennedy
|
9a58fa26ba
|
Drain EnterNotify in stack() when appropriate.
|
2012-07-21 05:59:30 +08:00 |
|
Reginald Kennedy
|
52d1ceda13
|
Add event_drain() and drain EnterNotify where appropriate.
|
2012-07-21 05:59:30 +08:00 |
|
David Hill
|
52952eaf5e
|
just some minor cleanup. whitespace, cast types, etc
|
2012-07-21 05:59:30 +08:00 |
|
David Hill
|
a53bbb5e6d
|
get rid of the if 0 code. sick of seeing it.
|
2012-07-21 05:59:30 +08:00 |
|
Reginald Kennedy
|
e676f5a92b
|
Some OpenBSD styling cleanup.
keyfunc names are now uppercase.
Add -Wextra to Linux Makefile for dev purposes.
Remove unneeded dummykeyfunc().
|
2012-07-21 05:59:30 +08:00 |
|
Reginald Kennedy
|
b241e108a2
|
Update freebsd Makefile.
Submitted by Erandir
|
2012-07-21 05:59:30 +08:00 |
|
Reginald Kennedy
|
ad2fddc520
|
Add a few more xcb_flush().
Remove whitespace.
|
2012-07-21 05:59:29 +08:00 |
|
Reginald Kennedy
|
01ab637a1a
|
Add another xcb_flush() into a key position.
|
2012-07-21 05:59:29 +08:00 |
|
David Hill
|
41a11496e3
|
undo if 0 the select code.
|
2012-07-21 05:59:29 +08:00 |
|
David Hill
|
a0b5fd0279
|
pid is not unsigned
|
2012-07-21 05:59:29 +08:00 |
|
David Hill
|
69f5175f35
|
fix window_get_pid().
|
2012-07-21 05:59:29 +08:00 |
|
David Hill
|
6c2931776f
|
use UINT32_MAX in xcb_get_property for atoms.
|
2012-07-21 05:59:29 +08:00 |
|
David Hill
|
78bdc9baaa
|
fix ewmh_autoquirk to actually test the correct values
|
2012-07-21 05:59:29 +08:00 |
|
Reginald Kennedy
|
5a5f06194d
|
Add xcb_flush() to key positions; remove from map_window_raised().
|
2012-07-21 05:59:29 +08:00 |
|
Reginald Kennedy
|
83dfe262a8
|
Add xcb_flush to wkill().
|
2012-07-21 05:59:29 +08:00 |
|
Reginald Kennedy
|
28f220a7df
|
Fix move() and resize() for mouse input.
Remove useless visibilitynotify().
|
2012-07-21 05:59:29 +08:00 |
|
David Hill
|
72f088f953
|
oops, this should compare to type and not response_type.
Fixes full screen.
|
2012-07-21 05:59:29 +08:00 |
|
David Hill
|
90431ef17b
|
print the atom type instead of the response type.
|
2012-07-21 05:59:29 +08:00 |
|
David Hill
|
90e1d00d5d
|
if 0 the select() code in the event loop.
I have no idea the purpose of it.
|
2012-07-21 05:59:29 +08:00 |
|
Reginald Kennedy
|
9721c99465
|
Redraw bar on exposure.
|
2012-07-21 05:59:29 +08:00 |
|
David Hill
|
9a52bb6bc2
|
xcb_flush before polling for events
|
2012-07-21 05:59:29 +08:00 |
|
Reginald Kennedy
|
4697517042
|
Make DPRINTF and DNPRINTF obey 80 col while improving readability.
Debug time is now seconds since start.
|
2012-07-21 05:59:29 +08:00 |
|
David Hill
|
409634cf4a
|
add a timestamp to debugging messages
rename time variable to timestamp
|
2012-07-21 05:59:29 +08:00 |
|
Reginald Kennedy
|
e03f06a1a5
|
Remove the larger hammer in focus_win(), at least temporarily.
Add the rest of the X event types to event_handle(), commented out.
Remove an unused global variable.
|
2012-07-21 05:59:29 +08:00 |
|
David Hill
|
a809812e18
|
no point in setting state on an already destroyed window.
it just produces an error.
ok lordreg
|
2012-07-21 05:59:29 +08:00 |
|
Reginald Kennedy
|
59681aa346
|
In event_error(), show the name of the request that caused the error.
|
2012-07-21 05:59:29 +08:00 |
|
Reginald Kennedy
|
096c4218dd
|
Use xcb_event_get_error_label() instead of doing the work manually.
|
2012-07-21 05:59:29 +08:00 |
|
Reginald Kennedy
|
9bd2ca7222
|
Remove redundant geteventname() since there is xcb_event_get_label().
|
2012-07-21 05:59:28 +08:00 |
|
Reginald Kennedy
|
3139d00c86
|
Add Error event type to debug output.
Add event_type value to debug output.
|
2012-07-21 05:59:28 +08:00 |
|
Reginald Kennedy
|
e88b44bce4
|
Remove redundant defines for XCB error macros.
The XCB_EVENT_ERROR_BAD_* macros were simply removed without new ones
being added.
|
2012-07-21 05:59:28 +08:00 |
|
Reginald Kennedy
|
3228ba7d20
|
Fix XCB error macros to use current naming.
Add -lxcb-xtest to Linux Makefile.
Indentation of multi-line statements should be 4 spaces.
Remove EOL whitespace.
|
2012-07-21 05:59:28 +08:00 |
|
David Hill
|
7df4ccc269
|
initial event error handling
|
2012-07-21 05:59:28 +08:00 |
|
David Hill
|
8ef91631e3
|
remove some xcb_flush calls
|
2012-07-21 05:59:28 +08:00 |
|
David Hill
|
54c8d5ffa9
|
replace XTestFakeButtonEvent with xcb
|
2012-07-21 05:59:28 +08:00 |
|
Reginald Kennedy
|
59ce7959f9
|
Fix 'double keypress' issue.
|
2012-07-21 05:59:28 +08:00 |
|
Reginald Kennedy
|
dff26b17f5
|
Convert geteventname() to XCB.
Add basic debug output of events in the main event loop.
|
2012-07-21 05:59:28 +08:00 |
|
Reginald Kennedy
|
e5e36a7e1d
|
Fix linux Makefile.
Some whitespace.
|
2012-07-21 05:59:28 +08:00 |
|