forked from yshui/picom
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/next' into next
- Loading branch information
Showing
84 changed files
with
855 additions
and
737 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
// SPDX-License-Identifier: MPL-2.0 | ||
// Copyright (c) Yuxuan Shui <[email protected]> | ||
|
||
#include <string.h> | ||
#include <uthash.h> | ||
#include <xcb/xcb.h> | ||
|
||
#include "atom.h" | ||
#include "cache.h" | ||
#include "common.h" | ||
#include "compiler.h" | ||
#include "log.h" | ||
#include "utils.h" | ||
#include "utils/cache.h" | ||
#include "utils/misc.h" | ||
|
||
struct atom_entry { | ||
struct cache_handle entry; | ||
|
@@ -163,4 +166,4 @@ struct atom *init_mock_atoms(void) { | |
abort(); | ||
} | ||
|
||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
// SPDX-License-Identifier: MPL-2.0 | ||
// Copyright (c) Yuxuan Shui <[email protected]> | ||
|
||
#pragma once | ||
#include <string.h> | ||
#include <xcb/xcb.h> | ||
|
||
#include "cache.h" | ||
#include "meta.h" | ||
#include "utils/meta.h" | ||
|
||
// clang-format off | ||
// Splitted into 2 lists because of the limitation of our macros | ||
|
@@ -80,4 +83,4 @@ void destroy_atoms(struct atom *a); | |
/// secutive integers as atoms, starting from 1. Calling get_atom_name with atoms | ||
/// previously seen will result in the string that was used to create the atom; if | ||
/// the atom was never returned by get_atom, it will abort. | ||
struct atom *init_mock_atoms(void); | ||
struct atom *init_mock_atoms(void); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
// SPDX-License-Identifier: MPL-2.0 | ||
// Copyright (c) Yuxuan Shui <[email protected]> | ||
#pragma once | ||
#include <stdbool.h> | ||
|
||
#include <X11/Xlib.h> | ||
#include <epoxy/glx.h> | ||
#include <stdbool.h> | ||
#include <xcb/render.h> | ||
#include <xcb/xcb.h> | ||
|
||
#include "compiler.h" | ||
#include "log.h" | ||
#include "utils.h" | ||
#include "x.h" | ||
|
||
struct glx_fbconfig_info { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
srcs += [ files('blur.c', 'egl.c', 'gl_common.c', 'glx.c', 'shaders.c') ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
srcs += [ files('xrender.c') ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,6 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
/* | ||
* Compton - a compositor for X11 | ||
* | ||
* Based on `xcompmgr` - Copyright (c) 2003, Keith Packard | ||
* | ||
* Copyright (c) 2011-2013, Christopher Jeffrey | ||
* See LICENSE-mit for more information. | ||
* | ||
*/ | ||
// Copyright (c) 2011-2013, Christopher Jeffrey | ||
// Copyright (c) 2018 Yuxuan Shui <[email protected]> | ||
|
||
#include <assert.h> | ||
#include <ctype.h> | ||
|
@@ -34,11 +26,10 @@ | |
#include "compiler.h" | ||
#include "config.h" | ||
#include "log.h" | ||
#include "string_utils.h" | ||
#include "test.h" | ||
#include "uthash_extra.h" | ||
#include "utils.h" | ||
#include "win.h" | ||
#include "utils/str.h" | ||
#include "utils/uthash_extra.h" | ||
#include "wm/win.h" | ||
#include "x.h" | ||
|
||
#include "c2.h" | ||
|
@@ -550,6 +541,7 @@ TEST_CASE(c2_parse) { | |
|
||
cond = c2_parse(NULL, "_NET_WM_STATE = '_NET_WM_STATE_HIDDEN'", NULL); | ||
TEST_NOTEQUAL(cond, NULL); | ||
c2_list_free(&cond, NULL); | ||
|
||
cond = c2_parse(NULL, "1A:\n1111111111111ar1", NULL); | ||
TEST_EQUAL(cond, NULL); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
// SPDX-License-Identifier: MIT | ||
/* | ||
* Compton - a compositor for X11 | ||
* | ||
* Based on `xcompmgr` - Copyright (c) 2003, Keith Packard | ||
* | ||
* Copyright (c) 2011-2013, Christopher Jeffrey | ||
* See LICENSE-mit for more information. | ||
* | ||
*/ | ||
// Copyright (c) 2011-2013, Christopher Jeffrey | ||
// Copyright (c) 2018 Yuxuan Shui <[email protected]> | ||
|
||
#pragma once | ||
|
||
|
Oops, something went wrong.