Xlib: read a key, blocking, my code doesn't get any event

2022.01.17 04:56 AlmaemberTheGreat Xlib: read a key, blocking, my code doesn't get any event

Hey!
I'm doing this:

XEvent e; [...] XNextEvent(w->dpy, &e); if (e.type == ButtonPress) { } 
I'm obviously not doing anything here, but I tried to put a print in there so that I get something when press a key, but it prints nothing.
Additionally, when I tried to just print the e.type on all events, window resizing etc. all triggered events, but keypresses didn't.
I've tried looking for a solution, but so far found nothing.
What am I doing wrong?
submitted by AlmaemberTheGreat to cprogramming [link] [comments]


2022.01.17 04:56 Blue_Heron_22 Main Story Criticism

I recently completed the main story to the Witcher 3 for the first time. I bought the game years ago, played half of the story, then left it. Restarted the story a couple weeks ago and made myself finish it.
It honestly did not captivate me in the way I had expected, with as much praise as the game receives. At first I couldn’t tell why exactly, so I compared it to a game that I did enjoy: Mass Effect. They both have an imaginative story and large supporting cast of personable companions. So, why did the Witcher 3 not click for me?
Well it finally hit me. The reason is the perspective of the player character. In Mass Effect, the story and supporting characters focus on the playecommander shepard. In the Witcher 3, the story and supporting characters focus on Ciri rather than Geralt. Geralt thus feels a bit like a supporting character himself, rather than a primary protagonist.
Did anyone else find this method of player perspective off-putting? Are there any other thoughts on the subject?
submitted by Blue_Heron_22 to Witcher3 [link] [comments]


2022.01.17 04:56 jcmsuncrest They filmed the Reunion today,according to Rayna, she said it went well. Will Production admit their part in this season?

submitted by jcmsuncrest to belowdeck [link] [comments]


2022.01.17 04:56 Crashdashdee ELI5: "Why does advice stipulate that I must listen to the advice?"

submitted by Crashdashdee to explainlikeimfive [link] [comments]


2022.01.17 04:56 Anon_Ymou5 Alien Visitor by artist Boris Vallejo

Alien Visitor by artist Boris Vallejo submitted by Anon_Ymou5 to ImaginaryFuturism [link] [comments]


2022.01.17 04:56 _john_cena69 WTT AR 52 eu itto albedo ayaya kazuha childe keqinq c1 atlas wolf gravestone and a battlepass weapon

WTT AR 52 eu itto albedo ayaya kazuha childe keqinq c1 atlas wolf gravestone and a battlepass weapon
submitted by _john_cena69 to GenshinTrades [link] [comments]


2022.01.17 04:56 cutiepiedaily l

submitted by cutiepiedaily to karma4karma [link] [comments]


2022.01.17 04:56 atleastistoletheshow Matty Ryan

Since matty left Brighton he hasn’t really started first choice anywhere. His in the prime of his career and to good for the bench where do you think he should move to?
submitted by atleastistoletheshow to Aleague [link] [comments]


2022.01.17 04:56 Dwarkus The Logo for the Congress-Bundestag Youth Exchange, exchange program for High Schoolers between the US and Germany

The Logo for the Congress-Bundestag Youth Exchange, exchange program for High Schoolers between the US and Germany submitted by Dwarkus to DesignPorn [link] [comments]


2022.01.17 04:56 iccaecumsa ⭐ PrinceFloki | Just Launched | 7% $Floki rewards to holders | locked liquidity pool | 24/7 marketing | x1000Gem 🚀

PrinceFloki Rewards Contract

Earn $Floki token by holding PrinceFloki.

It couldn’t be much easier

✅LP Locked

✅Public Contract - 0x9278b4e4b62ddec2419720f8c3731e70f27eb788

🎁 7% hourly Floki rewards automatically distributed in your wallet! Use our unique dashboard to keep track of your rewards!

📜Tokenomics

0% buy tax - 10% sell tax

🔥• 8% Rewards

💥• 1% Added to LP

💢• 2% Marketing

💫• Total Supply: 1,000,000,000

Fast Tracked Listings, insane backing and partnerships and a massive marketing budget to send PrinceFloki and its holders on a one way ticket to space 🚀

Initial Liquidity Provided will be locked with Pinksale for 1 year. Max sells are limited to 1% of supply to avoid dumps.

The chat is opened, feel to ask the owner or administration staff any questions, they will be more than happy to assist you.

Additional info

PrinceFloki is a reflections token on the Binance Smart Chain (BSC). PrinceFloki brings passive income for all holders. Simply hold $PrinceFloki tokens and get rewarded in $Floki on every transaction! With the auto-reward feature, you’ll receive both $Floki and $Cake automatically into your wallet every 60 minutes. If you find that you have NOT received any tokens, this could be due to low volume of transactions. Once they increase, the reward will be sent out.

🔥 LINKS:

Contract: 0x9278b4e4b62ddec2419720f8c3731e70f27eb788

