Skip to content

Commit

Permalink
Merge pull request #68 from lambdadog/lambdadog/fix-text-inactive-pix…
Browse files Browse the repository at this point in the history
…el-rc

Fix crash when setting text-inactive-pixel in rcfile
  • Loading branch information
codic12 authored Apr 13, 2022
2 parents f436318 + 94ef187 commit f97aa27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/events/clientmessage.nim
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ proc handleClientMessage*(self: var Wm; ev: XClientMessageEvent) =
elif ev.data.l[0] == clong self.ipcAtoms[IpcTextInactivePixel]:
log "Chaging text inactive pixel to " & $ev.data.l[1]
self.config.textInactivePixel = uint ev.data.l[1]
if self.focused.isNone: return
self.raiseClient self.clients[self.focused.get]
elif ev.data.l[0] == clong self.ipcAtoms[IpcTextFont]:
log "IpcTextFont"
Expand Down

0 comments on commit f97aa27

Please sign in to comment.