Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chjj/compton
/ functions
Functions
433 in github.com/chjj/compton
⨍
Functions
433
◇
Types & classes
39
↓ 33 callers
Function
cxfree
* Wrapper of XFree() for convenience. * * Because a NULL pointer cannot be passed to XFree(), its man page says. */
src/common.h:1854
↓ 30 callers
Function
lcfg_lookup_bool
* Wrapper of libconfig's <code>config_lookup_int</code>. * * To convert <code>int</code> value <code>config_lookup_bool</code> * returns to <code>b
src/compton.h:1177
↓ 29 callers
Function
get_atom
* Wrapper of XInternAtom() for convenience. */
src/common.h:1863
↓ 26 callers
Function
free_region
* Destroy a <code>XserverRegion</code>. */
src/common.h:1984
↓ 19 callers
Function
max_i
* Select the larger integer of two. */
src/common.h:1601
↓ 19 callers
Function
normalize_d
* Normalize a double value to 0.\ 0 - 1.\ 0. * * @param d double value to normalize * @return normalized value */
src/common.h:1651
↓ 18 callers
Function
find_win
* Find a window from window id in window linked list of the session. */
src/common.h:1879
↓ 17 callers
Function
cdbus_msg_get_arg
* Get n-th argument of a D-Bus message. * * @param count the position of the argument to get, starting from 0 * @param type libdbus type number of
src/dbus.c:506
↓ 17 callers
Function
mstrcpy
* Allocate the space and copy a string. */
src/common.h:1522
↓ 15 callers
Function
find_toplevel
* Find out the WM frame of a client window using existing data. * * @param id window ID * @return struct _win object of the found window, NULL if n
src/common.h:1900
↓ 13 callers
Function
win_is_focused_real
* Check if a window is really focused. */
src/common.h:1947
↓ 10 callers
Function
cdbus_reply
* Send a D-Bus reply. * * @param ps current session * @param srcmsg original message * @param func a function that modifies the built message, to,
src/dbus.c:438
↓ 10 callers
Function
free_picture
* Destroy a <code>Picture</code>. */
src/compton.h:152
↓ 10 callers
Function
free_winprop
* Free a <code>winprop_t</code>. * * @param pprop pointer to the <code>winprop_t</code> to free. */
src/common.h:2124
↓ 10 callers
Function
glx_has_context
* Check if there's a GLX context. */
src/common.h:1935
↓ 10 callers
Function
set_ignore_next
* Ignore X errors caused by next X request. */
src/compton.h:46
↓ 10 callers
Function
win_update_focused
* Update focused state of a window. */
src/compton.c:3441
↓ 9 callers
Function
add_damage
src/compton.c:2069
↓ 9 callers
Function
condlst_add
* Add a pattern to a condition linked list. */
src/compton.c:690
↓ 9 callers
Function
free_paint
* Free paint_t. */
src/compton.h:271
↓ 9 callers
Function
print_timestamp
* Print time passed since program starts execution. * * Used for debugging. */
src/common.h:1509
↓ 9 callers
Function
win_determine_fade
* Determine if a window should fade on opacity change. */
src/compton.c:2418
↓ 9 callers
Function
win_on_factor_change
* Function to be called on window data changes. */
src/compton.c:2645
↓ 8 callers
Function
copy_region
* Copies a region. */
src/common.h:1969
↓ 8 callers
Function
free_wincondlst
* Destroy a condition list. */
src/compton.h:187
↓ 8 callers
Function
get_tgt_window
* Return the painting target window. */
src/common.h:1871
↓ 8 callers
Function
get_time_ms
* Get current system clock in milliseconds. */
src/compton.h:321
↓ 8 callers
Function
min_i
* Select the smaller integer of two. */
src/common.h:1609
↓ 7 callers
Function
add_damage_win
* Add a window to damaged area. * * @param ps current session * @param w struct _win element representing the window */
src/compton.h:1152
↓ 7 callers
Function
determine_evmask
* Determine the event mask for a window. */
src/compton.c:708
↓ 7 callers
Function
force_repaint
* Force a full-screen repaint. */
src/compton.c:3782
↓ 7 callers
Function
lcfg_lookup_int
* Wrapper of libconfig's <code>config_lookup_int</code>. * * To deal with the different value types <code>config_lookup_int</code> * returns in lib
src/compton.h:1192
↓ 7 callers
Function
win_get_leader
* Get the leader of a window. * * This function updates w->cache_leader if necessary. */
src/compton.h:635
↓ 7 callers
Function
win_match
* Wrapper of c2_match(). */
src/compton.h:586
↓ 6 callers
Function
cdbus_reply_bool
* Send a reply with a bool argument. */
src/dbus.h:158
↓ 6 callers
Function
cdbus_reply_string
* Send a reply with a string argument. */
src/dbus.h:198
↓ 6 callers
Function
cdbus_signal_wid
* Send a signal with a Window ID as argument. */
src/dbus.h:125
↓ 6 callers
Function
parse_cfg_condlst
* Parse a condition list in configuration file. */
src/compton.c:5389
↓ 6 callers
Function
sum_gaussian
src/compton.c:222
↓ 6 callers
Function
wid_get_prop
* Wrapper of wid_get_prop_adv(). */
src/common.h:2088
↓ 6 callers
Function
win_determine_shadow
* Determine if a window should have shadow, and update things depending * on shadow state. */
src/compton.c:2533
↓ 5 callers
Function
bkend_use_glx
* Check if current backend uses GLX. */
src/common.h:1926
↓ 5 callers
Function
cdbus_reply_uint32
* Send a reply with an uint32 argument. */
src/dbus.h:174
↓ 5 callers
Function
free_fence
* Free a XSync fence. */
src/common.h:2005
↓ 5 callers
Function
get_opacity_percent
src/compton.c:2326
↓ 5 callers
Function
group_update_focused
* Run win_update_focused() on all windows with the same leader window. * * @param leader leader window ID */
src/compton.h:830
↓ 5 callers
Function
mstrjoin
* Allocate the space and join two strings. */
src/common.h:1547
↓ 5 callers
Function
recheck_focus
* Recheck currently focused window and set its <code>w->focused</code> * to true. * * @param ps current session * @return struct _win of currently
src/compton.c:774
↓ 5 callers
Function
win_is_solid
* Check if a window will be painted solid. */
src/common.h:2052
↓ 5 callers
Function
wintype_arr_enable
* Set a <code>bool</code> array of all wintypes to true. */
src/compton.h:75
↓ 4 callers
Function
border_size
* Retrieve the bounding shape of a window. */
src/compton.c:966
↓ 4 callers
Function
ensure_glx_context
* Ensure we have a GLX context. */
src/compton.h:1237
↓ 4 callers
Function
isdamagenotify
* Whether an event is DamageNotify. */
src/compton.h:344
↓ 4 callers
Function
normalize_d_range
* Normalize a double value to a specific range. * * @param d double value to normalize * @param min minimal value * @param max maximum value * @r
src/common.h:1638
↓ 4 callers
Function
set_fade_callback
* Set fade callback of a window, and possibly execute the previous * callback. * * @param exec_callback whether the previous callback is to be exec
src/compton.c:151
↓ 4 callers
Function
set_tgt_clip
src/compton.h:724
↓ 4 callers
Function
solid_picture
* Generate a 1x1 <code>Picture</code> of a particular color. */
src/compton.c:524
↓ 4 callers
Function
update_reg_ignore_expire
* Determine if a window change affects <code>reg_ignore</code> and set * <code>reg_ignore_expire</code> accordingly. */
src/compton.h:494
↓ 4 callers
Function
wid_get_opacity_prop
src/compton.c:2311
↓ 4 callers
Function
wid_get_text_prop
* Get the value of a text property of a window. */
src/compton.c:3630
↓ 4 callers
Function
wid_has_prop
* Determine if a window has a specific property. * * @param ps current session * @param w window to check * @param atom atom of property to check
src/common.h:2065
↓ 4 callers
Function
win_determine_invert_color
* Determine if a window should have color inverted. */
src/compton.c:2561
↓ 4 callers
Function
win_extents
* Get a rectangular region a window (and possibly its shadow) occupies. * * Note w->shadow and shadow geometry must be correct before calling this
src/compton.c:924
↓ 4 callers
Function
win_mark_client
* Mark a window as the client window of another. * * @param ps current session * @param w struct _win of the parent window * @param client window
src/compton.c:2744
↓ 3 callers
Function
add_win
src/compton.c:2839
↓ 3 callers
Function
bkend_use_xrender
* Check if current backend uses XRender for rendering. */
src/common.h:1917
↓ 3 callers
Function
c2_dump
* Wrapper of c2_dump_raw(). */
src/c2.h:342
↓ 3 callers
Function
c2_freep
* Wrapper of c2_free(). */
src/c2.h:322
↓ 3 callers
Function
c2_ptr_reset
* Reset a c2_ptr_t. */
src/c2.h:246
↓ 3 callers
Function
c2h_comb_tree
* Combine two condition trees. */
src/c2.h:255
↓ 3 callers
Function
fds_insert_select
* Add a file descriptor to a select() fd_set. */
src/common.h:1763
↓ 3 callers
Function
find_toplevel2
* Find out the WM frame of a client window by querying X. * * @param ps current session * @param wid window ID * @return struct _win object of the
src/compton.c:739
↓ 3 callers
Function
free_paint_glx
* Free GLX part of paint_t. */
src/common.h:2322
↓ 3 callers
Function
free_pixmap
* Destroy a <code>Pixmap</code>. */
src/compton.h:163
↓ 3 callers
Function
free_texture_r
* Free a GLX texture. */
src/common.h:2250
↓ 3 callers
Function
free_wpaint
* Free w->paint. */
src/compton.h:281
↓ 3 callers
Function
glx_create_shader
src/opengl.c:1784
↓ 3 callers
Function
glx_destroy
* Destroy GLX related resources. */
src/opengl.c:300
↓ 3 callers
Function
glx_init
* Initialize OpenGL. */
src/opengl.c:60
↓ 3 callers
Function
glx_set_clip
* Set clipping region on the target window. */
src/opengl.c:1020
↓ 3 callers
Function
is_region_empty
* Check if a region is empty. * * Keith Packard said this is slow: * http://lists.freedesktop.org/archives/xorg/2007-November/030467.html * * @pa
src/compton.h:1130
↓ 3 callers
Function
ms_to_tv
* Convert time from milliseconds to struct timeval. */
src/compton.h:333
↓ 3 callers
Function
paint_isvalid
* Check whether a paint_t contains enough data. */
src/compton.h:215
↓ 3 callers
Function
parse_matrix_readnum
* Parse a floating-point number in matrix. */
src/compton.c:5018
↓ 3 callers
Function
parse_rule_opacity
* Parse a list of opacity rules. */
src/compton.c:5269
↓ 3 callers
Function
parse_vsync
* Parse a VSync option argument. */
src/common.h:1659
↓ 3 callers
Function
redir_stop
* Unredirect all windows. */
src/compton.c:6792
↓ 3 callers
Function
restack_win
src/compton.c:2997
↓ 3 callers
Function
session_destroy
* Destroy a session. * * Does not close the X connection or free the <code>session_t</code> * structure, though. * * @param ps session to destroy
src/compton.c:7474
↓ 3 callers
Function
usage
* Print usage text and exit. */
src/compton.c:4464
↓ 3 callers
Function
vsync_init
* Initialize current VSync method. */
src/compton.c:6462
↓ 3 callers
Function
wid_get_prop_adv
* Get a specific attribute of a window. * * Returns a blank structure if the returned type and format does not * match the requested type and forma
src/compton.c:614
↓ 3 callers
Function
wid_get_prop_window
* Get the value of a type-<code>Window</code> property of a window. * * @return the value if successful, 0 otherwise */
src/compton.c:3422
↓ 3 callers
Function
win_render
src/compton.h:710
↓ 3 callers
Function
win_set_focused
* Set real focused state of a window. */
src/compton.c:3477
↓ 3 callers
Function
win_unmark_client
* Unmark current client window of a window. * * @param ps current session * @param w struct _win of the parent window */
src/compton.c:2789
↓ 2 callers
Function
c2_free
* Free a condition tree. */
src/c2.c:825
↓ 2 callers
Function
c2_get_atom_type
* Get the type atom of a condition. */
src/c2.c:995
↓ 2 callers
Function
c2_l_postprocess
* Do postprocessing on a condition leaf. */
src/c2.c:727
↓ 2 callers
Function
c2_match_once
* Match a window against a single window condition. * * @return true if matched, false otherwise. */
src/c2.c:1218
next →
1–100 of 433, ranked by callers