Skip to content
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

UPDATE_FVWM_SCREEN: remove win_count functionality #72

Merged
merged 1 commit into from
May 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions fvwm/screen.h
Original file line number Diff line number Diff line change
Expand Up @@ -475,18 +475,8 @@ typedef struct ScreenInfo
struct monitor *mnew; \
get_unshaded_geometry((fw), &g); \
mnew = FindScreenOfXY((fw)->g.frame.x, (fw)->g.frame.y); \
if (mnew == NULL) { \
fprintf(stderr, "CRAP - WHICH MONITOR?\n"); \
mnew = monitor_get_current(); \
} \
if (mnew != NULL) { \
if ((fw) && (fw)->m) { \
(fw)->m->win_count--; \
} \
(fw)->m_prev = (fw)->m; \
(fw)->m = mnew; \
(fw)->m->win_count++; \
} \
(fw)->m_prev = (fw)->m; \
(fw)->m = mnew; \
} while(0)

/* A macro to to simplify he "ewmh desktop code" */
Expand Down
1 change: 0 additions & 1 deletion libs/FScreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ struct screen_info *screen_info_by_name(const char *);

struct monitor {
struct screen_info *si;
int win_count;
int flags;

/* info for some desktops; the first entries should be generic info
Expand Down