<leon-p>
i wonder if we should do that for the other cursors that aren't "default" as well. I think the movement cursor (the four arrows one) isn't in the default theme either yet we use it
lbia has quit [Ping timeout: 260 seconds]
lbia has joined #river
lbia has quit [Ping timeout: 259 seconds]
lbia has joined #river
dissisor has quit [Quit: WeeChat 4.2.1]
eShaev9z_ has joined #river
eShaev9z has quit [Ping timeout: 255 seconds]
leopoldek has quit [Remote host closed the connection]
angry_vincent has joined #river
waleee has joined #river
itshog has joined #river
awesomerly_ has joined #river
awesomerly has quit [Ping timeout: 256 seconds]
awesomerly_ is now known as awesomerly
waleee has quit [Ping timeout: 240 seconds]
awesomerly has quit [Read error: Connection reset by peer]
awesomerly has joined #river
traidare has joined #river
pkap has joined #river
itshog has quit [Ping timeout: 240 seconds]
waleee has joined #river
traidare has quit [Read error: Connection reset by peer]
itshog has joined #river
leopoldek has joined #river
itshog has quit [Quit: WeeChat 4.2.1]
leviathan has joined #river
leviathan has quit [Client Quit]
leopoldek has quit [Remote host closed the connection]
leviathan has joined #river
<leviathan>
I'd like to render a new Popup surface for IMEPopup. How should I proceed, and which methods do I need to call? Is there an implementation I can refer to?
leviathan has quit [Client Quit]
leviathan has joined #river
<leviathan>
Implementing IMEPopup has proven too challenging for me; I've spent a long time studying the code from other related projects.
<leviathan>
I noticed that they've maintained a new IMEPopup list within InputRelay.
<leviathan>
However, upon examining the interfaces of wlroots, I discovered that InputMethod itself contains an IMEPopupSurface list variable.
<leviathan>
Interestingly, I haven't even seen Sway or Hyprland attempt to access this variable.
<leviathan>
I don’t even understand why there's a need to maintain a list instead of just including a single IMEPopup in Relay.
<leviathan>
I lack too much of the knowledge needed to implement this feature.
<leviathan>
I'm convinced that these projects all follow the same implementation style.
<leviathan>
Whenever InputRelay sends an IME state or an IMEPopup's surface undergoes a commit, unmap, they all invoke an extremely complex updatePopup function.
<leviathan>
In the updatePopup method, they perform a series of functions.
<leviathan>
I split them into getInputFocusedInfo, cleanupExistingScenes, getCursorArea, getParentSceneInfo, calculatePopupPosition, renderNewPopupSurface, sendTextInputRectangle
leopoldek has joined #river
leviathan has quit [Quit: Client closed]
leviathan has joined #river
waleee has quit [Ping timeout: 252 seconds]
waleee has joined #river
leviathan has quit [Quit: Client closed]
waleee has quit [Ping timeout: 260 seconds]
pkap has quit [Ping timeout: 250 seconds]
przmk has joined #river
przmk has quit [Quit: przmk]
waleee has joined #river
angry_vincent has quit [Ping timeout: 255 seconds]