Buy Here: https://pancakeswap.finance/swap?outputCurrency=0x9278b4e4b62ddec2419720f8c3731e70f27eb788

LP Locked: https://www.pinksale.finance/#/pinklock/record/14484?chain=BSC

Chart: https://charts.bogged.finance/?c=bsc&t=0x9278B4e4b62ddeC2419720F8C3731E70f27eB788
submitted by iccaecumsa to cryptostreetbets [link] [comments]


2022.01.17 04:56 CryptoWebDirectory When I Care About Someone...

When I Care About Someone... submitted by CryptoWebDirectory to YouTube_startups [link] [comments]


2022.01.17 04:56 Kelvin8R3ooo French man arrives via submarine...

French man arrives via submarine... submitted by Kelvin8R3ooo to AusMemes [link] [comments]


2022.01.17 04:56 rngwn [Vol 16] True Dragon as Ultimate Skills

Rimuru has Veldora and Velgrynd as Ultimate Skills (and later as components in Azathoth) for the purpose of instantly resurrecting them. The weird part is that there isn't the reverse counterpart used to instantly resurrect Rimuru.
Now that Rimuru has evolved to a kind of True Dragon, shouldn't Veldora also have Rimuru as a True Dragon Ultimate Skill (the 'restore dragon' part) as well? Since Rimuru is said to be able to instantly resurrect himself as long as Veldora is alive and vice-versa.
It'd be fun to see Rimuru as a True Dragon Ultimate Skill as well, maybe as or ?
submitted by rngwn to TenseiSlime [link] [comments]


2022.01.17 04:56 textually-attractive Wednesday.

Wednesday. submitted by textually-attractive to blackcats [link] [comments]


2022.01.17 04:56 Spaggers89 Treasury Trams

Treasury Trams submitted by Spaggers89 to melbourne [link] [comments]


2022.01.17 04:56 No_Medicine_1052 Did I cheat ?

I’ve been talking to this girl for 5 months but I’ve seen her twice in person and we don’t FaceTime anymore but we still talk and I spoke to her about exclusively and she didn’t want that however tonight I was invited to the movies by my female friend and after the movie finished we went behind the screen and felt each other up and I don’t know if I’m a POS for this or I’m in the clear since were not official
submitted by No_Medicine_1052 to relationship_advice [link] [comments]


2022.01.17 04:56 Hansjeee 🥇Eindbaas Fap Discords • r/Eindbaas

submitted by Hansjeee to myronkoops__ [link] [comments]


2022.01.17 04:56 DMsWorkshop [Issue] Recent Update Has Totally Borked Old Document Spacing

Hi there,
A couple months ago, I created a Homebrewery document. Now, I have entire paragraphs shunted into the next column, significantly borking the document's layout. I know that this is a new problem and not just my browser catching up to old rendering issues because I was having problems exporting it and had two other people try, and not one of us had the current issue.
I published a PDF of this document for sale and would like to be able to make a few revisions, but the amount of work it would take to rebalance everything is ridiculous.
Could whatever changes were made to text area height just get reversed? I had no problems rendering or displaying stuff before.
Thanks.
submitted by DMsWorkshop to homebrewery [link] [comments]


2022.01.17 04:56 IcyAd6251 Fellow Canadians, Do you use a motorcycle GPS tracker and if so, which one?

Hey everyone, been getting spooked about the possibility of my bike being stolen in the new season (Downtown Toronto) and am hoping to upgrade my security. I plan to pick the Fahgettaboudit chain, extra disc locks and use a cover. However, I also wanted to look at GPS tracking options.
I have looked at a few websites - monimoto, invoxia etc but they do not seem to operate in Canada. If you guys are using a device, which one are you using and how has your experience been.
As a side note, if you are storing your bike in an underground condo garage - what's your security protocol!
submitted by IcyAd6251 to motorcycles [link] [comments]


2022.01.17 04:56 OperationStrict Married couples of Reddit, what made you realize your partner is you soulmate?

submitted by OperationStrict to AskReddit [link] [comments]


2022.01.17 04:56 schmeckleking Advice for dumpers?

I feel so horrible that she is hurting
submitted by schmeckleking to BreakUps [link] [comments]


2022.01.17 04:56 bees-and-stuff Discord gets you that C R I S P audio quality so you can have homie asmr

submitted by bees-and-stuff to teenagers [link] [comments]


2022.01.17 04:56 vinoddas36 #GodMorningMonday अधिक जानकारी के लिए Sant Rampal Ji Maharaj Youtube Channel पर विजिट करें।

#GodMorningMonday अधिक जानकारी के लिए Sant Rampal Ji Maharaj Youtube Channel पर विजिट करें। submitted by vinoddas36 to SaintRampalJi [link] [comments]


2022.01.17 04:56 ElijahRayzorr How have I not drawn these bois yet

How have I not drawn these bois yet submitted by ElijahRayzorr to HenryStickmin [link] [comments]


2022.01.17 04:56 cutiepiedaily ;

submitted by cutiepiedaily to karma4karma [link] [comments]


http://veterok-kafe.ru