450 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
2
replies
81
views
How CLIPBOARD Selection and Atoms works in X11/XLib?
I am trying to understand how actually selections work in X11, like Primary and Clipboard selections.
This question will have multiple questions inside it so I am sorry.
I did my own research and ...
0
votes
0
answers
65
views
How to disable screen recording while allowing screenshots in Android?
How to disable screen recording while allowing screenshots?
I am using
WindowManager.getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE)
to achieve this, but this method disables both screen ...
1
vote
1
answer
152
views
How to run a smaple xcb example in zig programming language? [closed]
I am trying to write a simple window manager with xcb in zig where there is an event loop with some possible events (key press, ...). My system is running an arch linux and all the necessary libraries ...
1
vote
0
answers
58
views
XCB_CONN_CLOSED_PARSE_ERR - how
I've just started learning and I am trying to build window manager to know how is that working. Using C and xcb.
I've got this part:
int screen_number = 0;
xcb_connection_t *connection = ...
0
votes
1
answer
117
views
How can I make a custom template for prevention of screenshot on the screen in flutter?
I have tried the basic prevention of screenshot on the page which given a basic black image, but I want to customise it like whatsapp does.
Can we do it in flutter ?
import 'package:flutter/material....
1
vote
1
answer
80
views
Get icons from X apps that don't have _NET_WM_ICON property set
I'm trying to extract the icon from an xwindow, namely the one from Obsidian which doesn't seem to have the _NET_WM_ICON property set. How can I still extract this icon information? Is there another ...
2
votes
1
answer
129
views
Issue with Opening NetBeans TopComponent at Startup
I'm working on a NetBeans Platform application and I want to open a TopComponent automatically when the application starts. Despite following the typical steps, my TopComponent does not open at ...
2
votes
1
answer
86
views
How is this dwm source code snippet not throwing an error?
Following the dwm source code from main(), inside checkotherwm
xerrorxlib = XSetErrorHandler(xerrorstart);
, with xerrorxlib defined as
static int (*xerrorxlib)(Display *, XErrorEvent *);
, sets ...
0
votes
1
answer
3k
views
Fix issue in GlazeWM for windows (tiling window manager)
I have used i3 wm for a lot of time!
I wanted to have a similar setup in windows 11
I felt GlazeWM is good to go
however,
keybindings:
Shift focus in a given direction.
command: "focus left"...
-1
votes
1
answer
899
views
sway exec doesn't do the same as the same command in cli
I have written an python program to handle sending notifications to dunst with notify-send. i am aware that there are better alternatives, but i wanted to make it on my own.
This is my program located ...
1
vote
0
answers
81
views
Basic window manager: Z-order ping-pong between overlapping windows
For Unity, I implemented a basic window manager with Z-order.
It works well until I restrict drag region to window title bar (using GUI.DragWindow).
What happens is that, say I click where B and C ...
1
vote
1
answer
95
views
Xlib Window Manager: Closing Focused Window Causes Unexpected Shutdown
i wrote a simple window manager using Xlib. the window manager runs, and launching a terminal with the Super+t shortcut works correctly. however, when i attempted to close the focused window by ...
1
vote
0
answers
85
views
How can I track button release events?
I'm working on a simple window manager using XCB, and I need to be notified when the user clicks on the screen to obtain the ID of the window where the pointer was located.
I attempted to enable ...
2
votes
1
answer
532
views
Switch between multiple instances of the same app via alt-` in Windows 11
Alt-tab allows to switch between all of the opened windows, but I want to be able to hit alt-` when sitting in chrome (for instance) to switch to another chrome immediately. Is there any way to do it?
...
0
votes
0
answers
98
views
root.overrideredirect() removes tkinter app from taskbar
I have a clock app which when I make it fullscreen disappears from the taskbar and also makes the app inaccessible through Alt+Tab. It's apparently caused by root.overrideredirect(True) function which ...