Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SUStudentDevs/dwm-rust
/ functions
Functions
77 in github.com/SUStudentDevs/dwm-rust
⨍
Functions
77
◇
Types & classes
15
↓ 6 callers
Function
createClr
* Creates a new color */
src/drw/clrscheme.rs:19
↓ 6 callers
Function
updateStatus
* Updates the status bar text */
src/wm/mod.rs:226
↓ 4 callers
Function
setScheme
* Changes the color scheme */
src/drw/mod.rs:81
↓ 4 callers
Function
updateGeom
* Updates geometry of the Workspace */
src/wm/workspace.rs:224
↓ 3 callers
Function
createCur
* Creates a new cursor for a drawable area */
src/drw/mod.rs:24
↓ 3 callers
Function
text
* Draws text, and returns text width */
src/drw/mod.rs:121
↓ 2 callers
Function
cleanmask
(mask: u32)
src/events.rs:101
↓ 2 callers
Function
configure
* Change configuration of the window : sends a Configure event */
src/wm/client.rs:88
↓ 2 callers
Function
createClrScheme
* Create a new colorScheme */
src/drw/clrscheme.rs:50
↓ 2 callers
Function
findFromWindow
* Finds the Client containing a Window */
src/wm/client.rs:47
↓ 2 callers
Function
findPointedWindow
* Find the Window the pointer is on */
src/wm/mod.rs:313
↓ 2 callers
Function
hideAllClients
* Draws all the windows in this workspace */
src/wm/workspace.rs:243
↓ 2 callers
Function
rect
* Draws a rectangle */
src/drw/mod.rs:100
↓ 2 callers
Function
show
* Draws the Window on the screen */
src/wm/client.rs:102
↓ 2 callers
Function
textw
* Width of a text */
src/drw/mod.rs:178
↓ 1 callers
Function
buttonPress
* Handles a button press */
src/events.rs:124
↓ 1 callers
Function
checkOtherWm
* Checks for another WM running. If there is one, prints an error and exits. */
src/main.rs:137
↓ 1 callers
Function
cleanup
* Cleanup and frees memory */
src/main.rs:319
↓ 1 callers
Function
configureNotify
* Handles a ConfigureNotify event : after reconfiguration of a window */
src/events.rs:56
↓ 1 callers
Function
configureRequest
* Handles a ConfigureRequest event : before changing the configuration of a window */
src/events.rs:35
↓ 1 callers
Function
createClient
* Create a new client from a window ant it's attributes */
src/wm/client.rs:31
↓ 1 callers
Function
createDrw
* Creates a drawable area for a display */
src/drw/mod.rs:48
↓ 1 callers
Function
createFont
* Add a new font */
src/drw/fnt.rs:36
↓ 1 callers
Function
createWorkspace
* Creates a new monitor */
src/wm/workspace.rs:85
↓ 1 callers
Function
createWorkspaces
* Create all the workspaces and set their data */
src/wm/mod.rs:105
↓ 1 callers
Function
destroyClient
* Destroys the Window and frees the client */
src/wm/client.rs:116
↓ 1 callers
Function
destroyNotify
* Handles Window destruction */
src/events.rs:96
↓ 1 callers
Function
drawBar
* Draws the statusbar */
src/wm/workspace.rs:165
↓ 1 callers
Function
executeStartCmds
(wm: WM)
src/main.rs:196
↓ 1 callers
Function
getTextProp
(dpy: &mut xlib::Display, w: xlib::Window, atom: xlib::Atom)
src/wm/mod.rs:214
↓ 1 callers
Function
getexts
(fnt: &Fnt, dpy: &mut xlib::Display, text: Vec<u8>, tex: &mut Extnts)
src/drw/fnt.rs:89
↓ 1 callers
Function
grabKeys
* Loads and grabs the keys defined in config::keys */
src/wm/mod.rs:156
↓ 1 callers
Function
handleEvent
* Handles an event */
src/events.rs:15
↓ 1 callers
Function
hide
* Hides the Window from the screen */
src/wm/client.rs:109
↓ 1 callers
Function
initWm
* Inits the window manager */
src/wm/mod.rs:44
↓ 1 callers
Function
keyPress
* Handles a KeyPress event */
src/events.rs:108
↓ 1 callers
Function
loadFonts
* Loads fonts */
src/drw/mod.rs:88
↓ 1 callers
Function
manage
* Manage a new Window */
src/wm/mod.rs:237
↓ 1 callers
Function
mapRequest
* Handles a MapRequest event */
src/events.rs:133
↓ 1 callers
Function
mapWindow
* Draws content from a Window on the screen */
src/drw/mod.rs:187
↓ 1 callers
Function
maxH
(ws: &Workspace)
src/wm/workspace.rs:139
↓ 1 callers
Function
maxW
(ws: &Workspace)
src/wm/workspace.rs:133
↓ 1 callers
Function
minX
(ws: &Workspace)
src/wm/workspace.rs:131
↓ 1 callers
Function
minY
(ws : &Workspace)
src/wm/workspace.rs:135
↓ 1 callers
Function
propertyNotify
* Handles a Property Notify event */
src/events.rs:150
↓ 1 callers
Function
run
* Main program loop */
src/main.rs:203
↓ 1 callers
Function
setGeom
* Sets the window x, y, width and height (use total width and height, including bar width) */
src/wm/client.rs:75
↓ 1 callers
Function
setRootBackground
* Sets a color for the root Window background */
src/wm/mod.rs:96
↓ 1 callers
Function
setup
* Setup the Window Manager */
src/main.rs:148
↓ 1 callers
Function
showAllClients
* Draws all the windows in this workspace */
src/wm/workspace.rs:236
↓ 1 callers
Function
spawn
* Executes a shell command * * # Arguments * * `arg` - Reference to an Arg containing the command (&str) to execute * * `wm` - Window Manager */
src/main.rs:220
↓ 1 callers
Function
unManage
* Unmanage a Client */
src/wm/mod.rs:295
↓ 1 callers
Function
updateBarPos
* Updates the position of the statusbar for this Workspace */
src/wm/workspace.rs:147
↓ 1 callers
Function
updateBars
* Updates the status bars */
src/wm/mod.rs:175
↓ 1 callers
Function
updateTitle
* Updates the title */
src/wm/client.rs:166
↓ 1 callers
Function
updatenumlockmask
(wm: WM)
src/wm/mod.rs:136
Function
addClient
* Adds a Client to this Workspace */
src/wm/workspace.rs:204
Function
changeWs
* Change to another Workspace * * # Arguments * * `arg` - Reference to an Arg containing the number (u32) of the Workspace to switch to * * `wm` -
src/main.rs:237
Function
closeClient
* Closes a Client * * # Arguments * * `arg` - Reference to an Arg containing whatever * * `wm` - Window Manager */
src/main.rs:290
Method
eq
(&self, other: &Fnt)
src/drw/fnt.rs:28
Method
eq
(&self, other: &Client<'a>)
src/wm/client.rs:23
Method
eq
(&self, other: &Workspace<'a>)
src/wm/workspace.rs:77
Function
freeFnt
* Destructor (frees xfont) */
src/drw/fnt.rs:85
Function
gridArrange
(ws: Workspace)
src/wm/workspace.rs:42
Function
height
* Total height of the window (including borders) */
src/wm/client.rs:68
Function
isUniqueGeom
(unique: &Vec<xinerama::XineramaScreenInfo>, n: usize, info: &xinerama::XineramaScreenInfo)
src/main.rs:187
Function
main
()
build.rs:1
Function
main
()
src/main.rs:93
Function
monocleArrange
(ws: Workspace)
src/wm/workspace.rs:33
Function
moveClientToWs
* Moves a Client to another Workspace * * # Arguments * * `arg` - Reference to an Arg containing the number (u32) of the Workspace to move the clie
src/main.rs:259
Function
noArrange
(ws: Workspace)
src/wm/workspace.rs:38
Function
quit
* Quits the WM */
src/main.rs:309
Function
removeClient
* Removes a Client from this Workspace, returning it */
src/wm/workspace.rs:211
Function
tileArrange
Arrange functions
src/wm/workspace.rs:14
Function
width
* Total width of the window (including borders) */
src/wm/client.rs:61
Function
xerror
Handles errors. TODO : completer les cas sans erreur
src/main.rs:122
Function
xerrorstart
Prints an X error on start of the wm and exits the program.
src/main.rs:116