-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FScreenGetScrRect function #163
Comments
Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details. |
Hi @klebertarcisio, Yes, there's a small risk, but that's not the point here, because:
|
Thomas Adam <[email protected]> writes:
Hi @klebertarcisio,
Yes, there's a small risk, but that's not the point here, because:
You're the expert, but as I remember, the built in default iconbox that covers the root
can't be removed. Not sure what you are doing with multiple monitors
that can be turned on and off, but the basic idea of the iconboxes was
to have a grid to fall back to.
…--
Dan Espen
|
Hi @danespen, Yes -- that's still the case here; per screen iconboxes can be definedm and come and go depending on whether the monitor is attached or not. The |
In order to contribute to this discussion, I will post a few more places that the FScreenGetScrRect function is used in a similar way. FScreen.c Lines 661 to 684 in 48dd509
FvwmIdent.c fvwm3/modules/FvwmIdent/FvwmIdent.c Lines 787 to 813 in 48dd509
|
Hi everyone,
I would like to understand a little more about the FScreenGetScrRect function:
fvwm3/libs/FScreen.c
Lines 636 to 656 in 48dd509
This function may not change the values of x, y, w and h. That way, I always have to pass x, y, w and h initialized, right? If I don't pass these initialized values, I can't guarantee that the function initialized them unless I check the function's return, but that return is hardly used in the code.
See this example:
fvwm3/fvwm/icons.c
Lines 2041 to 2058 in 48dd509
Is there any possibility that global_icon_box_ptr-> IconBox [0] will receive an uninitialized value?
The text was updated successfully, but these errors were encountered: