openbsd-ports/x11/i3/patches/patch-src_workspace_c
2011-01-05 12:45:04 +00:00

12 lines
576 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$OpenBSD: patch-src_workspace_c,v 1.1 2011/01/05 12:45:04 dcoppa Exp $
--- src/workspace.c.orig Wed Jan 5 13:03:23 2011
+++ src/workspace.c Wed Jan 5 13:04:42 2011
@@ -112,7 +112,6 @@ bool workspace_is_visible(Workspace *ws) {
*/
void workspace_show(xcb_connection_t *conn, int workspace) {
bool need_warp = false;
- xcb_window_t root = xcb_setup_roots_iterator(xcb_get_setup(conn)).data->root;
/* t_ws (to workspace) is just a convenience pointer to the workspace were switching to */
Workspace *t_ws = workspace_get(workspace-1);